Class ComputeRegionBackendServiceBackend.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_region_backend_service.ComputeRegionBackendServiceBackend.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRegionBackendServiceBackend,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRegionBackendServiceBackend
@Stability(Stable) @Internal public static final class ComputeRegionBackendServiceBackend.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRegionBackendServiceBackend
An implementation forComputeRegionBackendServiceBackend
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_region_backend_service.ComputeRegionBackendServiceBackend
ComputeRegionBackendServiceBackend.Builder, ComputeRegionBackendServiceBackend.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRegionBackendServiceBackend.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRegionBackendServiceBackend.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetBalancingMode()Specifies the balancing mode for this backend.NumbergetCapacityScaler()A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION).StringgetDescription()An optional description of this resource.ObjectgetFailover()This field designates whether this is a failover backend.StringgetGroup()The fully-qualified URL of an Instance Group or Network Endpoint Group resource.NumbergetMaxConnections()The max number of simultaneous connections for the group.NumbergetMaxConnectionsPerEndpoint()The max number of simultaneous connections that a single backend network endpoint can handle.NumbergetMaxConnectionsPerInstance()The max number of simultaneous connections that a single backend instance can handle.NumbergetMaxRate()The max requests per second (RPS) of the group.NumbergetMaxRatePerEndpoint()The max requests per second (RPS) that a single backend network endpoint can handle.NumbergetMaxRatePerInstance()The max requests per second (RPS) that a single backend instance can handle.NumbergetMaxUtilization()Used when balancingMode is UTILIZATION.inthashCode()
-
-
-
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.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeRegionBackendServiceBackend.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRegionBackendServiceBackend.Builder.
-
-
Method Detail
-
getGroup
public final String getGroup()
Description copied from interface:ComputeRegionBackendServiceBackendThe fully-qualified URL of an Instance Group or Network Endpoint Group resource.In case of instance group this defines the list of instances that serve traffic. Member virtual machine instances from each instance group must live in the same zone as the instance group itself. No two backends in a backend service are allowed to use same Instance Group resource. For Network Endpoint Groups this defines list of endpoints. All endpoints of Network Endpoint Group must be hosted on instances located in the same zone as the Network Endpoint Group. Backend services cannot mix Instance Group and Network Endpoint Group backends. When the 'load_balancing_scheme' is INTERNAL, only instance groups are supported. Note that you must specify an Instance Group or Network Endpoint Group resource using the fully-qualified URL, rather than a partial URL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#group ComputeRegionBackendService#group}
- Specified by:
getGroupin interfaceComputeRegionBackendServiceBackend
-
getBalancingMode
public final String getBalancingMode()
Description copied from interface:ComputeRegionBackendServiceBackendSpecifies the balancing mode for this backend.See the [Backend Services Overview](https://cloud.google.com/load-balancing/docs/backend-service#balancing-mode) for an explanation of load balancing modes. From version 6.0.0 default value will be UTILIZATION to match default GCP value. Default value: "CONNECTION" Possible values: ["UTILIZATION", "RATE", "CONNECTION"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#balancing_mode ComputeRegionBackendService#balancing_mode}
- Specified by:
getBalancingModein interfaceComputeRegionBackendServiceBackend
-
getCapacityScaler
public final Number getCapacityScaler()
Description copied from interface:ComputeRegionBackendServiceBackendA multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION).~>**NOTE**: This field cannot be set for INTERNAL region backend services (default loadBalancingScheme), but is required for non-INTERNAL backend service. The total capacity_scaler for all backends must be non-zero. A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#capacity_scaler ComputeRegionBackendService#capacity_scaler}
- Specified by:
getCapacityScalerin interfaceComputeRegionBackendServiceBackend
-
getDescription
public final String getDescription()
Description copied from interface:ComputeRegionBackendServiceBackendAn optional description of this resource. Provide this property when you create the resource.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#description ComputeRegionBackendService#description}
- Specified by:
getDescriptionin interfaceComputeRegionBackendServiceBackend
-
getFailover
public final Object getFailover()
Description copied from interface:ComputeRegionBackendServiceBackendThis field designates whether this is a failover backend.More than one failover backend can be configured for a given RegionBackendService. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#failover ComputeRegionBackendService#failover}
- Specified by:
getFailoverin interfaceComputeRegionBackendServiceBackend
-
getMaxConnections
public final Number getMaxConnections()
Description copied from interface:ComputeRegionBackendServiceBackendThe max number of simultaneous connections for the group.Can be used with either CONNECTION or UTILIZATION balancing modes. Cannot be set for INTERNAL backend services. For CONNECTION mode, either maxConnections or one of maxConnectionsPerInstance or maxConnectionsPerEndpoint, as appropriate for group type, must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_connections ComputeRegionBackendService#max_connections}
- Specified by:
getMaxConnectionsin interfaceComputeRegionBackendServiceBackend
-
getMaxConnectionsPerEndpoint
public final Number getMaxConnectionsPerEndpoint()
Description copied from interface:ComputeRegionBackendServiceBackendThe max number of simultaneous connections that a single backend network endpoint can handle. Cannot be set for INTERNAL backend services.This is used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerEndpoint must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_connections_per_endpoint ComputeRegionBackendService#max_connections_per_endpoint}
- Specified by:
getMaxConnectionsPerEndpointin interfaceComputeRegionBackendServiceBackend
-
getMaxConnectionsPerInstance
public final Number getMaxConnectionsPerInstance()
Description copied from interface:ComputeRegionBackendServiceBackendThe max number of simultaneous connections that a single backend instance can handle. Cannot be set for INTERNAL backend services.This is used to calculate the capacity of the group. Can be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or maxConnectionsPerInstance must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_connections_per_instance ComputeRegionBackendService#max_connections_per_instance}
- Specified by:
getMaxConnectionsPerInstancein interfaceComputeRegionBackendServiceBackend
-
getMaxRate
public final Number getMaxRate()
Description copied from interface:ComputeRegionBackendServiceBackendThe max requests per second (RPS) of the group. Cannot be set for INTERNAL backend services.Can be used with either RATE or UTILIZATION balancing modes, but required if RATE mode. Either maxRate or one of maxRatePerInstance or maxRatePerEndpoint, as appropriate for group type, must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_rate ComputeRegionBackendService#max_rate}
- Specified by:
getMaxRatein interfaceComputeRegionBackendServiceBackend
-
getMaxRatePerEndpoint
public final Number getMaxRatePerEndpoint()
Description copied from interface:ComputeRegionBackendServiceBackendThe max requests per second (RPS) that a single backend network endpoint can handle.This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint must be set. Cannot be set for INTERNAL backend services. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_rate_per_endpoint ComputeRegionBackendService#max_rate_per_endpoint}
- Specified by:
getMaxRatePerEndpointin interfaceComputeRegionBackendServiceBackend
-
getMaxRatePerInstance
public final Number getMaxRatePerInstance()
Description copied from interface:ComputeRegionBackendServiceBackendThe max requests per second (RPS) that a single backend instance can handle.This is used to calculate the capacity of the group. Can be used in either balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be set. Cannot be set for INTERNAL backend services. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_rate_per_instance ComputeRegionBackendService#max_rate_per_instance}
- Specified by:
getMaxRatePerInstancein interfaceComputeRegionBackendServiceBackend
-
getMaxUtilization
public final Number getMaxUtilization()
Description copied from interface:ComputeRegionBackendServiceBackendUsed when balancingMode is UTILIZATION.This ratio defines the CPU utilization target for the group. Valid range is [0.0, 1.0]. Cannot be set for INTERNAL backend services. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_backend_service#max_utilization ComputeRegionBackendService#max_utilization}
- Specified by:
getMaxUtilizationin interfaceComputeRegionBackendServiceBackend
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-