notebooks

package
v5.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const NotebooksEnvironmentAssetType string = "notebooks.googleapis.com/Environment"
View Source
const NotebooksInstanceAssetType string = "notebooks.googleapis.com/Instance"
View Source
const NotebooksInstanceIAMAssetType 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

View Source
const NotebooksLocationAssetType string = "notebooks.googleapis.com/Location"
View Source
const NotebooksRuntimeAssetType string = "notebooks.googleapis.com/Runtime"
View Source
const NotebooksRuntimeIAMAssetType string = "notebooks.googleapis.com/Runtime"

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 NotebooksInstanceIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"instance_name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}
View Source
var NotebooksInstanceProvidedScopes = []string{
	"https://www.googleapis.com/auth/cloud-platform",
	"https://www.googleapis.com/auth/userinfo.email",
}
View Source
var NotebooksInstanceProvidedTags = []string{
	"deeplearning-vm",
	"notebook-instance",
}
View Source
var NotebooksRuntimeIamSchema = map[string]*schema.Schema{
	"project": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"location": {
		Type:     schema.TypeString,
		Computed: true,
		Optional: true,
		ForceNew: true,
	},
	"runtime_name": {
		Type:             schema.TypeString,
		Required:         true,
		ForceNew:         true,
		DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
	},
}

Functions

func FetchNotebooksInstanceIamPolicy

func FetchNotebooksInstanceIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func FetchNotebooksRuntimeIamPolicy

func FetchNotebooksRuntimeIamPolicy(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (cai.Asset, error)

func GetNotebooksEnvironmentApiObject

func GetNotebooksEnvironmentApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetNotebooksEnvironmentCaiObject

func GetNotebooksEnvironmentCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksInstanceApiObject

func GetNotebooksInstanceApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetNotebooksInstanceCaiObject

func GetNotebooksInstanceCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksInstanceIamBindingCaiObject

func GetNotebooksInstanceIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksInstanceIamMemberCaiObject

func GetNotebooksInstanceIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksInstanceIamPolicyCaiObject

func GetNotebooksInstanceIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksLocationApiObject

func GetNotebooksLocationApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetNotebooksLocationCaiObject

func GetNotebooksLocationCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksRuntimeApiObject

func GetNotebooksRuntimeApiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) (map[string]interface{}, error)

func GetNotebooksRuntimeCaiObject

func GetNotebooksRuntimeCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksRuntimeIamBindingCaiObject

func GetNotebooksRuntimeIamBindingCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksRuntimeIamMemberCaiObject

func GetNotebooksRuntimeIamMemberCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func GetNotebooksRuntimeIamPolicyCaiObject

func GetNotebooksRuntimeIamPolicyCaiObject(d tpgresource.TerraformResourceData, config *transport_tpg.Config) ([]cai.Asset, error)

func MergeNotebooksInstanceIamBinding

func MergeNotebooksInstanceIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksInstanceIamBindingDelete

func MergeNotebooksInstanceIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksInstanceIamMember

