NodeArgs class
The set of arguments for Node. The set of arguments for Node.
Constructors
-
NodeArgs({required Input<
String> acceleratorType, Input<String> ? cidrBlock, Input<String> ? description, Input<NodeHealth> ? health, Input<Map< ? labels, Input<String, String> >String> ? location, Input<String> ? network, Input<String> ? nodeId, Input<String> ? project, Input<SchedulingConfig> ? schedulingConfig, required Input<String> tensorflowVersion, Input<bool> ? useServiceNetworking}) -
Creates a new NodeArgs.
acceleratorTypeThe type of hardware accelerators associated with this node.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.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.locationOptional.networkThe name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.nodeIdThe unqualified resource name.projectOptional.schedulingConfigThe scheduling options for this node.tensorflowVersionThe version of Tensorflow running in the Node.useServiceNetworkingWhether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.const -
NodeArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
acceleratorType
→ Input<
String> -
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
-
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<
NodeHealth> ? -
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
-
network
→ Input<
String> ? -
The name of a network they wish to peer the TPU node to. It must be a preexisting Compute Engine network inside of the project on which this API has been activated. If none is provided, "default" will be used.
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
-
schedulingConfig
→ Input<
SchedulingConfig> ? -
The scheduling options for this node.
final
-
tensorflowVersion
→ Input<
String> -
The version of Tensorflow running in the Node.
final
-
useServiceNetworking
→ Input<
bool> ? -
Whether the VPC peering for the node is set up through Service Networking API. The VPC Peering should be set up before provisioning the node. If this field is set, cidr_block field should not be specified. If the network, that you want to peer the TPU Node to, is Shared VPC networks, the node must be created with this this field enabled.
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