Interface ComputeTargetPoolConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,com.hashicorp.cdktf.TerraformMetaArguments
- All Known Implementing Classes:
ComputeTargetPoolConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:19.035Z") @Stability(Stable) public interface ComputeTargetPoolConfig extends software.amazon.jsii.JsiiSerializable, com.hashicorp.cdktf.TerraformMetaArguments
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeTargetPoolConfig.BuilderA builder forComputeTargetPoolConfigstatic classComputeTargetPoolConfig.Jsii$ProxyAn implementation forComputeTargetPoolConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ComputeTargetPoolConfig.Builderbuilder()default StringgetBackupPool()URL to the backup target pool.default StringgetDescription()Textual description field.default NumbergetFailoverRatio()Ratio (0 to 1) of failed nodes before using the backup pool (which must also be set).default List<String>getHealthChecks()List of zero or one health check name or self_link.default StringgetId()Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#id ComputeTargetPool#id}.default List<String>getInstances()List of instances in the pool.StringgetName()A unique name for the resource, required by GCE.default StringgetProject()The ID of the project in which the resource belongs.default StringgetRegion()Where the target pool resides.default StringgetSessionAffinity()How to distribute load.default ComputeTargetPoolTimeoutsgetTimeouts()timeouts block.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
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}
-
getBackupPool
@Stability(Stable) @Nullable default String getBackupPool()
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}
-
getDescription
@Stability(Stable) @Nullable default String getDescription()
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}
-
getFailoverRatio
@Stability(Stable) @Nullable default Number getFailoverRatio()
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}
-
getHealthChecks
@Stability(Stable) @Nullable default List<String> getHealthChecks()
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}
-
getId
@Stability(Stable) @Nullable default String getId()
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.
-
getInstances
@Stability(Stable) @Nullable default List<String> getInstances()
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}
-
getProject
@Stability(Stable) @Nullable default String getProject()
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}
-
getRegion
@Stability(Stable) @Nullable default String getRegion()
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}
-
getSessionAffinity
@Stability(Stable) @Nullable default String getSessionAffinity()
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}
-
getTimeouts
@Stability(Stable) @Nullable default ComputeTargetPoolTimeouts getTimeouts()
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_target_pool#timeouts ComputeTargetPool#timeouts}
-
builder
@Stability(Stable) static ComputeTargetPoolConfig.Builder builder()
- Returns:
- a
ComputeTargetPoolConfig.BuilderofComputeTargetPoolConfig
-
-