NodeResponse class

A TPU instance.

Constructors

NodeResponse({required Input<AcceleratorConfigResponseTpuV2alpha1> acceleratorConfig, required Input<String> acceleratorType, required Input<String> apiVersion, required Input<bool> autocheckpointEnabled, required Input<BootDiskConfigResponse> bootDiskConfig, required Input<String> cidrBlock, required Input<String> createTime, required Input<List<AttachedDiskResponseTpuV2alpha1>> dataDisks, required Input<String> description, required Input<String> health, required Input<String> healthDescription, required Input<Map<String, String>> labels, required Input<Map<String, String>> metadata, required Input<bool> multisliceNode, required Input<String> name, required Input<NetworkConfigResponseTpuV2alpha1> networkConfig, required Input<List<NetworkEndpointResponseTpuV2alpha1>> networkEndpoints, required Input<String> queuedResource, required Input<String> runtimeVersion, required Input<SchedulingConfigResponseTpuV2alpha1> schedulingConfig, required Input<ServiceAccountResponseTpuV2alpha1> serviceAccount, required Input<ShieldedInstanceConfigResponseTpuV2alpha1> shieldedInstanceConfig, required Input<String> state, required Input<List<SymptomResponseTpuV2alpha1>> symptoms, required Input<List<String>> tags})
Creates a new NodeResponse. acceleratorConfig The AccleratorConfig for the TPU Node. acceleratorType The type of hardware accelerators associated with this node. apiVersion The API version that created 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. createTime The time when the node was created. 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. healthDescription If this field is populated, it contains a description of why the TPU Node is unhealthy. labels Resource labels to represent user-provided metadata. metadata Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script multisliceNode Whether the Node belongs to a Multislice group. name Immutable. The name of the TPU. networkConfig Network configurations for the TPU node. networkEndpoints The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first. queuedResource The qualified name of the QueuedResource that requested this 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. state The current state for the TPU Node. symptoms The Symptoms that have occurred to the TPU Node. tags Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
const
NodeResponse.fromMap(Map<String, dynamic> map)
factory

Properties

acceleratorConfig → Input<AcceleratorConfigResponseTpuV2alpha1>
The AccleratorConfig for the TPU Node.
final
acceleratorType → Input<String>
The type of hardware accelerators associated with this node.
final
apiVersion → Input<String>
The API version that created this Node.
final
autocheckpointEnabled → Input<bool>
Optional. Whether Autocheckpoint is enabled.
final
bootDiskConfig → Input<BootDiskConfigResponse>
Optional. Boot disk configuration.
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
createTime → Input<String>
The time when the node was created.
final
dataDisks → Input<List<AttachedDiskResponseTpuV2alpha1>>
The additional data disks for the Node.
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<String>
The health status of the TPU node.
final
healthDescription → Input<String>
If this field is populated, it contains a description of why the TPU Node is unhealthy.
final
labels → Input<Map<String, String>>
Resource labels to represent user-provided metadata.
final
metadata → Input<Map<String, String>>
Custom metadata to apply to the TPU Node. Can set startup-script and shutdown-script
final
multisliceNode → Input<bool>
Whether the Node belongs to a Multislice group.
final
name → Input<String>
Immutable. The name of the TPU.
final
networkConfig → Input<NetworkConfigResponseTpuV2alpha1>
Network configurations for the TPU node.
final
networkEndpoints → Input<List<NetworkEndpointResponseTpuV2alpha1>>
The network endpoints where TPU workers can be accessed and sent work. It is recommended that runtime clients of the node reach out to the 0th entry in this map first.
final
queuedResource → Input<String>
The qualified name of the QueuedResource that requested this Node.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runtimeVersion → Input<String>
The runtime version running in the Node.
final
schedulingConfig → Input<SchedulingConfigResponseTpuV2alpha1>
The scheduling options for this node.
final
serviceAccount → Input<ServiceAccountResponseTpuV2alpha1>
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.
final
shieldedInstanceConfig → Input<ShieldedInstanceConfigResponseTpuV2alpha1>
Shielded Instance options.
final
state → Input<String>
The current state for the TPU Node.
final
symptoms → Input<List<SymptomResponseTpuV2alpha1>>
The Symptoms that have occurred to the TPU Node.
final
tags → Input<List<String>>
Tags to apply to the TPU Node. Tags are used to identify valid sources or targets for network firewalls.
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