Interface NotebooksInstanceConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
NotebooksInstanceConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.179Z") @Stability(Stable) public interface NotebooksInstanceConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNotebooksInstanceConfig.BuilderA builder forNotebooksInstanceConfigstatic classNotebooksInstanceConfig.Jsii$ProxyAn implementation forNotebooksInstanceConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static NotebooksInstanceConfig.Builderbuilder()default NotebooksInstanceAcceleratorConfiggetAcceleratorConfig()accelerator_config block.default NumbergetBootDiskSizeGb()The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB).default StringgetBootDiskType()Possible disk types for notebook instances.default NotebooksInstanceContainerImagegetContainerImage()container_image block.default StringgetCreateTime()Instance creation time.default StringgetCustomGpuDriverPath()Specify a custom Cloud Storage path where the GPU driver is stored.default NumbergetDataDiskSizeGb()The size of the data disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB).default StringgetDataDiskType()Possible disk types for notebook instances.default StringgetDesiredState()Desired state of the Notebook Instance.default StringgetDiskEncryption()Disk encryption method used on the boot and data disks, defaults to GMEK.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#id NotebooksInstance#id}.default ObjectgetInstallGpuDriver()Whether the end user authorizes Google Cloud to install GPU driver on this instance.default List<String>getInstanceOwners()The list of owners of this instance after creation.default StringgetKmsKey()The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK.default Map<String,String>getLabels()Labels to apply to this instance.StringgetLocation()A reference to the zone where the machine resides.StringgetMachineType()A reference to a machine type which defines VM kind.default Map<String,String>getMetadata()Custom metadata to apply to this instance.StringgetName()The name specified for the Notebook instance.default StringgetNetwork()The name of the VPC that this instance is in.default StringgetNicType()The type of vNIC driver.default ObjectgetNoProxyAccess()The notebook instance will not register with the proxy..default ObjectgetNoPublicIp()No public IP will be assigned to this instance.default ObjectgetNoRemoveDataDisk()If true, the data disk will not be auto deleted when deleting the instance.default StringgetPostStartupScript()Path to a Bash script that automatically runs after a notebook instance fully boots up.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#project NotebooksInstance#project}.default NotebooksInstanceReservationAffinitygetReservationAffinity()reservation_affinity block.default StringgetServiceAccount()The service account on this instance, giving access to other Google Cloud services.default List<String>getServiceAccountScopes()Optional.default NotebooksInstanceShieldedInstanceConfiggetShieldedInstanceConfig()shielded_instance_config block.default StringgetSubnet()The name of the subnet that this instance is in.default List<String>getTags()The Compute Engine tags to add to instance.default NotebooksInstanceTimeoutsgetTimeouts()timeouts block.default StringgetUpdateTime()Instance update time.default NotebooksInstanceVmImagegetVmImage()vm_image block.
-
-
-
Method Detail
-
getLocation
@Stability(Stable) @NotNull String getLocation()
A reference to the zone where the machine resides.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#location NotebooksInstance#location}
-
getMachineType
@Stability(Stable) @NotNull String getMachineType()
A reference to a machine type which defines VM kind.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#machine_type NotebooksInstance#machine_type}
-
getName
@Stability(Stable) @NotNull String getName()
The name specified for the Notebook instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#name NotebooksInstance#name}
-
getAcceleratorConfig
@Stability(Stable) @Nullable default NotebooksInstanceAcceleratorConfig getAcceleratorConfig()
accelerator_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#accelerator_config NotebooksInstance#accelerator_config}
-
getBootDiskSizeGb
@Stability(Stable) @Nullable default Number getBootDiskSizeGb()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#boot_disk_size_gb NotebooksInstance#boot_disk_size_gb}
-
getBootDiskType
@Stability(Stable) @Nullable default String getBootDiskType()
Possible disk types for notebook instances. Possible values: ["DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#boot_disk_type NotebooksInstance#boot_disk_type}
-
getContainerImage
@Stability(Stable) @Nullable default NotebooksInstanceContainerImage getContainerImage()
container_image block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#container_image NotebooksInstance#container_image}
-
getCreateTime
@Stability(Stable) @Nullable default String getCreateTime()
Instance creation time.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#create_time NotebooksInstance#create_time}
-
getCustomGpuDriverPath
@Stability(Stable) @Nullable default String getCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored.If not specified, we'll automatically choose from official GPU drivers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#custom_gpu_driver_path NotebooksInstance#custom_gpu_driver_path}
-
getDataDiskSizeGb
@Stability(Stable) @Nullable default Number getDataDiskSizeGb()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#data_disk_size_gb NotebooksInstance#data_disk_size_gb}
-
getDataDiskType
@Stability(Stable) @Nullable default String getDataDiskType()
Possible disk types for notebook instances. Possible values: ["DISK_TYPE_UNSPECIFIED", "PD_STANDARD", "PD_SSD", "PD_BALANCED", "PD_EXTREME"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#data_disk_type NotebooksInstance#data_disk_type}
-
getDesiredState
@Stability(Stable) @Nullable default String getDesiredState()
Desired state of the Notebook Instance.Set this field to 'ACTIVE' to start the Instance, and 'STOPPED' to stop the Instance. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#desired_state NotebooksInstance#desired_state}
-
getDiskEncryption
@Stability(Stable) @Nullable default String getDiskEncryption()
Disk encryption method used on the boot and data disks, defaults to GMEK. Possible values: ["DISK_ENCRYPTION_UNSPECIFIED", "GMEK", "CMEK"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#disk_encryption NotebooksInstance#disk_encryption}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#id NotebooksInstance#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getInstallGpuDriver
@Stability(Stable) @Nullable default Object getInstallGpuDriver()
Whether the end user authorizes Google Cloud to install GPU driver on this instance.If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#install_gpu_driver NotebooksInstance#install_gpu_driver}
-
getInstanceOwners
@Stability(Stable) @Nullable default List<String> getInstanceOwners()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#instance_owners NotebooksInstance#instance_owners}
-
getKmsKey
@Stability(Stable) @Nullable default String getKmsKey()
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}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#kms_key NotebooksInstance#kms_key}
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
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" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#labels NotebooksInstance#labels}
-
getMetadata
@Stability(Stable) @Nullable default Map<String,String> getMetadata()
Custom metadata to apply to this instance.An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#metadata NotebooksInstance#metadata}
-
getNetwork
@Stability(Stable) @Nullable default String getNetwork()
The name of the VPC that this instance is in. Format: projects/{project_id}/global/networks/{network_id}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#network NotebooksInstance#network}
-
getNicType
@Stability(Stable) @Nullable default String getNicType()
The type of vNIC driver. Possible values: ["UNSPECIFIED_NIC_TYPE", "VIRTIO_NET", "GVNIC"].Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#nic_type NotebooksInstance#nic_type}
-
getNoProxyAccess
@Stability(Stable) @Nullable default Object getNoProxyAccess()
The notebook instance will not register with the proxy..Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#no_proxy_access NotebooksInstance#no_proxy_access}
-
getNoPublicIp
@Stability(Stable) @Nullable default Object getNoPublicIp()
No public IP will be assigned to this instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#no_public_ip NotebooksInstance#no_public_ip}
-
getNoRemoveDataDisk
@Stability(Stable) @Nullable default Object getNoRemoveDataDisk()
If true, the data disk will not be auto deleted when deleting the instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#no_remove_data_disk NotebooksInstance#no_remove_data_disk}
-
getPostStartupScript
@Stability(Stable) @Nullable default String getPostStartupScript()
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). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#post_startup_script NotebooksInstance#post_startup_script}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#project NotebooksInstance#project}.
-
getReservationAffinity
@Stability(Stable) @Nullable default NotebooksInstanceReservationAffinity getReservationAffinity()
reservation_affinity block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#reservation_affinity NotebooksInstance#reservation_affinity}
-
getServiceAccount
@Stability(Stable) @Nullable default String getServiceAccount()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#service_account NotebooksInstance#service_account}
-
getServiceAccountScopes
@Stability(Stable) @Nullable default List<String> getServiceAccountScopes()
Optional.The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following scopes are defined: * https://www.googleapis.com/auth/cloud-platform * https://www.googleapis.com/auth/userinfo.email Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#service_account_scopes NotebooksInstance#service_account_scopes}
-
getShieldedInstanceConfig
@Stability(Stable) @Nullable default NotebooksInstanceShieldedInstanceConfig getShieldedInstanceConfig()
shielded_instance_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#shielded_instance_config NotebooksInstance#shielded_instance_config}
-
getSubnet
@Stability(Stable) @Nullable default String getSubnet()
The name of the subnet that this instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#subnet NotebooksInstance#subnet}
-
getTags
@Stability(Stable) @Nullable default List<String> getTags()
The Compute Engine tags to add to instance.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#tags NotebooksInstance#tags}
-
getTimeouts
@Stability(Stable) @Nullable default NotebooksInstanceTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#timeouts NotebooksInstance#timeouts}
-
getUpdateTime
@Stability(Stable) @Nullable default String getUpdateTime()
Instance update time.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#update_time NotebooksInstance#update_time}
-
getVmImage
@Stability(Stable) @Nullable default NotebooksInstanceVmImage getVmImage()
vm_image block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#vm_image NotebooksInstance#vm_image}
-
builder
@Stability(Stable) static NotebooksInstanceConfig.Builder builder()
- Returns:
- a
NotebooksInstanceConfig.BuilderofNotebooksInstanceConfig
-
-