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< ? dataDisks, Input<V2VmDataDisk> ?>String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? labels, Input<String, String> ?>Map< ? metadata, Input<String, String> ?>String?> ? name, Input<V2VmNetworkConfig?> ? networkConfig, Input<List< ? networkConfigs, Input<V2VmNetworkConfig> ?>String?> ? project, required Input<String> runtimeVersion, Input<V2VmSchedulingConfig?> ? schedulingConfig, Input<V2VmServiceAccount?> ? serviceAccount, Input<V2VmShieldedInstanceConfig?> ? shieldedInstanceConfig, Input<List< ? tags, Input<String> ?>String?> ? zone}) -
Creates a new V2VmArgs.
acceleratorConfigThe AccleratorConfig for the TPU Node.acceleratorConfigcannot be used at the same timeacceleratorTypeTPU accelerator type for the TPU.acceleratorTypecannot be used at the same time ascidrBlockThe CIDR block that the TPU node will use when selecting an IP address. This CIDR block mustdataDisksThe additional data disks for the Node.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionText description of the TPU.labelsResource labels to represent user-provided metadata.metadataCustom metadata to apply to the TPU Node. Can set startup-script and shutdown-script.nameThe immutable name of the TPU.networkConfigNetwork configurations for the TPU node.networkConfigsRepeated network configurations for the TPU node. This field is used to specify multipleprojectThe ID of the project in which the resource belongs.runtimeVersionRuntime version for the TPU.schedulingConfigThe scheduling options for this node.serviceAccountThe Google Cloud Platform Service Account to be used by the TPU node VMs. If None isshieldedInstanceConfigShielded Instance options.tagsTags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.zoneThe 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.
acceleratorConfigcannot be used at the same time asacceleratorType. If neither is specified,acceleratorTypedefaults to 'v2-8'. Structure is documented below.final -
acceleratorType
→ Input<
String?> ? -
TPU accelerator type for the TPU.
acceleratorTypecannot be used at the same time asacceleratorConfig. If neither is specified,acceleratorTypedefaults 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
effectiveLabelsfor 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 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