NodeArgs

data class NodeArgs(val acceleratorConfig: Output<AcceleratorConfigArgs>? = null, val acceleratorType: Output<String>? = null, val cidrBlock: Output<String>? = null, val dataDisks: Output<List<AttachedDiskArgs>>? = null, val description: Output<String>? = null, val health: Output<NodeHealth>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val metadata: Output<Map<String, String>>? = null, val networkConfig: Output<NetworkConfigArgs>? = null, val nodeId: Output<String>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null, val runtimeVersion: Output<String>? = null, val schedulingConfig: Output<SchedulingConfigArgs>? = null, val serviceAccount: Output<ServiceAccountArgs>? = null, val shieldedInstanceConfig: Output<ShieldedInstanceConfigArgs>? = null, val tags: Output<List<String>>? = null) : ConvertibleToJava<NodeArgs>

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

Constructors

Link copied to clipboard
fun NodeArgs(acceleratorConfig: Output<AcceleratorConfigArgs>? = null, acceleratorType: Output<String>? = null, cidrBlock: Output<String>? = null, dataDisks: Output<List<AttachedDiskArgs>>? = null, description: Output<String>? = null, health: Output<NodeHealth>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, metadata: Output<Map<String, String>>? = null, networkConfig: Output<NetworkConfigArgs>? = null, nodeId: Output<String>? = null, project: Output<String>? = null, requestId: Output<String>? = null, runtimeVersion: Output<String>? = null, schedulingConfig: Output<SchedulingConfigArgs>? = null, serviceAccount: Output<ServiceAccountArgs>? = null, shieldedInstanceConfig: Output<ShieldedInstanceConfigArgs>? = null, tags: Output<List<String>>? = null)

Functions

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

Properties

Link copied to clipboard

The AccleratorConfig for the TPU Node.

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 dataDisks: Output<List<AttachedDiskArgs>>? = null

The additional data disks for the Node.

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 metadata: Output<Map<String, String>>? = null

Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script

Link copied to clipboard
val networkConfig: Output<NetworkConfigArgs>? = null

Network configurations for the TPU node.

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
val requestId: Output<String>? = null

Idempotent request UUID.

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

The runtime version running in the Node.

Link copied to clipboard

The scheduling options for this node.

Link copied to clipboard
val serviceAccount: Output<ServiceAccountArgs>? = null

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.

Link copied to clipboard

Shielded Instance options.

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

Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.