Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.notebooks/v2.getInstance
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single Instance.
Using getInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
def get_instance(instance_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
> Note: This function is named LookupInstance
in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:notebooks/v2:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Location string
- Project string
- Instance
Id string - Location string
- Project string
- instance
Id String - location String
- project String
- instance
Id string - location string
- project string
- instance_
id str - location str
- project str
- instance
Id String - location String
- project String
getInstance Result
The following output properties are available:
- Create
Time string - Instance creation time.
- Creator string
- Email address of entity that sent original CreateInstance request.
- Disable
Proxy boolAccess - Optional. If true, the notebook instance will not register with the proxy.
- Gce
Setup Pulumi.Google Native. Notebooks. V2. Outputs. Gce Setup Response - Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
- Health
Info Dictionary<string, string> - Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
- Health
State string - Instance health_state.
- Instance
Owners List<string> - Optional. Input only. The owner 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. - Labels Dictionary<string, string>
- Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
- Name string
- The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
- Proxy
Uri string - The proxy endpoint that is used to access the Jupyter notebook.
- State string
- The state of this instance.
- Update
Time string - Instance update time.
- Upgrade
History List<Pulumi.Google Native. Notebooks. V2. Outputs. Upgrade History Entry Response> - The upgrade history of this instance.
- Create
Time string - Instance creation time.
- Creator string
- Email address of entity that sent original CreateInstance request.
- Disable
Proxy boolAccess - Optional. If true, the notebook instance will not register with the proxy.
- Gce
Setup GceSetup Response - Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
- Health
Info map[string]string - Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
- Health
State string - Instance health_state.
- Instance
Owners []string - Optional. Input only. The owner 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. - Labels map[string]string
- Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
- Name string
- The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
- Proxy
Uri string - The proxy endpoint that is used to access the Jupyter notebook.
- State string
- The state of this instance.
- Update
Time string - Instance update time.
- Upgrade
History []UpgradeHistory Entry Response - The upgrade history of this instance.
- create
Time String - Instance creation time.
- creator String
- Email address of entity that sent original CreateInstance request.
- disable
Proxy BooleanAccess - Optional. If true, the notebook instance will not register with the proxy.
- gce
Setup GceSetup Response - Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
- health
Info Map<String,String> - Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
- health
State String - Instance health_state.
- instance
Owners List<String> - Optional. Input only. The owner 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. - labels Map<String,String>
- Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
- name String
- The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
- proxy
Uri String - The proxy endpoint that is used to access the Jupyter notebook.
- state String
- The state of this instance.
- update
Time String - Instance update time.
- upgrade
History List<UpgradeHistory Entry Response> - The upgrade history of this instance.
- create
Time string - Instance creation time.
- creator string
- Email address of entity that sent original CreateInstance request.
- disable
Proxy booleanAccess - Optional. If true, the notebook instance will not register with the proxy.
- gce
Setup GceSetup Response - Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
- health
Info {[key: string]: string} - Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
- health
State string - Instance health_state.
- instance
Owners string[] - Optional. Input only. The owner 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. - labels {[key: string]: string}
- Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
- name string
- The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
- proxy
Uri string - The proxy endpoint that is used to access the Jupyter notebook.
- state string
- The state of this instance.
- update
Time string - Instance update time.
- upgrade
History UpgradeHistory Entry Response[] - The upgrade history of this instance.
- create_
time str - Instance creation time.
- creator str
- Email address of entity that sent original CreateInstance request.
- disable_
proxy_ boolaccess - Optional. If true, the notebook instance will not register with the proxy.
- gce_
setup GceSetup Response - Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
- health_
info Mapping[str, str] - Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
- health_
state str - Instance health_state.
- instance_
owners Sequence[str] - Optional. Input only. The owner 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. - labels Mapping[str, str]
- Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
- name str
- The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
- proxy_
uri str - The proxy endpoint that is used to access the Jupyter notebook.
- state str
- The state of this instance.
- update_
time str - Instance update time.
- upgrade_
history Sequence[UpgradeHistory Entry Response] - The upgrade history of this instance.
- create
Time String - Instance creation time.
- creator String
- Email address of entity that sent original CreateInstance request.
- disable
Proxy BooleanAccess - Optional. If true, the notebook instance will not register with the proxy.
- gce
Setup Property Map - Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
- health
Info Map<String> - Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }
- health
State String - Instance health_state.
- instance
Owners List<String> - Optional. Input only. The owner 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. - labels Map<String>
- Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
- name String
- The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
- proxy
Uri String - The proxy endpoint that is used to access the Jupyter notebook.
- state String
- The state of this instance.
- update
Time String - Instance update time.
- upgrade
History List<Property Map> - The upgrade history of this instance.
Supporting Types
AcceleratorConfigResponse
- core_
count str - Optional. Count of cores of this accelerator.
- type str
- Optional. Type of this accelerator.
BootDiskResponse
- Disk
Encryption string - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- Disk
Size stringGb - Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
- Disk
Type string - Optional. Indicates the type of the disk.
- Kms
Key string - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- Disk
Encryption string - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- Disk
Size stringGb - Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
- Disk
Type string - Optional. Indicates the type of the disk.
- Kms
Key string - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk
Encryption String - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk
Size StringGb - Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
- disk
Type String - Optional. Indicates the type of the disk.
- kms
Key String - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk
Encryption string - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk
Size stringGb - Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
- disk
Type string - Optional. Indicates the type of the disk.
- kms
Key string - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk_
encryption str - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk_
size_ strgb - Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
- disk_
type str - Optional. Indicates the type of the disk.
- kms_
key str - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk
Encryption String - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk
Size StringGb - Optional. The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to the recommended value of 150GB.
- disk
Type String - Optional. Indicates the type of the disk.
- kms
Key String - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
ContainerImageResponse
- Repository string
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- Tag string
- Optional. The tag of the container image. If not specified, this defaults to the latest tag.
- Repository string
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- Tag string
- Optional. The tag of the container image. If not specified, this defaults to the latest tag.
- repository String
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag String
- Optional. The tag of the container image. If not specified, this defaults to the latest tag.
- repository string
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag string
- Optional. The tag of the container image. If not specified, this defaults to the latest tag.
- repository str
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag str
- Optional. The tag of the container image. If not specified, this defaults to the latest tag.
- repository String
- The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
- tag String
- Optional. The tag of the container image. If not specified, this defaults to the latest tag.
DataDiskResponse
- Disk
Encryption string - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- Disk
Size stringGb - Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
- Disk
Type string - Optional. Input only. Indicates the type of the disk.
- Kms
Key string - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- Disk
Encryption string - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- Disk
Size stringGb - Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
- Disk
Type string - Optional. Input only. Indicates the type of the disk.
- Kms
Key string - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk
Encryption String - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk
Size StringGb - Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
- disk
Type String - Optional. Input only. Indicates the type of the disk.
- kms
Key String - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk
Encryption string - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk
Size stringGb - Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
- disk
Type string - Optional. Input only. Indicates the type of the disk.
- kms
Key string - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk_
encryption str - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk_
size_ strgb - Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
- disk_
type str - Optional. Input only. Indicates the type of the disk.
- kms_
key str - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
- disk
Encryption String - Optional. Input only. Disk encryption method used on the boot and data disks, defaults to GMEK.
- disk
Size StringGb - Optional. The size of the disk in GB attached to this VM instance, up to a maximum of 64000 GB (64 TB). If not specified, this defaults to 100.
- disk
Type String - Optional. Input only. Indicates the type of the disk.
- kms
Key String - Optional. Input only. The KMS key used to encrypt the disks, only applicable if disk_encryption is CMEK. Format:
projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
Learn more about using your own encryption keys.
GPUDriverConfigResponse
- Custom
Gpu stringDriver Path - Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
- Enable
Gpu boolDriver - Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
- Custom
Gpu stringDriver Path - Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
- Enable
Gpu boolDriver - Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
- custom
Gpu StringDriver Path - Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
- enable
Gpu BooleanDriver - Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
- custom
Gpu stringDriver Path - Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
- enable
Gpu booleanDriver - Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
- custom_
gpu_ strdriver_ path - Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
- enable_
gpu_ booldriver - Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
- custom
Gpu StringDriver Path - Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
- enable
Gpu BooleanDriver - Optional. Whether the end user authorizes Google Cloud to install GPU driver on this VM instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
GceSetupResponse
- Accelerator
Configs List<Pulumi.Google Native. Notebooks. V2. Inputs. Accelerator Config Response> - Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the
machine_type
you have selected. Currently supports only one accelerator configuration. - Boot
Disk Pulumi.Google Native. Notebooks. V2. Inputs. Boot Disk Response - Optional. The boot disk for the VM.
- Container
Image Pulumi.Google Native. Notebooks. V2. Inputs. Container Image Response - Optional. Use a container image to start the notebook instance.
- Data
Disks List<Pulumi.Google Native. Notebooks. V2. Inputs. Data Disk Response> - Optional. Data disks attached to the VM instance. Currently supports only one data disk.
- Disable
Public boolIp - Optional. If true, no external IP will be assigned to this VM instance.
- Enable
Ip boolForwarding - Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
- Gpu
Driver Pulumi.Config Google Native. Notebooks. V2. Inputs. GPUDriver Config Response - Optional. Configuration for GPU drivers.
- Machine
Type string - Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
- Metadata Dictionary<string, string>
- Optional. Custom metadata to apply to this instance.
- Network
Interfaces List<Pulumi.Google Native. Notebooks. V2. Inputs. Network Interface Response> - Optional. The network interfaces for the VM. Supports only one interface.
- Service
Accounts List<Pulumi.Google Native. Notebooks. V2. Inputs. Service Account Response> - Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
- Shielded
Instance Pulumi.Config Google Native. Notebooks. V2. Inputs. Shielded Instance Config Response - Optional. Shielded VM configuration. Images using supported Shielded VM features.
- List<string>
- Optional. The Compute Engine tags to add to runtime (see Tagging instances).
- Vm
Image Pulumi.Google Native. Notebooks. V2. Inputs. Vm Image Response - Optional. Use a Compute Engine VM image to start the notebook instance.
- Accelerator
Configs []AcceleratorConfig Response - Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the
machine_type
you have selected. Currently supports only one accelerator configuration. - Boot
Disk BootDisk Response - Optional. The boot disk for the VM.
- Container
Image ContainerImage Response - Optional. Use a container image to start the notebook instance.
- Data
Disks []DataDisk Response - Optional. Data disks attached to the VM instance. Currently supports only one data disk.
- Disable
Public boolIp - Optional. If true, no external IP will be assigned to this VM instance.
- Enable
Ip boolForwarding - Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
- Gpu
Driver GPUDriverConfig Config Response - Optional. Configuration for GPU drivers.
- Machine
Type string - Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
- Metadata map[string]string
- Optional. Custom metadata to apply to this instance.
- Network
Interfaces []NetworkInterface Response - Optional. The network interfaces for the VM. Supports only one interface.
- Service
Accounts []ServiceAccount Response - Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
- Shielded
Instance ShieldedConfig Instance Config Response - Optional. Shielded VM configuration. Images using supported Shielded VM features.
- []string
- Optional. The Compute Engine tags to add to runtime (see Tagging instances).
- Vm
Image VmImage Response - Optional. Use a Compute Engine VM image to start the notebook instance.
- accelerator
Configs List<AcceleratorConfig Response> - Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the
machine_type
you have selected. Currently supports only one accelerator configuration. - boot
Disk BootDisk Response - Optional. The boot disk for the VM.
- container
Image ContainerImage Response - Optional. Use a container image to start the notebook instance.
- data
Disks List<DataDisk Response> - Optional. Data disks attached to the VM instance. Currently supports only one data disk.
- disable
Public BooleanIp - Optional. If true, no external IP will be assigned to this VM instance.
- enable
Ip BooleanForwarding - Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
- gpu
Driver GPUDriverConfig Config Response - Optional. Configuration for GPU drivers.
- machine
Type String - Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
- metadata Map<String,String>
- Optional. Custom metadata to apply to this instance.
- network
Interfaces List<NetworkInterface Response> - Optional. The network interfaces for the VM. Supports only one interface.
- service
Accounts List<ServiceAccount Response> - Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
- shielded
Instance ShieldedConfig Instance Config Response - Optional. Shielded VM configuration. Images using supported Shielded VM features.
- List<String>
- Optional. The Compute Engine tags to add to runtime (see Tagging instances).
- vm
Image VmImage Response - Optional. Use a Compute Engine VM image to start the notebook instance.
- accelerator
Configs AcceleratorConfig Response[] - Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the
machine_type
you have selected. Currently supports only one accelerator configuration. - boot
Disk BootDisk Response - Optional. The boot disk for the VM.
- container
Image ContainerImage Response - Optional. Use a container image to start the notebook instance.
- data
Disks DataDisk Response[] - Optional. Data disks attached to the VM instance. Currently supports only one data disk.
- disable
Public booleanIp - Optional. If true, no external IP will be assigned to this VM instance.
- enable
Ip booleanForwarding - Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
- gpu
Driver GPUDriverConfig Config Response - Optional. Configuration for GPU drivers.
- machine
Type string - Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
- metadata {[key: string]: string}
- Optional. Custom metadata to apply to this instance.
- network
Interfaces NetworkInterface Response[] - Optional. The network interfaces for the VM. Supports only one interface.
- service
Accounts ServiceAccount Response[] - Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
- shielded
Instance ShieldedConfig Instance Config Response - Optional. Shielded VM configuration. Images using supported Shielded VM features.
- string[]
- Optional. The Compute Engine tags to add to runtime (see Tagging instances).
- vm
Image VmImage Response - Optional. Use a Compute Engine VM image to start the notebook instance.
- accelerator_
configs Sequence[AcceleratorConfig Response] - Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the
machine_type
you have selected. Currently supports only one accelerator configuration. - boot_
disk BootDisk Response - Optional. The boot disk for the VM.
- container_
image ContainerImage Response - Optional. Use a container image to start the notebook instance.
- data_
disks Sequence[DataDisk Response] - Optional. Data disks attached to the VM instance. Currently supports only one data disk.
- disable_
public_ boolip - Optional. If true, no external IP will be assigned to this VM instance.
- enable_
ip_ boolforwarding - Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
- gpu_
driver_ GPUDriverconfig Config Response - Optional. Configuration for GPU drivers.
- machine_
type str - Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
- metadata Mapping[str, str]
- Optional. Custom metadata to apply to this instance.
- network_
interfaces Sequence[NetworkInterface Response] - Optional. The network interfaces for the VM. Supports only one interface.
- service_
accounts Sequence[ServiceAccount Response] - Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
- shielded_
instance_ Shieldedconfig Instance Config Response - Optional. Shielded VM configuration. Images using supported Shielded VM features.
- Sequence[str]
- Optional. The Compute Engine tags to add to runtime (see Tagging instances).
- vm_
image VmImage Response - Optional. Use a Compute Engine VM image to start the notebook instance.
- accelerator
Configs List<Property Map> - Optional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the
machine_type
you have selected. Currently supports only one accelerator configuration. - boot
Disk Property Map - Optional. The boot disk for the VM.
- container
Image Property Map - Optional. Use a container image to start the notebook instance.
- data
Disks List<Property Map> - Optional. Data disks attached to the VM instance. Currently supports only one data disk.
- disable
Public BooleanIp - Optional. If true, no external IP will be assigned to this VM instance.
- enable
Ip BooleanForwarding - Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
- gpu
Driver Property MapConfig - Optional. Configuration for GPU drivers.
- machine
Type String - Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
- metadata Map<String>
- Optional. Custom metadata to apply to this instance.
- network
Interfaces List<Property Map> - Optional. The network interfaces for the VM. Supports only one interface.
- service
Accounts List<Property Map> - Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
- shielded
Instance Property MapConfig - Optional. Shielded VM configuration. Images using supported Shielded VM features.
- List<String>
- Optional. The Compute Engine tags to add to runtime (see Tagging instances).
- vm
Image Property Map - Optional. Use a Compute Engine VM image to start the notebook instance.
NetworkInterfaceResponse
- Network string
- Optional. The name of the VPC that this VM instance is in. Format:
projects/{project_id}/global/networks/{network_id}
- Nic
Type string - Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
- Subnet string
- Optional. The name of the subnet that this VM instance is in. Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
- Network string
- Optional. The name of the VPC that this VM instance is in. Format:
projects/{project_id}/global/networks/{network_id}
- Nic
Type string - Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
- Subnet string
- Optional. The name of the subnet that this VM instance is in. Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
- network String
- Optional. The name of the VPC that this VM instance is in. Format:
projects/{project_id}/global/networks/{network_id}
- nic
Type String - Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
- subnet String
- Optional. The name of the subnet that this VM instance is in. Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
- network string
- Optional. The name of the VPC that this VM instance is in. Format:
projects/{project_id}/global/networks/{network_id}
- nic
Type string - Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
- subnet string
- Optional. The name of the subnet that this VM instance is in. Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
- network str
- Optional. The name of the VPC that this VM instance is in. Format:
projects/{project_id}/global/networks/{network_id}
- nic_
type str - Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
- subnet str
- Optional. The name of the subnet that this VM instance is in. Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
- network String
- Optional. The name of the VPC that this VM instance is in. Format:
projects/{project_id}/global/networks/{network_id}
- nic
Type String - Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
- subnet String
- Optional. The name of the subnet that this VM instance is in. Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
ServiceAccountResponse
ShieldedInstanceConfigResponse
- Enable
Integrity boolMonitoring - Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.
- Enable
Secure boolBoot - Optional. Defines whether the VM instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
- Enable
Vtpm bool - Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
- Enable
Integrity boolMonitoring - Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.
- Enable
Secure boolBoot - Optional. Defines whether the VM instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
- Enable
Vtpm bool - Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
- enable
Integrity BooleanMonitoring - Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.
- enable
Secure BooleanBoot - Optional. Defines whether the VM instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
- enable
Vtpm Boolean - Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
- enable
Integrity booleanMonitoring - Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.
- enable
Secure booleanBoot - Optional. Defines whether the VM instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
- enable
Vtpm boolean - Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
- enable_
integrity_ boolmonitoring - Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.
- enable_
secure_ boolboot - Optional. Defines whether the VM instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
- enable_
vtpm bool - Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
- enable
Integrity BooleanMonitoring - Optional. Defines whether the VM instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the VM instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the VM instance is created. Enabled by default.
- enable
Secure BooleanBoot - Optional. Defines whether the VM instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
- enable
Vtpm Boolean - Optional. Defines whether the VM instance has the vTPM enabled. Enabled by default.
UpgradeHistoryEntryResponse
- Action string
- Optional. Action. Rolloback or Upgrade.
- Container
Image string - Optional. The container image before this instance upgrade.
- Create
Time string - Immutable. The time that this instance upgrade history entry is created.
- Framework string
- Optional. The framework of this notebook instance.
- Snapshot string
- Optional. The snapshot of the boot disk of this notebook instance before upgrade.
- State string
- The state of this instance upgrade history entry.
- Target
Version string - Optional. Target VM Version, like m63.
- Version string
- Optional. The version of the notebook instance before this upgrade.
- Vm
Image string - Optional. The VM image before this instance upgrade.
- Action string
- Optional. Action. Rolloback or Upgrade.
- Container
Image string - Optional. The container image before this instance upgrade.
- Create
Time string - Immutable. The time that this instance upgrade history entry is created.
- Framework string
- Optional. The framework of this notebook instance.
- Snapshot string
- Optional. The snapshot of the boot disk of this notebook instance before upgrade.
- State string
- The state of this instance upgrade history entry.
- Target
Version string - Optional. Target VM Version, like m63.
- Version string
- Optional. The version of the notebook instance before this upgrade.
- Vm
Image string - Optional. The VM image before this instance upgrade.
- action String
- Optional. Action. Rolloback or Upgrade.
- container
Image String - Optional. The container image before this instance upgrade.
- create
Time String - Immutable. The time that this instance upgrade history entry is created.
- framework String
- Optional. The framework of this notebook instance.
- snapshot String
- Optional. The snapshot of the boot disk of this notebook instance before upgrade.
- state String
- The state of this instance upgrade history entry.
- target
Version String - Optional. Target VM Version, like m63.
- version String
- Optional. The version of the notebook instance before this upgrade.
- vm
Image String - Optional. The VM image before this instance upgrade.
- action string
- Optional. Action. Rolloback or Upgrade.
- container
Image string - Optional. The container image before this instance upgrade.
- create
Time string - Immutable. The time that this instance upgrade history entry is created.
- framework string
- Optional. The framework of this notebook instance.
- snapshot string
- Optional. The snapshot of the boot disk of this notebook instance before upgrade.
- state string
- The state of this instance upgrade history entry.
- target
Version string - Optional. Target VM Version, like m63.
- version string
- Optional. The version of the notebook instance before this upgrade.
- vm
Image string - Optional. The VM image before this instance upgrade.
- action str
- Optional. Action. Rolloback or Upgrade.
- container_
image str - Optional. The container image before this instance upgrade.
- create_
time str - Immutable. The time that this instance upgrade history entry is created.
- framework str
- Optional. The framework of this notebook instance.
- snapshot str
- Optional. The snapshot of the boot disk of this notebook instance before upgrade.
- state str
- The state of this instance upgrade history entry.
- target_
version str - Optional. Target VM Version, like m63.
- version str
- Optional. The version of the notebook instance before this upgrade.
- vm_
image str - Optional. The VM image before this instance upgrade.
- action String
- Optional. Action. Rolloback or Upgrade.
- container
Image String - Optional. The container image before this instance upgrade.
- create
Time String - Immutable. The time that this instance upgrade history entry is created.
- framework String
- Optional. The framework of this notebook instance.
- snapshot String
- Optional. The snapshot of the boot disk of this notebook instance before upgrade.
- state String
- The state of this instance upgrade history entry.
- target
Version String - Optional. Target VM Version, like m63.
- version String
- Optional. The version of the notebook instance before this upgrade.
- vm
Image String - Optional. The VM image before this instance upgrade.
VmImageResponse
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi