Node class

A TPU instance.

Constructors

Node({Input<AcceleratorConfigTpuV2alpha1>? acceleratorConfig, Input<String>? acceleratorType, Input<bool>? autocheckpointEnabled, Input<BootDiskConfig>? bootDiskConfig, Input<String>? cidrBlock, Input<List<AttachedDiskTpuV2alpha1>>? dataDisks, Input<String>? description, Input<NodeHealthTpuV2alpha1>? health, Input<Map<String, String>>? labels, Input<Map<String, String>>? metadata, Input<NetworkConfigTpuV2alpha1>? networkConfig, required Input<String> runtimeVersion, Input<SchedulingConfigTpuV2alpha1>? schedulingConfig, Input<ServiceAccountTpuV2alpha1>? serviceAccount, Input<ShieldedInstanceConfigTpuV2alpha1>? shieldedInstanceConfig, Input<List<String>>? tags})
Creates a new Node. acceleratorConfig The AccleratorConfig for the TPU Node. acceleratorType The type of hardware accelerators associated with this node. autocheckpointEnabled Optional. Whether Autocheckpoint is enabled. bootDiskConfig Optional. Boot disk configuration. 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. metadata Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script networkConfig Network configurations for the TPU node. 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
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 → 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