Class TpuNodeConfig.Jsii$Proxy

  • All Implemented Interfaces:
    TpuNodeConfig, com.hashicorp.cdktf.TerraformMetaArguments, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    TpuNodeConfig

    @Stability(Stable)
    @Internal
    public static final class TpuNodeConfig.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements TpuNodeConfig
    An implementation for TpuNodeConfig
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getAcceleratorType

        public final String getAcceleratorType()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getAcceleratorType in interface TpuNodeConfig
      • getName

        public final String getName()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getName in interface TpuNodeConfig
      • getTensorflowVersion

        public final String getTensorflowVersion()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getTensorflowVersion in interface TpuNodeConfig
      • getCidrBlock

        public final String getCidrBlock()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getCidrBlock in interface TpuNodeConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getDescription in interface TpuNodeConfig
      • getId

        public final String getId()
        Description copied from interface: TpuNodeConfig
        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.

        Specified by:
        getId in interface TpuNodeConfig
      • getLabels

        public final Map<String,​String> getLabels()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getLabels in interface TpuNodeConfig
      • getNetwork

        public final String getNetwork()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getNetwork in interface TpuNodeConfig
      • getProject

        public final String getProject()
        Description copied from interface: TpuNodeConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#project TpuNode#project}.
        Specified by:
        getProject in interface TpuNodeConfig
      • getSchedulingConfig

        public final TpuNodeSchedulingConfig getSchedulingConfig()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getSchedulingConfig in interface TpuNodeConfig
      • getTimeouts

        public final TpuNodeTimeouts getTimeouts()
        Description copied from interface: TpuNodeConfig
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/tpu_node#timeouts TpuNode#timeouts}

        Specified by:
        getTimeouts in interface TpuNodeConfig
      • getUseServiceNetworking

        public final Object getUseServiceNetworking()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getUseServiceNetworking in interface TpuNodeConfig
      • getZone

        public final String getZone()
        Description copied from interface: TpuNodeConfig
        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}

        Specified by:
        getZone in interface TpuNodeConfig
      • getConnection

        public final Object getConnection()
        Specified by:
        getConnection in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getCount

        public final Object getCount()
        Specified by:
        getCount in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getDependsOn

        public final List<com.hashicorp.cdktf.ITerraformDependable> getDependsOn()
        Specified by:
        getDependsOn in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getForEach

        public final com.hashicorp.cdktf.ITerraformIterator getForEach()
        Specified by:
        getForEach in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getLifecycle

        public final com.hashicorp.cdktf.TerraformResourceLifecycle getLifecycle()
        Specified by:
        getLifecycle in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvider

        public final com.hashicorp.cdktf.TerraformProvider getProvider()
        Specified by:
        getProvider in interface com.hashicorp.cdktf.TerraformMetaArguments
      • getProvisioners

        public final List<Object> getProvisioners()
        Specified by:
        getProvisioners in interface com.hashicorp.cdktf.TerraformMetaArguments
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object