Documentation ¶
Index ¶
- type Environment
- type EnvironmentArgs
- type EnvironmentContainerImage
- type EnvironmentContainerImageArgs
- func (EnvironmentContainerImageArgs) ElementType() reflect.Type
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
- type EnvironmentContainerImageInput
- type EnvironmentContainerImageOutput
- func (EnvironmentContainerImageOutput) ElementType() reflect.Type
- func (o EnvironmentContainerImageOutput) Repository() pulumi.StringOutput
- func (o EnvironmentContainerImageOutput) Tag() pulumi.StringPtrOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
- type EnvironmentContainerImagePtrInput
- type EnvironmentContainerImagePtrOutput
- func (o EnvironmentContainerImagePtrOutput) Elem() EnvironmentContainerImageOutput
- func (EnvironmentContainerImagePtrOutput) ElementType() reflect.Type
- func (o EnvironmentContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
- func (o EnvironmentContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
- func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
- func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
- type EnvironmentState
- type EnvironmentVmImage
- type EnvironmentVmImageArgs
- func (EnvironmentVmImageArgs) ElementType() reflect.Type
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
- type EnvironmentVmImageInput
- type EnvironmentVmImageOutput
- func (EnvironmentVmImageOutput) ElementType() reflect.Type
- func (o EnvironmentVmImageOutput) ImageFamily() pulumi.StringPtrOutput
- func (o EnvironmentVmImageOutput) ImageName() pulumi.StringPtrOutput
- func (o EnvironmentVmImageOutput) Project() pulumi.StringOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
- type EnvironmentVmImagePtrInput
- type EnvironmentVmImagePtrOutput
- func (o EnvironmentVmImagePtrOutput) Elem() EnvironmentVmImageOutput
- func (EnvironmentVmImagePtrOutput) ElementType() reflect.Type
- func (o EnvironmentVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
- func (o EnvironmentVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
- func (o EnvironmentVmImagePtrOutput) Project() pulumi.StringPtrOutput
- func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
- func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
- type Instance
- type InstanceAcceleratorConfig
- type InstanceAcceleratorConfigArgs
- func (InstanceAcceleratorConfigArgs) ElementType() reflect.Type
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
- type InstanceAcceleratorConfigInput
- type InstanceAcceleratorConfigOutput
- func (o InstanceAcceleratorConfigOutput) CoreCount() pulumi.IntOutput
- func (InstanceAcceleratorConfigOutput) ElementType() reflect.Type
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigOutput) Type() pulumi.StringOutput
- type InstanceAcceleratorConfigPtrInput
- type InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) CoreCount() pulumi.IntPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) Elem() InstanceAcceleratorConfigOutput
- func (InstanceAcceleratorConfigPtrOutput) ElementType() reflect.Type
- func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) Type() pulumi.StringPtrOutput
- type InstanceArgs
- type InstanceContainerImage
- type InstanceContainerImageArgs
- func (InstanceContainerImageArgs) ElementType() reflect.Type
- func (i InstanceContainerImageArgs) ToInstanceContainerImageOutput() InstanceContainerImageOutput
- func (i InstanceContainerImageArgs) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
- func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
- func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
- type InstanceContainerImageInput
- type InstanceContainerImageOutput
- func (InstanceContainerImageOutput) ElementType() reflect.Type
- func (o InstanceContainerImageOutput) Repository() pulumi.StringOutput
- func (o InstanceContainerImageOutput) Tag() pulumi.StringPtrOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImageOutput() InstanceContainerImageOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
- type InstanceContainerImagePtrInput
- type InstanceContainerImagePtrOutput
- func (o InstanceContainerImagePtrOutput) Elem() InstanceContainerImageOutput
- func (InstanceContainerImagePtrOutput) ElementType() reflect.Type
- func (o InstanceContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
- func (o InstanceContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
- func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
- func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
- type InstanceState
- type InstanceVmImage
- type InstanceVmImageArgs
- func (InstanceVmImageArgs) ElementType() reflect.Type
- func (i InstanceVmImageArgs) ToInstanceVmImageOutput() InstanceVmImageOutput
- func (i InstanceVmImageArgs) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
- func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
- func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
- type InstanceVmImageInput
- type InstanceVmImageOutput
- func (InstanceVmImageOutput) ElementType() reflect.Type
- func (o InstanceVmImageOutput) ImageFamily() pulumi.StringPtrOutput
- func (o InstanceVmImageOutput) ImageName() pulumi.StringPtrOutput
- func (o InstanceVmImageOutput) Project() pulumi.StringOutput
- func (o InstanceVmImageOutput) ToInstanceVmImageOutput() InstanceVmImageOutput
- func (o InstanceVmImageOutput) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
- func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
- func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
- type InstanceVmImagePtrInput
- type InstanceVmImagePtrOutput
- func (o InstanceVmImagePtrOutput) Elem() InstanceVmImageOutput
- func (InstanceVmImagePtrOutput) ElementType() reflect.Type
- func (o InstanceVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
- func (o InstanceVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
- func (o InstanceVmImagePtrOutput) Project() pulumi.StringPtrOutput
- func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
- func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
- type Location
- type LocationArgs
- type LocationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { pulumi.CustomResourceState // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage EnvironmentContainerImagePtrOutput `pulumi:"containerImage"` // Instance creation time CreateTime pulumi.StringOutput `pulumi:"createTime"` // A brief description of this environment. Description pulumi.StringPtrOutput `pulumi:"description"` // Display name of this environment for the UI. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // A reference to the zone where the machine resides. Location pulumi.StringOutput `pulumi:"location"` // The name specified for the Environment instance. // Format: projects/{project_id}/locations/{location}/environments/{environmentId} Name pulumi.StringOutput `pulumi:"name"` // Path to a Bash script that automatically runs after a notebook instance fully boots up. // The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name" PostStartupScript pulumi.StringPtrOutput `pulumi:"postStartupScript"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringOutput `pulumi:"project"` // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage EnvironmentVmImagePtrOutput `pulumi:"vmImage"` }
func GetEnvironment ¶
func GetEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)
GetEnvironment gets an existing Environment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context, name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)
NewEnvironment registers a new resource with the given unique name, arguments, and options.
type EnvironmentArgs ¶
type EnvironmentArgs struct { // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage EnvironmentContainerImagePtrInput // A brief description of this environment. Description pulumi.StringPtrInput // Display name of this environment for the UI. DisplayName pulumi.StringPtrInput // A reference to the zone where the machine resides. Location pulumi.StringInput // The name specified for the Environment instance. // Format: projects/{project_id}/locations/{location}/environments/{environmentId} Name pulumi.StringPtrInput // Path to a Bash script that automatically runs after a notebook instance fully boots up. // The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name" PostStartupScript pulumi.StringPtrInput // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringPtrInput // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage EnvironmentVmImagePtrInput }
The set of arguments for constructing a Environment resource.
func (EnvironmentArgs) ElementType ¶
func (EnvironmentArgs) ElementType() reflect.Type
type EnvironmentContainerImageArgs ¶
type EnvironmentContainerImageArgs struct { // The path to the container image repository. // For example: gcr.io/{project_id}/{imageName} Repository pulumi.StringInput `pulumi:"repository"` // The tag of the container image. If not specified, this defaults to the latest tag. Tag pulumi.StringPtrInput `pulumi:"tag"` }
func (EnvironmentContainerImageArgs) ElementType ¶
func (EnvironmentContainerImageArgs) ElementType() reflect.Type
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutput ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutputWithContext ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutput ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutputWithContext ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
type EnvironmentContainerImageInput ¶
type EnvironmentContainerImageInput interface { pulumi.Input ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput ToEnvironmentContainerImageOutputWithContext(context.Context) EnvironmentContainerImageOutput }
EnvironmentContainerImageInput is an input type that accepts EnvironmentContainerImageArgs and EnvironmentContainerImageOutput values. You can construct a concrete instance of `EnvironmentContainerImageInput` via:
EnvironmentContainerImageArgs{...}
type EnvironmentContainerImageOutput ¶
type EnvironmentContainerImageOutput struct{ *pulumi.OutputState }
func (EnvironmentContainerImageOutput) ElementType ¶
func (EnvironmentContainerImageOutput) ElementType() reflect.Type
func (EnvironmentContainerImageOutput) Repository ¶
func (o EnvironmentContainerImageOutput) Repository() pulumi.StringOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (EnvironmentContainerImageOutput) Tag ¶
func (o EnvironmentContainerImageOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutput ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutputWithContext ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutput ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutputWithContext ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
type EnvironmentContainerImagePtrInput ¶
type EnvironmentContainerImagePtrInput interface { pulumi.Input ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput ToEnvironmentContainerImagePtrOutputWithContext(context.Context) EnvironmentContainerImagePtrOutput }
EnvironmentContainerImagePtrInput is an input type that accepts EnvironmentContainerImageArgs, EnvironmentContainerImagePtr and EnvironmentContainerImagePtrOutput values. You can construct a concrete instance of `EnvironmentContainerImagePtrInput` via:
EnvironmentContainerImageArgs{...} or: nil
func EnvironmentContainerImagePtr ¶
func EnvironmentContainerImagePtr(v *EnvironmentContainerImageArgs) EnvironmentContainerImagePtrInput
type EnvironmentContainerImagePtrOutput ¶
type EnvironmentContainerImagePtrOutput struct{ *pulumi.OutputState }
func (EnvironmentContainerImagePtrOutput) Elem ¶
func (o EnvironmentContainerImagePtrOutput) Elem() EnvironmentContainerImageOutput
func (EnvironmentContainerImagePtrOutput) ElementType ¶
func (EnvironmentContainerImagePtrOutput) ElementType() reflect.Type
func (EnvironmentContainerImagePtrOutput) Repository ¶
func (o EnvironmentContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (EnvironmentContainerImagePtrOutput) Tag ¶
func (o EnvironmentContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutput ¶
func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
func (EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutputWithContext ¶
func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
type EnvironmentState ¶
type EnvironmentState struct { // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage EnvironmentContainerImagePtrInput // Instance creation time CreateTime pulumi.StringPtrInput // A brief description of this environment. Description pulumi.StringPtrInput // Display name of this environment for the UI. DisplayName pulumi.StringPtrInput // A reference to the zone where the machine resides. Location pulumi.StringPtrInput // The name specified for the Environment instance. // Format: projects/{project_id}/locations/{location}/environments/{environmentId} Name pulumi.StringPtrInput // Path to a Bash script that automatically runs after a notebook instance fully boots up. // The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name" PostStartupScript pulumi.StringPtrInput // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringPtrInput // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage EnvironmentVmImagePtrInput }
func (EnvironmentState) ElementType ¶
func (EnvironmentState) ElementType() reflect.Type
type EnvironmentVmImage ¶
type EnvironmentVmImage struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily *string `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName *string `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project string `pulumi:"project"` }
type EnvironmentVmImageArgs ¶
type EnvironmentVmImageArgs struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily pulumi.StringPtrInput `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName pulumi.StringPtrInput `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringInput `pulumi:"project"` }
func (EnvironmentVmImageArgs) ElementType ¶
func (EnvironmentVmImageArgs) ElementType() reflect.Type
func (EnvironmentVmImageArgs) ToEnvironmentVmImageOutput ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
func (EnvironmentVmImageArgs) ToEnvironmentVmImageOutputWithContext ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
func (EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutput ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
func (EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutputWithContext ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
type EnvironmentVmImageInput ¶
type EnvironmentVmImageInput interface { pulumi.Input ToEnvironmentVmImageOutput() EnvironmentVmImageOutput ToEnvironmentVmImageOutputWithContext(context.Context) EnvironmentVmImageOutput }
EnvironmentVmImageInput is an input type that accepts EnvironmentVmImageArgs and EnvironmentVmImageOutput values. You can construct a concrete instance of `EnvironmentVmImageInput` via:
EnvironmentVmImageArgs{...}
type EnvironmentVmImageOutput ¶
type EnvironmentVmImageOutput struct{ *pulumi.OutputState }
func (EnvironmentVmImageOutput) ElementType ¶
func (EnvironmentVmImageOutput) ElementType() reflect.Type
func (EnvironmentVmImageOutput) ImageFamily ¶
func (o EnvironmentVmImageOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (EnvironmentVmImageOutput) ImageName ¶
func (o EnvironmentVmImageOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (EnvironmentVmImageOutput) Project ¶
func (o EnvironmentVmImageOutput) Project() pulumi.StringOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (EnvironmentVmImageOutput) ToEnvironmentVmImageOutput ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
func (EnvironmentVmImageOutput) ToEnvironmentVmImageOutputWithContext ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
func (EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutput ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
func (EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutputWithContext ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
type EnvironmentVmImagePtrInput ¶
type EnvironmentVmImagePtrInput interface { pulumi.Input ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput ToEnvironmentVmImagePtrOutputWithContext(context.Context) EnvironmentVmImagePtrOutput }
EnvironmentVmImagePtrInput is an input type that accepts EnvironmentVmImageArgs, EnvironmentVmImagePtr and EnvironmentVmImagePtrOutput values. You can construct a concrete instance of `EnvironmentVmImagePtrInput` via:
EnvironmentVmImageArgs{...} or: nil
func EnvironmentVmImagePtr ¶
func EnvironmentVmImagePtr(v *EnvironmentVmImageArgs) EnvironmentVmImagePtrInput
type EnvironmentVmImagePtrOutput ¶
type EnvironmentVmImagePtrOutput struct{ *pulumi.OutputState }
func (EnvironmentVmImagePtrOutput) Elem ¶
func (o EnvironmentVmImagePtrOutput) Elem() EnvironmentVmImageOutput
func (EnvironmentVmImagePtrOutput) ElementType ¶
func (EnvironmentVmImagePtrOutput) ElementType() reflect.Type
func (EnvironmentVmImagePtrOutput) ImageFamily ¶
func (o EnvironmentVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (EnvironmentVmImagePtrOutput) ImageName ¶
func (o EnvironmentVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (EnvironmentVmImagePtrOutput) Project ¶
func (o EnvironmentVmImagePtrOutput) Project() pulumi.StringPtrOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutput ¶
func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
func (EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutputWithContext ¶
func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The hardware accelerator used on this instance. If you use accelerators, // make sure that your configuration has enough vCPUs and memory to support the // machineType you have selected. // Structure is documented below. AcceleratorConfig InstanceAcceleratorConfigPtrOutput `pulumi:"acceleratorConfig"` // The size of the boot disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. // If not specified, this defaults to 100. BootDiskSizeGb pulumi.IntPtrOutput `pulumi:"bootDiskSizeGb"` // Possible disk types for notebook instances. // Possible values are `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, and `PD_BALANCED`. BootDiskType pulumi.StringPtrOutput `pulumi:"bootDiskType"` // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage InstanceContainerImagePtrOutput `pulumi:"containerImage"` // Instance creation time CreateTime pulumi.StringOutput `pulumi:"createTime"` // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath pulumi.StringPtrOutput `pulumi:"customGpuDriverPath"` // The size of the data disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). // You can choose the size of the data disk based on how big your notebooks and data are. // If not specified, this defaults to 100. DataDiskSizeGb pulumi.IntPtrOutput `pulumi:"dataDiskSizeGb"` // Possible disk types for notebook instances. // Possible values are `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, and `PD_BALANCED`. DataDiskType pulumi.StringPtrOutput `pulumi:"dataDiskType"` // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, and `CMEK`. DiskEncryption pulumi.StringPtrOutput `pulumi:"diskEncryption"` // Indicates that this is a boot disk. The virtual machine will // use the first partition of the disk for its root filesystem. InstallGpuDriver pulumi.BoolPtrOutput `pulumi:"installGpuDriver"` // The list of owners of this instance after creation. // Format: alias@example.com. // Currently supports one owner only. // If not specified, all of the service account users of // your VM instance's service account can use the instance. InstanceOwners pulumi.StringPtrOutput `pulumi:"instanceOwners"` // The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK. // Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} KmsKey pulumi.StringPtrOutput `pulumi:"kmsKey"` // Labels to apply to this instance. These can be later modified by the setLabels method. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels pulumi.StringMapOutput `pulumi:"labels"` // A reference to the zone where the machine resides. Location pulumi.StringOutput `pulumi:"location"` // A reference to a machine type which defines VM kind. MachineType pulumi.StringOutput `pulumi:"machineType"` // Custom metadata to apply to this instance. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Metadata pulumi.StringMapOutput `pulumi:"metadata"` // The name specified for the Notebook instance. Name pulumi.StringOutput `pulumi:"name"` // The name of the VPC that this instance is in. // Format: projects/{project_id}/global/networks/{network_id} Network pulumi.StringOutput `pulumi:"network"` // the notebook instance will not register with the proxy.. NoProxyAccess pulumi.BoolPtrOutput `pulumi:"noProxyAccess"` // no public IP will be assigned to this instance. NoPublicIp pulumi.BoolPtrOutput `pulumi:"noPublicIp"` // If true, the data disk will not be auto deleted when deleting the instance. NoRemoveDataDisk pulumi.BoolPtrOutput `pulumi:"noRemoveDataDisk"` // Path to a Bash script that automatically runs after a // notebook instance fully boots up. The path must be a URL // or Cloud Storage path (gs://path-to-file/file-name). PostStartupScript pulumi.StringPtrOutput `pulumi:"postStartupScript"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringOutput `pulumi:"project"` // The proxy endpoint that is used to access the Jupyter notebook. ProxyUri pulumi.StringOutput `pulumi:"proxyUri"` // The service account on this instance, giving access to other // Google Cloud services. You can use any service account within // the same project, but you must have the service account user // permission to use the instance. If not specified, // the Compute Engine default service account is used. ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"` // The state of this instance. State pulumi.StringOutput `pulumi:"state"` // The name of the subnet that this instance is in. // Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id} Subnet pulumi.StringOutput `pulumi:"subnet"` // Instance update time. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage InstanceVmImagePtrOutput `pulumi:"vmImage"` }
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
type InstanceAcceleratorConfig ¶
type InstanceAcceleratorConfig struct { // Count of cores of this accelerator. CoreCount int `pulumi:"coreCount"` // Type of this accelerator. // Possible values are `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `TPU_V2`, and `TPU_V3`. Type string `pulumi:"type"` }
type InstanceAcceleratorConfigArgs ¶
type InstanceAcceleratorConfigArgs struct { // Count of cores of this accelerator. CoreCount pulumi.IntInput `pulumi:"coreCount"` // Type of this accelerator. // Possible values are `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `TPU_V2`, and `TPU_V3`. Type pulumi.StringInput `pulumi:"type"` }
func (InstanceAcceleratorConfigArgs) ElementType ¶
func (InstanceAcceleratorConfigArgs) ElementType() reflect.Type
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutput ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutputWithContext ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutput ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutputWithContext ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
type InstanceAcceleratorConfigInput ¶
type InstanceAcceleratorConfigInput interface { pulumi.Input ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput ToInstanceAcceleratorConfigOutputWithContext(context.Context) InstanceAcceleratorConfigOutput }
InstanceAcceleratorConfigInput is an input type that accepts InstanceAcceleratorConfigArgs and InstanceAcceleratorConfigOutput values. You can construct a concrete instance of `InstanceAcceleratorConfigInput` via:
InstanceAcceleratorConfigArgs{...}
type InstanceAcceleratorConfigOutput ¶
type InstanceAcceleratorConfigOutput struct{ *pulumi.OutputState }
func (InstanceAcceleratorConfigOutput) CoreCount ¶
func (o InstanceAcceleratorConfigOutput) CoreCount() pulumi.IntOutput
Count of cores of this accelerator.
func (InstanceAcceleratorConfigOutput) ElementType ¶
func (InstanceAcceleratorConfigOutput) ElementType() reflect.Type
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutput ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutputWithContext ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutput ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutputWithContext ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigOutput) Type ¶
func (o InstanceAcceleratorConfigOutput) Type() pulumi.StringOutput
Type of this accelerator. Possible values are `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `TPU_V2`, and `TPU_V3`.
type InstanceAcceleratorConfigPtrInput ¶
type InstanceAcceleratorConfigPtrInput interface { pulumi.Input ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput ToInstanceAcceleratorConfigPtrOutputWithContext(context.Context) InstanceAcceleratorConfigPtrOutput }
InstanceAcceleratorConfigPtrInput is an input type that accepts InstanceAcceleratorConfigArgs, InstanceAcceleratorConfigPtr and InstanceAcceleratorConfigPtrOutput values. You can construct a concrete instance of `InstanceAcceleratorConfigPtrInput` via:
InstanceAcceleratorConfigArgs{...} or: nil
func InstanceAcceleratorConfigPtr ¶
func InstanceAcceleratorConfigPtr(v *InstanceAcceleratorConfigArgs) InstanceAcceleratorConfigPtrInput
type InstanceAcceleratorConfigPtrOutput ¶
type InstanceAcceleratorConfigPtrOutput struct{ *pulumi.OutputState }
func (InstanceAcceleratorConfigPtrOutput) CoreCount ¶
func (o InstanceAcceleratorConfigPtrOutput) CoreCount() pulumi.IntPtrOutput
Count of cores of this accelerator.
func (InstanceAcceleratorConfigPtrOutput) Elem ¶
func (o InstanceAcceleratorConfigPtrOutput) Elem() InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigPtrOutput) ElementType ¶
func (InstanceAcceleratorConfigPtrOutput) ElementType() reflect.Type
func (InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutput ¶
func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutputWithContext ¶
func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigPtrOutput) Type ¶
func (o InstanceAcceleratorConfigPtrOutput) Type() pulumi.StringPtrOutput
Type of this accelerator. Possible values are `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `TPU_V2`, and `TPU_V3`.
type InstanceArgs ¶
type InstanceArgs struct { // The hardware accelerator used on this instance. If you use accelerators, // make sure that your configuration has enough vCPUs and memory to support the // machineType you have selected. // Structure is documented below. AcceleratorConfig InstanceAcceleratorConfigPtrInput // The size of the boot disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. // If not specified, this defaults to 100. BootDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, and `PD_BALANCED`. BootDiskType pulumi.StringPtrInput // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage InstanceContainerImagePtrInput // Instance creation time CreateTime pulumi.StringPtrInput // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath pulumi.StringPtrInput // The size of the data disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). // You can choose the size of the data disk based on how big your notebooks and data are. // If not specified, this defaults to 100. DataDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, and `PD_BALANCED`. DataDiskType pulumi.StringPtrInput // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, and `CMEK`. DiskEncryption pulumi.StringPtrInput // Indicates that this is a boot disk. The virtual machine will // use the first partition of the disk for its root filesystem. InstallGpuDriver pulumi.BoolPtrInput // The list of owners of this instance after creation. // Format: alias@example.com. // Currently supports one owner only. // If not specified, all of the service account users of // your VM instance's service account can use the instance. InstanceOwners pulumi.StringPtrInput // The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK. // Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} KmsKey pulumi.StringPtrInput // Labels to apply to this instance. These can be later modified by the setLabels method. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels pulumi.StringMapInput // A reference to the zone where the machine resides. Location pulumi.StringInput // A reference to a machine type which defines VM kind. MachineType pulumi.StringInput // Custom metadata to apply to this instance. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Metadata pulumi.StringMapInput // The name specified for the Notebook instance. Name pulumi.StringPtrInput // The name of the VPC that this instance is in. // Format: projects/{project_id}/global/networks/{network_id} Network pulumi.StringPtrInput // the notebook instance will not register with the proxy.. NoProxyAccess pulumi.BoolPtrInput // no public IP will be assigned to this instance. NoPublicIp pulumi.BoolPtrInput // If true, the data disk will not be auto deleted when deleting the instance. NoRemoveDataDisk pulumi.BoolPtrInput // Path to a Bash script that automatically runs after a // notebook instance fully boots up. The path must be a URL // or Cloud Storage path (gs://path-to-file/file-name). PostStartupScript pulumi.StringPtrInput // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringPtrInput // The service account on this instance, giving access to other // Google Cloud services. You can use any service account within // the same project, but you must have the service account user // permission to use the instance. If not specified, // the Compute Engine default service account is used. ServiceAccount pulumi.StringPtrInput // The name of the subnet that this instance is in. // Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id} Subnet pulumi.StringPtrInput // Instance update time. UpdateTime pulumi.StringPtrInput // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage InstanceVmImagePtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceContainerImage ¶
type InstanceContainerImageArgs ¶
type InstanceContainerImageArgs struct { // The path to the container image repository. // For example: gcr.io/{project_id}/{imageName} Repository pulumi.StringInput `pulumi:"repository"` // The tag of the container image. If not specified, this defaults to the latest tag. Tag pulumi.StringPtrInput `pulumi:"tag"` }
func (InstanceContainerImageArgs) ElementType ¶
func (InstanceContainerImageArgs) ElementType() reflect.Type
func (InstanceContainerImageArgs) ToInstanceContainerImageOutput ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImageOutput() InstanceContainerImageOutput
func (InstanceContainerImageArgs) ToInstanceContainerImageOutputWithContext ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
func (InstanceContainerImageArgs) ToInstanceContainerImagePtrOutput ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
func (InstanceContainerImageArgs) ToInstanceContainerImagePtrOutputWithContext ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
type InstanceContainerImageInput ¶
type InstanceContainerImageInput interface { pulumi.Input ToInstanceContainerImageOutput() InstanceContainerImageOutput ToInstanceContainerImageOutputWithContext(context.Context) InstanceContainerImageOutput }
InstanceContainerImageInput is an input type that accepts InstanceContainerImageArgs and InstanceContainerImageOutput values. You can construct a concrete instance of `InstanceContainerImageInput` via:
InstanceContainerImageArgs{...}
type InstanceContainerImageOutput ¶
type InstanceContainerImageOutput struct{ *pulumi.OutputState }
func (InstanceContainerImageOutput) ElementType ¶
func (InstanceContainerImageOutput) ElementType() reflect.Type
func (InstanceContainerImageOutput) Repository ¶
func (o InstanceContainerImageOutput) Repository() pulumi.StringOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (InstanceContainerImageOutput) Tag ¶
func (o InstanceContainerImageOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (InstanceContainerImageOutput) ToInstanceContainerImageOutput ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImageOutput() InstanceContainerImageOutput
func (InstanceContainerImageOutput) ToInstanceContainerImageOutputWithContext ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
func (InstanceContainerImageOutput) ToInstanceContainerImagePtrOutput ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
func (InstanceContainerImageOutput) ToInstanceContainerImagePtrOutputWithContext ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
type InstanceContainerImagePtrInput ¶
type InstanceContainerImagePtrInput interface { pulumi.Input ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput ToInstanceContainerImagePtrOutputWithContext(context.Context) InstanceContainerImagePtrOutput }
InstanceContainerImagePtrInput is an input type that accepts InstanceContainerImageArgs, InstanceContainerImagePtr and InstanceContainerImagePtrOutput values. You can construct a concrete instance of `InstanceContainerImagePtrInput` via:
InstanceContainerImageArgs{...} or: nil
func InstanceContainerImagePtr ¶
func InstanceContainerImagePtr(v *InstanceContainerImageArgs) InstanceContainerImagePtrInput
type InstanceContainerImagePtrOutput ¶
type InstanceContainerImagePtrOutput struct{ *pulumi.OutputState }
func (InstanceContainerImagePtrOutput) Elem ¶
func (o InstanceContainerImagePtrOutput) Elem() InstanceContainerImageOutput
func (InstanceContainerImagePtrOutput) ElementType ¶
func (InstanceContainerImagePtrOutput) ElementType() reflect.Type
func (InstanceContainerImagePtrOutput) Repository ¶
func (o InstanceContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (InstanceContainerImagePtrOutput) Tag ¶
func (o InstanceContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutput ¶
func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
func (InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutputWithContext ¶
func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
type InstanceState ¶
type InstanceState struct { // The hardware accelerator used on this instance. If you use accelerators, // make sure that your configuration has enough vCPUs and memory to support the // machineType you have selected. // Structure is documented below. AcceleratorConfig InstanceAcceleratorConfigPtrInput // The size of the boot disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. // If not specified, this defaults to 100. BootDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, and `PD_BALANCED`. BootDiskType pulumi.StringPtrInput // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage InstanceContainerImagePtrInput // Instance creation time CreateTime pulumi.StringPtrInput // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath pulumi.StringPtrInput // The size of the data disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). // You can choose the size of the data disk based on how big your notebooks and data are. // If not specified, this defaults to 100. DataDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, and `PD_BALANCED`. DataDiskType pulumi.StringPtrInput // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, and `CMEK`. DiskEncryption pulumi.StringPtrInput // Indicates that this is a boot disk. The virtual machine will // use the first partition of the disk for its root filesystem. InstallGpuDriver pulumi.BoolPtrInput // The list of owners of this instance after creation. // Format: alias@example.com. // Currently supports one owner only. // If not specified, all of the service account users of // your VM instance's service account can use the instance. InstanceOwners pulumi.StringPtrInput // The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK. // Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} KmsKey pulumi.StringPtrInput // Labels to apply to this instance. These can be later modified by the setLabels method. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Labels pulumi.StringMapInput // A reference to the zone where the machine resides. Location pulumi.StringPtrInput // A reference to a machine type which defines VM kind. MachineType pulumi.StringPtrInput // Custom metadata to apply to this instance. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Metadata pulumi.StringMapInput // The name specified for the Notebook instance. Name pulumi.StringPtrInput // The name of the VPC that this instance is in. // Format: projects/{project_id}/global/networks/{network_id} Network pulumi.StringPtrInput // the notebook instance will not register with the proxy.. NoProxyAccess pulumi.BoolPtrInput // no public IP will be assigned to this instance. NoPublicIp pulumi.BoolPtrInput // If true, the data disk will not be auto deleted when deleting the instance. NoRemoveDataDisk pulumi.BoolPtrInput // Path to a Bash script that automatically runs after a // notebook instance fully boots up. The path must be a URL // or Cloud Storage path (gs://path-to-file/file-name). PostStartupScript pulumi.StringPtrInput // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringPtrInput // The proxy endpoint that is used to access the Jupyter notebook. ProxyUri pulumi.StringPtrInput // The service account on this instance, giving access to other // Google Cloud services. You can use any service account within // the same project, but you must have the service account user // permission to use the instance. If not specified, // the Compute Engine default service account is used. ServiceAccount pulumi.StringPtrInput // The state of this instance. State pulumi.StringPtrInput // The name of the subnet that this instance is in. // Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id} Subnet pulumi.StringPtrInput // Instance update time. UpdateTime pulumi.StringPtrInput // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage InstanceVmImagePtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type InstanceVmImage ¶
type InstanceVmImage struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily *string `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName *string `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project string `pulumi:"project"` }
type InstanceVmImageArgs ¶
type InstanceVmImageArgs struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily pulumi.StringPtrInput `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName pulumi.StringPtrInput `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringInput `pulumi:"project"` }
func (InstanceVmImageArgs) ElementType ¶
func (InstanceVmImageArgs) ElementType() reflect.Type
func (InstanceVmImageArgs) ToInstanceVmImageOutput ¶
func (i InstanceVmImageArgs) ToInstanceVmImageOutput() InstanceVmImageOutput
func (InstanceVmImageArgs) ToInstanceVmImageOutputWithContext ¶
func (i InstanceVmImageArgs) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
func (InstanceVmImageArgs) ToInstanceVmImagePtrOutput ¶
func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
func (InstanceVmImageArgs) ToInstanceVmImagePtrOutputWithContext ¶
func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
type InstanceVmImageInput ¶
type InstanceVmImageInput interface { pulumi.Input ToInstanceVmImageOutput() InstanceVmImageOutput ToInstanceVmImageOutputWithContext(context.Context) InstanceVmImageOutput }
InstanceVmImageInput is an input type that accepts InstanceVmImageArgs and InstanceVmImageOutput values. You can construct a concrete instance of `InstanceVmImageInput` via:
InstanceVmImageArgs{...}
type InstanceVmImageOutput ¶
type InstanceVmImageOutput struct{ *pulumi.OutputState }
func (InstanceVmImageOutput) ElementType ¶
func (InstanceVmImageOutput) ElementType() reflect.Type
func (InstanceVmImageOutput) ImageFamily ¶
func (o InstanceVmImageOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (InstanceVmImageOutput) ImageName ¶
func (o InstanceVmImageOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (InstanceVmImageOutput) Project ¶
func (o InstanceVmImageOutput) Project() pulumi.StringOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (InstanceVmImageOutput) ToInstanceVmImageOutput ¶
func (o InstanceVmImageOutput) ToInstanceVmImageOutput() InstanceVmImageOutput
func (InstanceVmImageOutput) ToInstanceVmImageOutputWithContext ¶
func (o InstanceVmImageOutput) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
func (InstanceVmImageOutput) ToInstanceVmImagePtrOutput ¶
func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
func (InstanceVmImageOutput) ToInstanceVmImagePtrOutputWithContext ¶
func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
type InstanceVmImagePtrInput ¶
type InstanceVmImagePtrInput interface { pulumi.Input ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput ToInstanceVmImagePtrOutputWithContext(context.Context) InstanceVmImagePtrOutput }
InstanceVmImagePtrInput is an input type that accepts InstanceVmImageArgs, InstanceVmImagePtr and InstanceVmImagePtrOutput values. You can construct a concrete instance of `InstanceVmImagePtrInput` via:
InstanceVmImageArgs{...} or: nil
func InstanceVmImagePtr ¶
func InstanceVmImagePtr(v *InstanceVmImageArgs) InstanceVmImagePtrInput
type InstanceVmImagePtrOutput ¶
type InstanceVmImagePtrOutput struct{ *pulumi.OutputState }
func (InstanceVmImagePtrOutput) Elem ¶
func (o InstanceVmImagePtrOutput) Elem() InstanceVmImageOutput
func (InstanceVmImagePtrOutput) ElementType ¶
func (InstanceVmImagePtrOutput) ElementType() reflect.Type
func (InstanceVmImagePtrOutput) ImageFamily ¶
func (o InstanceVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (InstanceVmImagePtrOutput) ImageName ¶
func (o InstanceVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (InstanceVmImagePtrOutput) Project ¶
func (o InstanceVmImagePtrOutput) Project() pulumi.StringPtrOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutput ¶
func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
func (InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutputWithContext ¶
func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
type Location ¶
type Location struct { pulumi.CustomResourceState // Name of the Location resource. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The URI of the created resource. SelfLink pulumi.StringOutput `pulumi:"selfLink"` }
func GetLocation ¶
func GetLocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LocationState, opts ...pulumi.ResourceOption) (*Location, error)
GetLocation gets an existing Location resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLocation ¶
func NewLocation(ctx *pulumi.Context, name string, args *LocationArgs, opts ...pulumi.ResourceOption) (*Location, error)
NewLocation registers a new resource with the given unique name, arguments, and options.
type LocationArgs ¶
type LocationArgs struct { // Name of the Location resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Location resource.
func (LocationArgs) ElementType ¶
func (LocationArgs) ElementType() reflect.Type
type LocationState ¶
type LocationState struct { // Name of the Location resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The URI of the created resource. SelfLink pulumi.StringPtrInput }
func (LocationState) ElementType ¶
func (LocationState) ElementType() reflect.Type