InstanceArgs constructor
- Input<
InstanceAcceleratorConfig?> ? acceleratorConfig, - Input<
int?> ? bootDiskSizeGb, - Input<
String?> ? bootDiskType, - Input<
InstanceContainerImage?> ? containerImage, - Input<
String?> ? createTime, - Input<
String?> ? customGpuDriverPath, - Input<
int?> ? dataDiskSizeGb, - Input<
String?> ? dataDiskType, - Input<
String?> ? deletionPolicy, - Input<
String?> ? desiredState, - Input<
String?> ? diskEncryption, - Input<
bool?> ? installGpuDriver, - Input<
List< ? instanceOwners,String> ?> - Input<
String?> ? kmsKey, - Input<
Map< ? labels,String, String> ?> - required Input<
String> location, - required Input<
String> machineType, - Input<
Map< ? metadata,String, String> ?> - Input<
String?> ? name, - Input<
String?> ? network, - Input<
String?> ? nicType, - Input<
bool?> ? noProxyAccess, - Input<
bool?> ? noPublicIp, - Input<
bool?> ? noRemoveDataDisk, - Input<
String?> ? postStartupScript, - Input<
String?> ? project, - Input<
InstanceReservationAffinity?> ? reservationAffinity, - Input<
String?> ? serviceAccount, - Input<
List< ? serviceAccountScopes,String> ?> - Input<
InstanceShieldedInstanceConfig?> ? shieldedInstanceConfig, - Input<
String?> ? subnet, - Input<
List< ? tags,String> ?> - Input<
String?> ? updateTime, - Input<
InstanceVmImage?> ? vmImage,
Creates a new InstanceArgs.
acceleratorConfig The hardware accelerator used on this instance. If you use accelerators,
bootDiskSizeGb The size of the boot disk in GB attached to this instance,
bootDiskType Possible disk types for notebook instances.
containerImage Use a container image to start the notebook instance.
createTime Instance creation time
customGpuDriverPath Specify a custom Cloud Storage path where the GPU driver is stored.
dataDiskSizeGb The size of the data disk in GB attached to this instance,
dataDiskType Possible disk types for notebook instances.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
desiredState Desired state of the Notebook Instance. Set this field to ACTIVE to start the Instance, and STOPPED to stop the Instance.
diskEncryption Disk encryption method used on the boot and data disks, defaults to GMEK.
installGpuDriver Whether the end user authorizes Google Cloud to install GPU driver
instanceOwners The list of owners of this instance after creation.
kmsKey The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK.
labels Labels to apply to this instance. These can be later modified by the setLabels method.
location A reference to the zone where the machine resides.
machineType A reference to a machine type which defines VM kind.
metadata Custom metadata to apply to this instance.
name The name specified for the Notebook instance.
network The name of the VPC that this instance is in.
nicType The type of vNIC driver.
noProxyAccess The notebook instance will not register with the proxy..
noPublicIp No public IP will be assigned to this instance.
noRemoveDataDisk If true, the data disk will not be auto deleted when deleting the instance.
postStartupScript Path to a Bash script that automatically runs after a
project The ID of the project in which the resource belongs.
reservationAffinity Reservation Affinity for consuming Zonal reservation.
serviceAccount The service account on this instance, giving access to other
serviceAccountScopes Optional. The URIs of service account scopes to be included in Compute Engine instances.
shieldedInstanceConfig A set of Shielded Instance options. Check Images using supported Shielded VM features
subnet The name of the subnet that this instance is in.
tags The Compute Engine tags to add to instance.
updateTime Instance update time.
vmImage Use a Compute Engine VM image to start the notebook instance.
Implementation
const InstanceArgs({
this.acceleratorConfig,
this.bootDiskSizeGb,
this.bootDiskType,
this.containerImage,
this.createTime,
this.customGpuDriverPath,
this.dataDiskSizeGb,
this.dataDiskType,
this.deletionPolicy,
this.desiredState,
this.diskEncryption,
this.installGpuDriver,
this.instanceOwners,
this.kmsKey,
this.labels,
required this.location,
required this.machineType,
this.metadata,
this.name,
this.network,
this.nicType,
this.noProxyAccess,
this.noPublicIp,
this.noRemoveDataDisk,
this.postStartupScript,
this.project,
this.reservationAffinity,
this.serviceAccount,
this.serviceAccountScopes,
this.shieldedInstanceConfig,
this.subnet,
this.tags,
this.updateTime,
this.vmImage,
});