NodeArgs constructor

const NodeArgs({
  1. required Input<String> acceleratorType,
  2. Input<String>? cidrBlock,
  3. Input<String>? description,
  4. Input<NodeHealth>? health,
  5. Input<Map<String, String>>? labels,
  6. Input<String>? location,
  7. Input<String>? network,
  8. Input<String>? nodeId,
  9. Input<String>? project,
  10. Input<SchedulingConfig>? schedulingConfig,
  11. required Input<String> tensorflowVersion,
  12. 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.

Implementation

const NodeArgs({
  required this.acceleratorType,
  this.cidrBlock,
  this.description,
  this.health,
  this.labels,
  this.location,
  this.network,
  this.nodeId,
  this.project,
  this.schedulingConfig,
  required this.tensorflowVersion,
  this.useServiceNetworking,
});