Documentation ¶
Index ¶
- Constants
- Variables
- func FetchWorkbenchInstanceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
- func GetWorkbenchInstanceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
- func GetWorkbenchInstanceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetWorkbenchInstanceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetWorkbenchInstanceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func GetWorkbenchInstanceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
- func MergeWorkbenchInstanceIamBinding(existing, incoming cai.Asset) cai.Asset
- func MergeWorkbenchInstanceIamBindingDelete(existing, incoming cai.Asset) cai.Asset
- func MergeWorkbenchInstanceIamMember(existing, incoming cai.Asset) cai.Asset
- func MergeWorkbenchInstanceIamMemberDelete(existing, incoming cai.Asset) cai.Asset
- func MergeWorkbenchInstanceIamPolicy(existing, incoming cai.Asset) cai.Asset
- func ResourceConverterWorkbenchInstance() cai.ResourceConverter
- func ResourceConverterWorkbenchInstanceIamBinding() cai.ResourceConverter
- func ResourceConverterWorkbenchInstanceIamMember() cai.ResourceConverter
- func ResourceConverterWorkbenchInstanceIamPolicy() cai.ResourceConverter
- func WorkbenchInstanceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
- func WorkbenchInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
- func WorkbenchInstanceKmsDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
- func WorkbenchInstanceLabelsDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func WorkbenchInstanceMetadataDiffSuppress(k, old, new string, d *schema.ResourceData) bool
- func WorkbenchInstanceTagsDiffSuppress(_, _, _ string, d *schema.ResourceData) bool
- type WorkbenchInstanceIamUpdater
- func (u *WorkbenchInstanceIamUpdater) DescribeResource() string
- func (u *WorkbenchInstanceIamUpdater) GetMutexKey() string
- func (u *WorkbenchInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
- func (u *WorkbenchInstanceIamUpdater) GetResourceId() string
- func (u *WorkbenchInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Constants ¶
View Source
const WorkbenchInstanceAssetType string = "notebooks.googleapis.com/Instance"
View Source
const WorkbenchInstanceIAMAssetType string = "notebooks.googleapis.com/Instance"
Provide a separate asset type constant so we don't have to worry about name conflicts between IAM and non-IAM converter files
Variables ¶
View Source
var WorkbenchInstanceIamSchema = map[string]*schema.Schema{ "project": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "location": { Type: schema.TypeString, Computed: true, Optional: true, ForceNew: true, }, "name": { Type: schema.TypeString, Required: true, ForceNew: true, DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName, }, }
View Source
var WorkbenchInstanceProvidedLabels = []string{
"consumer-project-id",
"consumer-project-number",
"notebooks-product",
"resource-name",
}
View Source
var WorkbenchInstanceProvidedMetadata = []string{
"disable-swap-binaries",
"enable-guest-attributes",
"proxy-backend-id",
"proxy-registration-url",
"agent-health-check-interval-seconds",
"agent-health-check-path",
"container",
"data-disk-uri",
"dataproc-allow-custom-clusters",
"dataproc-cluster-name",
"dataproc-configs",
"dataproc-default-subnet",
"dataproc-locations-list",
"dataproc-machine-types-list",
"dataproc-notebooks-url",
"dataproc-region",
"dataproc-service-account",
"disable-check-xsrf",
"framework",
"gcs-data-bucket",
"generate-diagnostics-bucket",
"generate-diagnostics-file",
"generate-diagnostics-options",
"image-url",
"install-monitoring-agent",
"install-nvidia-driver",
"installed-extensions",
"notebooks-api",
"notebooks-api-version",
"notebooks-examples-location",
"notebooks-location",
"nvidia-driver-gcs-path",
"proxy-mode",
"proxy-status",
"proxy-url",
"proxy-user-mail",
"report-container-health",
"report-notebook-metrics",
"report-system-health",
"report-system-status",
"restriction",
"serial-port-logging-enable",
"shutdown-script",
"title",
"use-collaborative",
"version",
"enable-oslogin",
}
View Source
var WorkbenchInstanceProvidedTags = []string{
"deeplearning-vm",
"notebook-instance",
}
Functions ¶
func FetchWorkbenchInstanceIamPolicy ¶
func FetchWorkbenchInstanceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)
func GetWorkbenchInstanceApiObject ¶
func GetWorkbenchInstanceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)
func GetWorkbenchInstanceCaiObject ¶
func GetWorkbenchInstanceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetWorkbenchInstanceIamBindingCaiObject ¶
func GetWorkbenchInstanceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetWorkbenchInstanceIamMemberCaiObject ¶
func GetWorkbenchInstanceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func GetWorkbenchInstanceIamPolicyCaiObject ¶
func GetWorkbenchInstanceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)
func ResourceConverterWorkbenchInstance ¶
func ResourceConverterWorkbenchInstance() cai.ResourceConverter
func ResourceConverterWorkbenchInstanceIamBinding ¶
func ResourceConverterWorkbenchInstanceIamBinding() cai.ResourceConverter
func ResourceConverterWorkbenchInstanceIamMember ¶
func ResourceConverterWorkbenchInstanceIamMember() cai.ResourceConverter
func ResourceConverterWorkbenchInstanceIamPolicy ¶
func ResourceConverterWorkbenchInstanceIamPolicy() cai.ResourceConverter
func WorkbenchInstanceIamUpdaterProducer ¶
func WorkbenchInstanceIamUpdaterProducer(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (tpgiamresource.ResourceIamUpdater, error)
func WorkbenchInstanceIdParseFunc ¶
func WorkbenchInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error
func WorkbenchInstanceKmsDiffSuppress ¶
func WorkbenchInstanceKmsDiffSuppress(_, old, new string, _ *schema.ResourceData) bool
func WorkbenchInstanceLabelsDiffSuppress ¶
func WorkbenchInstanceLabelsDiffSuppress(k, old, new string, d *schema.ResourceData) bool
func WorkbenchInstanceMetadataDiffSuppress ¶
func WorkbenchInstanceMetadataDiffSuppress(k, old, new string, d *schema.ResourceData) bool
func WorkbenchInstanceTagsDiffSuppress ¶
func WorkbenchInstanceTagsDiffSuppress(_, _, _ string, d *schema.ResourceData) bool
Types ¶
type WorkbenchInstanceIamUpdater ¶
type WorkbenchInstanceIamUpdater struct { Config *transport_tpg.Config // contains filtered or unexported fields }
func (*WorkbenchInstanceIamUpdater) DescribeResource ¶
func (u *WorkbenchInstanceIamUpdater) DescribeResource() string
func (*WorkbenchInstanceIamUpdater) GetMutexKey ¶
func (u *WorkbenchInstanceIamUpdater) GetMutexKey() string
func (*WorkbenchInstanceIamUpdater) GetResourceIamPolicy ¶
func (u *WorkbenchInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)
func (*WorkbenchInstanceIamUpdater) GetResourceId ¶
func (u *WorkbenchInstanceIamUpdater) GetResourceId() string
func (*WorkbenchInstanceIamUpdater) SetResourceIamPolicy ¶
func (u *WorkbenchInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error
Click to show internal directories.
Click to hide internal directories.