V2VmArgs class

The set of arguments for V2Vm. The set of arguments for V2Vm.

Constructors

V2VmArgs({Input<V2VmAcceleratorConfig?>? acceleratorConfig, Input<String?>? acceleratorType, Input<String?>? cidrBlock, Input<List<V2VmDataDisk>?>? dataDisks, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? labels, Input<Map<String, String>?>? metadata, Input<String?>? name, Input<V2VmNetworkConfig?>? networkConfig, Input<List<V2VmNetworkConfig>?>? networkConfigs, Input<String?>? project, required Input<String> runtimeVersion, Input<V2VmSchedulingConfig?>? schedulingConfig, Input<V2VmServiceAccount?>? serviceAccount, Input<V2VmShieldedInstanceConfig?>? shieldedInstanceConfig, Input<List<String>?>? tags, Input<String?>? zone})
Creates a new V2VmArgs. acceleratorConfig The AccleratorConfig for the TPU Node. acceleratorConfig cannot be used at the same time acceleratorType TPU accelerator type for the TPU. acceleratorType cannot be used at the same time as cidrBlock The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must dataDisks The additional data disks for the Node. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Text description of the TPU. labels Resource labels to represent user-provided metadata. metadata Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script. name The immutable name of the TPU. networkConfig Network configurations for the TPU node. networkConfigs Repeated network configurations for the TPU node. This field is used to specify multiple project The ID of the project in which the resource belongs. runtimeVersion Runtime version for the TPU. schedulingConfig The scheduling options for this node. serviceAccount The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is shieldedInstanceConfig Shielded Instance options. tags Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls. zone The GCP location for the TPU. If it is not provided, the provider zone is used.
const
V2VmArgs.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorConfig → Input<V2VmAcceleratorConfig?>?
The AccleratorConfig for the TPU Node. acceleratorConfig cannot be used at the same time as acceleratorType. If neither is specified, acceleratorType defaults to 'v2-8'. Structure is documented below.
final
acceleratorType → Input<String?>?
TPU accelerator type for the TPU. acceleratorType cannot be used at the same time as acceleratorConfig. If neither is specified, acceleratorType defaults to 'v2-8'.
final
cidrBlock → Input<String?>?
The CIDR block that the TPU node will use when selecting an IP address. This CIDR block must be a /29 block; the Compute Engine networks API forbids a smaller block, and using a larger block would be wasteful (a node can only consume one IP address). Errors will occur if the CIDR block has already been used for a currently existing TPU node, the CIDR block conflicts with any subnetworks in the user's provided network, or the provided network is peered with another network that is using that CIDR block.
final
dataDisks → Input<List<V2VmDataDisk>?>?
The additional data disks for the Node. Structure is documented below.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
Text description of the TPU.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Resource labels to represent user-provided metadata. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
metadata → Input<Map<String, String>?>?
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script.
final
name → Input<String?>?
The immutable name of the TPU.
final
networkConfig → Input<V2VmNetworkConfig?>?
Network configurations for the TPU node. Structure is documented below.
final
networkConfigs → Input<List<V2VmNetworkConfig>?>?
Repeated network configurations for the TPU node. This field is used to specify multiple network configs for the TPU node. Structure is documented below.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runtimeVersion → Input<String>
Runtime version for the TPU.
final
schedulingConfig → Input<V2VmSchedulingConfig?>?
The scheduling options for this node. Structure is documented below.
final
serviceAccount → Input<V2VmServiceAccount?>?
The Google Cloud Platform Service Account to be used by the TPU node VMs. If None is specified, the default compute service account will be used. Structure is documented below.
final
shieldedInstanceConfig → Input<V2VmShieldedInstanceConfig?>?
Shielded Instance options. Structure is documented below.
final
tags → Input<List<String>?>?
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
final
zone → Input<String?>?
The GCP location for the TPU. If it is not provided, the provider zone is used.
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