NodeResponse constructor

const NodeResponse({
  1. required Input<AcceleratorConfigResponseTpuV2alpha1> acceleratorConfig,
  2. required Input<String> acceleratorType,
  3. required Input<String> apiVersion,
  4. required Input<bool> autocheckpointEnabled,
  5. required Input<BootDiskConfigResponse> bootDiskConfig,
  6. required Input<String> cidrBlock,
  7. required Input<String> createTime,
  8. required Input<List<AttachedDiskResponseTpuV2alpha1>> dataDisks,
  9. required Input<String> description,
  10. required Input<String> health,
  11. required Input<String> healthDescription,
  12. required Input<Map<String, String>> labels,
  13. required Input<Map<String, String>> metadata,
  14. required Input<bool> multisliceNode,
  15. required Input<String> name,
  16. required Input<NetworkConfigResponseTpuV2alpha1> networkConfig,
  17. required Input<List<NetworkEndpointResponseTpuV2alpha1>> networkEndpoints,
  18. required Input<String> queuedResource,
  19. required Input<String> runtimeVersion,
  20. required Input<SchedulingConfigResponseTpuV2alpha1> schedulingConfig,
  21. required Input<ServiceAccountResponseTpuV2alpha1> serviceAccount,
  22. required Input<ShieldedInstanceConfigResponseTpuV2alpha1> shieldedInstanceConfig,
  23. required Input<String> state,
  24. required Input<List<SymptomResponseTpuV2alpha1>> symptoms,
  25. 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.

Implementation

const NodeResponse({
  required this.acceleratorConfig,
  required this.acceleratorType,
  required this.apiVersion,
  required this.autocheckpointEnabled,
  required this.bootDiskConfig,
  required this.cidrBlock,
  required this.createTime,
  required this.dataDisks,
  required this.description,
  required this.health,
  required this.healthDescription,
  required this.labels,
  required this.metadata,
  required this.multisliceNode,
  required this.name,
  required this.networkConfig,
  required this.networkEndpoints,
  required this.queuedResource,
  required this.runtimeVersion,
  required this.schedulingConfig,
  required this.serviceAccount,
  required this.shieldedInstanceConfig,
  required this.state,
  required this.symptoms,
  required this.tags,
});