NodeTpuV2Args class

The set of arguments for Node. The set of arguments for Node.

Constructors

NodeTpuV2Args({Input<AcceleratorConfig>? acceleratorConfig, Input<String>? acceleratorType, Input<String>? cidrBlock, Input<List<AttachedDisk>>? dataDisks, Input<String>? description, Input<NodeHealthTpuV2>? health, Input<Map<String, String>>? labels, Input<String>? location, Input<Map<String, String>>? metadata, Input<NetworkConfig>? networkConfig, Input<String>? nodeId, Input<String>? project, required Input<String> runtimeVersion, Input<SchedulingConfigTpuV2>? schedulingConfig, Input<ServiceAccount>? serviceAccount, Input<ShieldedInstanceConfig>? shieldedInstanceConfig, Input<List<String>>? tags})
Creates a new NodeTpuV2Args. acceleratorConfig The AccleratorConfig for the TPU Node. acceleratorType Optional. The type of hardware accelerators associated with this node. cidrBlock 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. dataDisks The additional data disks for the Node. description The user-supplied description of the TPU. Maximum of 512 characters. health The health status of the TPU node. labels Resource labels to represent user-provided metadata. location Optional. metadata Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script networkConfig Network configurations for the TPU node. nodeId The unqualified resource name. project Optional. runtimeVersion The runtime version running in the Node. 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 specified, the default compute service account will be used. shieldedInstanceConfig Shielded Instance options. tags Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
const
NodeTpuV2Args.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorConfig → Input<AcceleratorConfig>?
The AccleratorConfig for the TPU Node.
final
acceleratorType → Input<String>?
Optional. The type of hardware accelerators associated with this node.
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<AttachedDisk>>?
The additional data disks for the Node.
final
description → Input<String>?
The user-supplied description of the TPU. Maximum of 512 characters.
final
hashCode → int
The hash code for this object.
no setterinherited
health → Input<NodeHealthTpuV2>?
The health status of the TPU node.
final
labels → Input<Map<String, String>>?
Resource labels to represent user-provided metadata.
final
location → Input<String>?
final
metadata → Input<Map<String, String>>?
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
final
networkConfig → Input<NetworkConfig>?
Network configurations for the TPU node.
final
nodeId → Input<String>?
The unqualified resource name.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runtimeVersion → Input<String>
The runtime version running in the Node.
final
schedulingConfig → Input<SchedulingConfigTpuV2>?
The scheduling options for this node.
final
serviceAccount → Input<ServiceAccount>?
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.
final
shieldedInstanceConfig → Input<ShieldedInstanceConfig>?
Shielded Instance options.
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

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