GceSetupResponse class
The definition of how to configure a VM instance outside of Resources and Identity.
Constructors
-
GceSetupResponse({required Input<
List< acceleratorConfigs, required Input<AcceleratorConfigResponseNotebooksV2> >BootDiskResponse> bootDisk, required Input<ContainerImageResponseNotebooksV2> containerImage, required Input<List< dataDisks, required Input<DataDiskResponse> >bool> disablePublicIp, required Input<bool> enableIpForwarding, required Input<GPUDriverConfigResponse> gpuDriverConfig, required Input<String> machineType, required Input<Map< metadata, required Input<String, String> >List< networkInterfaces, required Input<NetworkInterfaceResponse> >List< serviceAccounts, required Input<ServiceAccountResponse> >ShieldedInstanceConfigResponseNotebooksV2> shieldedInstanceConfig, required Input<List< tags, required Input<String> >VmImageResponseNotebooksV2> vmImage}) -
Creates a new GceSetupResponse.
acceleratorConfigsOptional. The hardware accelerators used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support themachine_typeyou have selected. Currently supports only one accelerator configuration.bootDiskOptional. The boot disk for the VM.containerImageOptional. Use a container image to start the notebook instance.dataDisksOptional. Data disks attached to the VM instance. Currently supports only one data disk.disablePublicIpOptional. If true, no external IP will be assigned to this VM instance.enableIpForwardingOptional. Flag to enable ip forwarding or not, default false/off. https://cloud.google.com/vpc/docs/using-routes#canipforwardgpuDriverConfigOptional. Configuration for GPU drivers.machineTypeOptional. The machine type of the VM instance. https://cloud.google.com/compute/docs/machine-resourcemetadataOptional. Custom metadata to apply to this instance.networkInterfacesOptional. The network interfaces for the VM. Supports only one interface.serviceAccountsOptional. The service account that serves as an identity for the VM instance. Currently supports only one service account.shieldedInstanceConfigOptional. Shielded VM configuration. Images using supported Shielded VM features.tagsOptional. The Compute Engine tags to add to runtime (see Tagging instances).vmImageOptional. Use a Compute Engine VM image to start the notebook instance.const -
GceSetupResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
acceleratorConfigs
→ Input<
List< AcceleratorConfigResponseNotebooksV2> > -
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_typeyou have selected. Currently supports only one accelerator configuration.final -
bootDisk
→ Input<
BootDiskResponse> -
Optional. The boot disk for the VM.
final
-
containerImage
→ Input<
ContainerImageResponseNotebooksV2> -
Optional. Use a container image to start the notebook instance.
final
-
dataDisks
→ Input<
List< DataDiskResponse> > -
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<
GPUDriverConfigResponse> -
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< NetworkInterfaceResponse> > -
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< ServiceAccountResponse> > -
Optional. The service account that serves as an identity for the VM instance. Currently supports only one service account.
final
-
shieldedInstanceConfig
→ Input<
ShieldedInstanceConfigResponseNotebooksV2> -
Optional. Shielded VM configuration. Images using supported Shielded VM features.
final
-
Optional. The Compute Engine tags to add to runtime (see Tagging instances).
final
-
vmImage
→ Input<
VmImageResponseNotebooksV2> -
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