Node constructor
- Input<
AcceleratorConfigTpuV2alpha1> ? acceleratorConfig, - Input<
String> ? acceleratorType, - Input<
bool> ? autocheckpointEnabled, - Input<
BootDiskConfig> ? bootDiskConfig, - Input<
String> ? cidrBlock, - Input<
List< ? dataDisks,AttachedDiskTpuV2alpha1> > - Input<
String> ? description, - Input<
NodeHealthTpuV2alpha1> ? health, - Input<
Map< ? labels,String, String> > - Input<
Map< ? metadata,String, String> > - Input<
NetworkConfigTpuV2alpha1> ? networkConfig, - required Input<
String> runtimeVersion, - Input<
SchedulingConfigTpuV2alpha1> ? schedulingConfig, - Input<
ServiceAccountTpuV2alpha1> ? serviceAccount, - Input<
ShieldedInstanceConfigTpuV2alpha1> ? shieldedInstanceConfig, - Input<
List< ? tags,String> >
Creates a new Node.
acceleratorConfig The AccleratorConfig for the TPU Node.
acceleratorType The type of hardware accelerators associated with this node.
autocheckpointEnabled Optional. Whether Autocheckpoint is enabled.
bootDiskConfig Optional. Boot disk configuration.
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.
dataDisks The additional data disks for the Node.
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.
metadata Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
networkConfig Network configurations for the TPU node.
runtimeVersion The runtime version running in the Node.
schedulingConfig The scheduling options for this node.
serviceAccount 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.
shieldedInstanceConfig Shielded Instance options.
tags Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
Implementation
const Node({
this.acceleratorConfig,
this.acceleratorType,
this.autocheckpointEnabled,
this.bootDiskConfig,
this.cidrBlock,
this.dataDisks,
this.description,
this.health,
this.labels,
this.metadata,
this.networkConfig,
required this.runtimeVersion,
this.schedulingConfig,
this.serviceAccount,
this.shieldedInstanceConfig,
this.tags,
});