func MergeNotebooksInstanceIamMember(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksInstanceIamMemberDelete

func MergeNotebooksInstanceIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksInstanceIamPolicy

func MergeNotebooksInstanceIamPolicy(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksRuntimeIamBinding

func MergeNotebooksRuntimeIamBinding(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksRuntimeIamBindingDelete

func MergeNotebooksRuntimeIamBindingDelete(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksRuntimeIamMember

func MergeNotebooksRuntimeIamMember(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksRuntimeIamMemberDelete

func MergeNotebooksRuntimeIamMemberDelete(existing, incoming cai.Asset) cai.Asset

func MergeNotebooksRuntimeIamPolicy

func MergeNotebooksRuntimeIamPolicy(existing, incoming cai.Asset) cai.Asset

func NotReturnedByAPIDiffSuppress

func NotReturnedByAPIDiffSuppress(k, old, new string, d *schema.ResourceData) bool

NotReturnedByAPIDiffSuppress

func NotebooksDiffSuppressTemplate added in v5.26.0

func NotebooksDiffSuppressTemplate(field string, defaults []string, d *schema.ResourceData) bool

func NotebooksInstanceIdParseFunc

func NotebooksInstanceIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func NotebooksInstanceKmsDiffSuppress added in v5.18.0

func NotebooksInstanceKmsDiffSuppress(_, old, new string, _ *schema.ResourceData) bool

func NotebooksInstanceScopesDiffSuppress added in v5.18.0

func NotebooksInstanceScopesDiffSuppress(_, _, _ string, d *schema.ResourceData) bool

func NotebooksInstanceTagsDiffSuppress added in v5.26.0

func NotebooksInstanceTagsDiffSuppress(_, _, _ string, d *schema.ResourceData) bool

func NotebooksRuntimeIdParseFunc

func NotebooksRuntimeIdParseFunc(d *schema.ResourceData, config *transport_tpg.Config) error

func NotebooksRuntimeLabelDiffSuppress

func NotebooksRuntimeLabelDiffSuppress(k, old, new string, d *schema.ResourceData) bool

func ResourceConverterNotebooksEnvironment

func ResourceConverterNotebooksEnvironment() cai.ResourceConverter

func ResourceConverterNotebooksInstance

func ResourceConverterNotebooksInstance() cai.ResourceConverter

func ResourceConverterNotebooksInstanceIamBinding

func ResourceConverterNotebooksInstanceIamBinding() cai.ResourceConverter

func ResourceConverterNotebooksInstanceIamMember

func ResourceConverterNotebooksInstanceIamMember() cai.ResourceConverter

func ResourceConverterNotebooksInstanceIamPolicy

func ResourceConverterNotebooksInstanceIamPolicy() cai.ResourceConverter

func ResourceConverterNotebooksLocation

func ResourceConverterNotebooksLocation() cai.ResourceConverter

func ResourceConverterNotebooksRuntime

func ResourceConverterNotebooksRuntime() cai.ResourceConverter

func ResourceConverterNotebooksRuntimeIamBinding

func ResourceConverterNotebooksRuntimeIamBinding() cai.ResourceConverter

func ResourceConverterNotebooksRuntimeIamMember

func ResourceConverterNotebooksRuntimeIamMember() cai.ResourceConverter

func ResourceConverterNotebooksRuntimeIamPolicy

func ResourceConverterNotebooksRuntimeIamPolicy() cai.ResourceConverter

Types

type NotebooksInstanceIamUpdater

type NotebooksInstanceIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*NotebooksInstanceIamUpdater) DescribeResource

func (u *NotebooksInstanceIamUpdater) DescribeResource() string

func (*NotebooksInstanceIamUpdater) GetMutexKey

func (u *NotebooksInstanceIamUpdater) GetMutexKey() string

func (*NotebooksInstanceIamUpdater) GetResourceIamPolicy

func (u *NotebooksInstanceIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*NotebooksInstanceIamUpdater) GetResourceId

func (u *NotebooksInstanceIamUpdater) GetResourceId() string

func (*NotebooksInstanceIamUpdater) SetResourceIamPolicy

func (u *NotebooksInstanceIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

type NotebooksRuntimeIamUpdater

type NotebooksRuntimeIamUpdater struct {
	Config *transport_tpg.Config
	// contains filtered or unexported fields
}

func (*NotebooksRuntimeIamUpdater) DescribeResource

func (u *NotebooksRuntimeIamUpdater) DescribeResource() string

func (*NotebooksRuntimeIamUpdater) GetMutexKey

func (u *NotebooksRuntimeIamUpdater) GetMutexKey() string

func (*NotebooksRuntimeIamUpdater) GetResourceIamPolicy

func (u *NotebooksRuntimeIamUpdater) GetResourceIamPolicy() (*cloudresourcemanager.Policy, error)

func (*NotebooksRuntimeIamUpdater) GetResourceId

func (u *NotebooksRuntimeIamUpdater) GetResourceId() string

func (*NotebooksRuntimeIamUpdater) SetResourceIamPolicy

func (u *NotebooksRuntimeIamUpdater) SetResourceIamPolicy(policy *cloudresourcemanager.Policy) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL