GceSetup class

The definition of how to configure a VM instance outside of Resources and Identity.

Constructors

GceSetup({Input<List<AcceleratorConfigNotebooksV2>>? acceleratorConfigs, Input<BootDisk>? bootDisk, Input<ContainerImageNotebooksV2>? containerImage, Input<List<DataDisk>>? dataDisks, Input<bool>? disablePublicIp, Input<bool>? enableIpForwarding, Input<GPUDriverConfig>? gpuDriverConfig, Input<String>? machineType, Input<Map<String, String>>? metadata, Input<List<NetworkInterface>>? networkInterfaces, Input<List<ServiceAccount>>? serviceAccounts, Input<ShieldedInstanceConfigNotebooksV2>? shieldedInstanceConfig, Input<List<String>>? tags, Input<VmImageNotebooksV2>? vmImage})
Creates a new GceSetup. acceleratorConfigs 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. bootDisk Optional. The boot disk for the VM. containerImage Optional. Use a container image to start the notebook instance. dataDisks Optional. Data disks attached to the VM instance. Currently supports only one data disk. disablePublicIp Optional. If true, no external IP will be assigned to this VM instance. enableIpForwarding Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward gpuDriverConfig Optional. Configuration for GPU drivers. machineType Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource metadata Optional. Custom metadata to apply to this instance. networkInterfaces Optional. The network interfaces for the VM. Supports only one interface. serviceAccounts Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account. shieldedInstanceConfig Optional. Shielded VM configuration. Images using supported Shielded VM features. tags Optional. The Compute Engine tags to add to runtime (see Tagging instances). vmImage Optional. Use a Compute Engine VM image to start the notebook instance.
const
GceSetup.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorConfigs → Input<List<AcceleratorConfigNotebooksV2>>?
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.
final
bootDisk → Input<BootDisk>?
Optional. The boot disk for the VM.
final
containerImage → Input<ContainerImageNotebooksV2>?
Optional. Use a container image to start the notebook instance.
final
dataDisks → Input<List<DataDisk>>?
Optional. Data disks attached to the VM instance. Currently supports only one data disk.
final
disablePublicIp → Input<bool>?
Optional. If true, no external IP will be assigned to this VM instance.
final
enableIpForwarding → Input<bool>?
Optional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforward
final
gpuDriverConfig → Input<GPUDriverConfig>?
Optional. Configuration for GPU drivers.
final
hashCode → int
The hash code for this object.
no setterinherited
machineType → Input<String>?
Optional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resource
final
metadata → Input<Map<String, String>>?
Optional. Custom metadata to apply to this instance.
final
networkInterfaces → Input<List<NetworkInterface>>?
Optional. The network interfaces for the VM. Supports only one interface.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccounts → Input<List<ServiceAccount>>?
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
final
shieldedInstanceConfig → Input<ShieldedInstanceConfigNotebooksV2>?
Optional. Shielded VM configuration. Images using supported Shielded VM features.
final
tags → Input<List<String>>?
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
final
vmImage → Input<VmImageNotebooksV2>?
Optional. Use a Compute Engine VM image to start the notebook instance.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited