Node class
A TPU instance.
Constructors
-
Node({Input<
AcceleratorConfigTpuV2alpha1> ? acceleratorConfig, Input<String> ? acceleratorType, Input<bool> ? autocheckpointEnabled, Input<BootDiskConfig> ? bootDiskConfig, Input<String> ? cidrBlock, Input<List< ? dataDisks, Input<AttachedDiskTpuV2alpha1> >String> ? description, Input<NodeHealthTpuV2alpha1> ? health, Input<Map< ? labels, Input<String, String> >Map< ? metadata, Input<String, String> >NetworkConfigTpuV2alpha1> ? networkConfig, required Input<String> runtimeVersion, Input<SchedulingConfigTpuV2alpha1> ? schedulingConfig, Input<ServiceAccountTpuV2alpha1> ? serviceAccount, Input<ShieldedInstanceConfigTpuV2alpha1> ? shieldedInstanceConfig, Input<List< ? tags})String> > -
Creates a new Node.
acceleratorConfigThe AccleratorConfig for the TPU Node.acceleratorTypeThe type of hardware accelerators associated with this node.autocheckpointEnabledOptional. Whether Autocheckpoint is enabled.bootDiskConfigOptional. Boot disk configuration.cidrBlockThe 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.dataDisksThe additional data disks for the Node.descriptionThe user-supplied description of the TPU. Maximum of 512 characters.healthThe health status of the TPU node.labelsResource labels to represent user-provided metadata.metadataCustom metadata to apply to the TPU Node. Can set startup-script and shutdown-scriptnetworkConfigNetwork configurations for the TPU node.runtimeVersionThe runtime version running in the Node.schedulingConfigThe scheduling options for this node.serviceAccountThe 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.shieldedInstanceConfigShielded Instance options.tagsTags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.const -
Node.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
acceleratorConfig
→ Input<
AcceleratorConfigTpuV2alpha1> ? -
The AccleratorConfig for the TPU Node.
final
-
acceleratorType
→ Input<
String> ? -
The type of hardware accelerators associated with this node.
final
-
autocheckpointEnabled
→ Input<
bool> ? -
Optional. Whether Autocheckpoint is enabled.
final
-
bootDiskConfig
→ Input<
BootDiskConfig> ? -
Optional. Boot disk configuration.
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< ?AttachedDiskTpuV2alpha1> > -
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<
NodeHealthTpuV2alpha1> ? -
The health status of the TPU node.
final
-
labels
→ Input<
Map< ?String, String> > -
Resource labels to represent user-provided metadata.
final
-
metadata
→ Input<
Map< ?String, String> > -
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
final
-
networkConfig
→ Input<
NetworkConfigTpuV2alpha1> ? -
Network configurations for the TPU node.
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<
SchedulingConfigTpuV2alpha1> ? -
The scheduling options for this node.
final
-
serviceAccount
→ Input<
ServiceAccountTpuV2alpha1> ? -
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<
ShieldedInstanceConfigTpuV2alpha1> ? -
Shielded Instance options.
final
-
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