workbench

package
v1.20.1-0...-a0dec11 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

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{
	"agent-health-check-interval-seconds",
	"agent-health-check-path",
	"container",
	"cos-update-strategy",
	"custom-container-image",
	"custom-container-payload",
	"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",
	"google-logging-enabled",
	"image-url",
	"install-monitoring-agent",
	"install-nvidia-driver",
	"installed-extensions",
	"last_updated_diagnostics",
	"notebooks-api",
	"notebooks-api-version",
	"notebooks-examples-location",
	"notebooks-location",
	"proxy-backend-id",
	"proxy-byoid-url",
	"proxy-mode",
	"proxy-status",
	"proxy-url",
	"proxy-user-mail",
	"report-container-health",
	"report-event-url",
	"report-notebook-metrics",
	"report-system-health",
	"report-system-status",
	"restriction",
	"serial-port-logging-enable",
	"service-account-mode",
	"shutdown-script",
	"title",
	"use-collaborative",
	"user-data",
	"version",

	"disable-swap-binaries",
	"enable-guest-attributes",
	"enable-oslogin",
	"proxy-registration-url",
}
View Source
var WorkbenchInstanceProvidedTags = []string{
	"deeplearning-vm",
	"notebook-instance",
}

Functions

func ResourceWorkbenchInstance

func ResourceWorkbenchInstance() *schema.Resource

func WorkbenchInstanceAcceleratorDiffSuppress

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

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

func WorkbenchOperationWaitTime

func WorkbenchOperationWaitTime(config *transport_tpg.Config, op map[string]interface{}, project, activity, userAgent string, timeout time.Duration) error

func WorkbenchOperationWaitTimeWithResponse

func WorkbenchOperationWaitTimeWithResponse(config *transport_tpg.Config, op map[string]interface{}, response *map[string]interface{}, project, activity, userAgent string, timeout time.Duration) error

nolint: deadcode,unused

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

type WorkbenchOperationWaiter

type WorkbenchOperationWaiter struct {
	Config    *transport_tpg.Config
	UserAgent string
	Project   string
	tpgresource.CommonOperationWaiter
}

func (*WorkbenchOperationWaiter) QueryOp

func (w *WorkbenchOperationWaiter) QueryOp() (interface{}, error)

Jump to

Keyboard shortcuts

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