Class ComputeTargetPoolConfig.Jsii$Proxy

    • 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

      • getName

        public final String getName()
        Description copied from interface: ComputeTargetPoolConfig
        A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#name ComputeTargetPool#name}

        Specified by:
        getName in interface ComputeTargetPoolConfig
      • getBackupPool

        public final String getBackupPool()
        Description copied from interface: ComputeTargetPoolConfig
        URL to the backup target pool. Must also set failover_ratio.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#backup_pool ComputeTargetPool#backup_pool}

        Specified by:
        getBackupPool in interface ComputeTargetPoolConfig
      • getDescription

        public final String getDescription()
        Description copied from interface: ComputeTargetPoolConfig
        Textual description field.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#description ComputeTargetPool#description}

        Specified by:
        getDescription in interface ComputeTargetPoolConfig
      • getFailoverRatio

        public final Number getFailoverRatio()
        Description copied from interface: ComputeTargetPoolConfig
        Ratio (0 to 1) of failed nodes before using the backup pool (which must also be set).

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#failover_ratio ComputeTargetPool#failover_ratio}

        Specified by:
        getFailoverRatio in interface ComputeTargetPoolConfig
      • getHealthChecks

        public final List<String> getHealthChecks()
        Description copied from interface: ComputeTargetPoolConfig
        List of zero or one health check name or self_link. Only legacy google_compute_http_health_check is supported.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#health_checks ComputeTargetPool#health_checks}

        Specified by:
        getHealthChecks in interface ComputeTargetPoolConfig
      • getId

        public final String getId()
        Description copied from interface: ComputeTargetPoolConfig
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#id ComputeTargetPool#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 ComputeTargetPoolConfig
      • getInstances

        public final List<String> getInstances()
        Description copied from interface: ComputeTargetPoolConfig
        List of instances in the pool.

        They can be given as URLs, or in the form of "zone/name". Note that the instances need not exist at the time of target pool creation, so there is no need to use the Terraform interpolators to create a dependency on the instances from the target pool. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#instances ComputeTargetPool#instances}

        Specified by:
        getInstances in interface ComputeTargetPoolConfig
      • getProject

        public final String getProject()
        Description copied from interface: ComputeTargetPoolConfig
        The ID of the project in which the resource belongs.

        If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#project ComputeTargetPool#project}

        Specified by:
        getProject in interface ComputeTargetPoolConfig
      • getRegion

        public final String getRegion()
        Description copied from interface: ComputeTargetPoolConfig
        Where the target pool resides. Defaults to project region.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#region ComputeTargetPool#region}

        Specified by:
        getRegion in interface ComputeTargetPoolConfig
      • getSessionAffinity

        public final String getSessionAffinity()
        Description copied from interface: ComputeTargetPoolConfig
        How to distribute load.

        Options are "NONE" (no affinity). "CLIENT_IP" (hash of the source/dest addresses / ports), and "CLIENT_IP_PROTO" also includes the protocol (default "NONE"). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#session_affinity ComputeTargetPool#session_affinity}

        Specified by:
        getSessionAffinity in interface ComputeTargetPoolConfig
      • 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