NodeArgs

data class NodeArgs(val acceleratorType: Output<String>? = null, val cidrBlock: Output<String>? = null, val description: Output<String>? = null, val health: Output<NodeHealth>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val network: Output<String>? = null, val nodeId: Output<String>? = null, val project: Output<String>? = null, val schedulingConfig: Output<SchedulingConfigArgs>? = null, val tensorflowVersion: Output<String>? = null, val useServiceNetworking: Output<Boolean>? = null) : ConvertibleToJava<NodeArgs>

Creates a node. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun NodeArgs(acceleratorType: Output<String>? = null, cidrBlock: Output<String>? = null, description: Output<String>? = null, health: Output<NodeHealth>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, network: Output<String>? = null, nodeId: Output<String>? = null, project: Output<String>? = null, schedulingConfig: Output<SchedulingConfigArgs>? = null, tensorflowVersion: Output<String>? = null, useServiceNetworking: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): NodeArgs

Properties

Link copied to clipboard
val acceleratorType: Output<String>? = null

The type of hardware accelerators associated with this node.

Link copied to clipboard
val cidrBlock: Output<String>? = null

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.

Link copied to clipboard
val description: Output<String>? = null

The user-supplied description of the TPU. Maximum of 512 characters.

Link copied to clipboard
val health: Output<NodeHealth>? = null

The health status of the TPU node.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Resource labels to represent user-provided metadata.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val network: Output<String>? = null

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.

Link copied to clipboard
val nodeId: Output<String>? = null

The unqualified resource name.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

The scheduling options for this node.

Link copied to clipboard
val tensorflowVersion: Output<String>? = null

The version of Tensorflow running in the Node.

Link copied to clipboard
val useServiceNetworking: Output<Boolean>? = null

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.