Interface TpuNodeConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
TpuNodeConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:22.920Z") @Stability(Stable) public interface TpuNodeConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTpuNodeConfig.BuilderA builder forTpuNodeConfigstatic classTpuNodeConfig.Jsii$ProxyAn implementation forTpuNodeConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static TpuNodeConfig.Builderbuilder()StringgetAcceleratorType()The type of hardware accelerators associated with this node.default StringgetCidrBlock()The CIDR block that the TPU node will use when selecting an IP address.default StringgetDescription()The user-supplied description of the TPU.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#id TpuNode#id}.default Map<String,String>getLabels()Resource labels to represent user provided metadata.StringgetName()The immutable name of the TPU.default StringgetNetwork()The name of a network to peer the TPU node to.default StringgetProject()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#project TpuNode#project}.default TpuNodeSchedulingConfiggetSchedulingConfig()scheduling_config block.StringgetTensorflowVersion()The version of Tensorflow running in the Node.default TpuNodeTimeoutsgetTimeouts()timeouts block.default ObjectgetUseServiceNetworking()Whether the VPC peering for the node is set up through Service Networking API.default StringgetZone()The GCP location for the TPU.
-
-
-
Method Detail
-
getAcceleratorType
@Stability(Stable) @NotNull String getAcceleratorType()
The type of hardware accelerators associated with this node.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#accelerator_type TpuNode#accelerator_type}
-
getName
@Stability(Stable) @NotNull String getName()
The immutable name of the TPU.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#name TpuNode#name}
-
getTensorflowVersion
@Stability(Stable) @NotNull String getTensorflowVersion()
The version of Tensorflow running in the Node.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#tensorflow_version TpuNode#tensorflow_version}
-
getCidrBlock
@Stability(Stable) @Nullable default String getCidrBlock()
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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#cidr_block TpuNode#cidr_block}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
The user-supplied description of the TPU. Maximum of 512 characters.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#description TpuNode#description}
-
getId
@Stability(Stable) @Nullable default String getId()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#id TpuNode#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
-
getLabels
@Stability(Stable) @Nullable default Map<String,String> getLabels()
Resource labels to represent user provided metadata.**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#labels TpuNode#labels}
-
getNetwork
@Stability(Stable) @Nullable default String getNetwork()
The name of a network 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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#network TpuNode#network}
-
getProject
@Stability(Stable) @Nullable default String getProject()
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#project TpuNode#project}.
-
getSchedulingConfig
@Stability(Stable) @Nullable default TpuNodeSchedulingConfig getSchedulingConfig()
scheduling_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#scheduling_config TpuNode#scheduling_config}
-
getTimeouts
@Stability(Stable) @Nullable default TpuNodeTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#timeouts TpuNode#timeouts}
-
getUseServiceNetworking
@Stability(Stable) @Nullable default Object getUseServiceNetworking()
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 a Shared VPC network, the node must be created with this this field enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#use_service_networking TpuNode#use_service_networking}
-
getZone
@Stability(Stable) @Nullable default String getZone()
The GCP location for the TPU. If it is not provided, the provider zone is used.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#zone TpuNode#zone}
-
builder
@Stability(Stable) static TpuNodeConfig.Builder builder()
- Returns:
- a
TpuNodeConfig.BuilderofTpuNodeConfig
-
-