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<String, String>>? labels, Input<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. acceleratorType 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. 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. network 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. nodeId The unqualified resource name. project Optional. schedulingConfig The scheduling options for this node. tensorflowVersion The version of Tensorflow running in the Node. useServiceNetworking 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.
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