Package com.pulumi.gcp.compute.inputs
Class BackendServiceBackendArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.inputs.BackendServiceBackendArgs
-
public final class BackendServiceBackendArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BackendServiceBackendArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static BackendServiceBackendArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
balancingMode()
static BackendServiceBackendArgs.Builder
builder()
static BackendServiceBackendArgs.Builder
builder(BackendServiceBackendArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.Double>>
capacityScaler()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
com.pulumi.core.Output<java.lang.String>
group()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxConnections()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxConnectionsPerEndpoint()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxConnectionsPerInstance()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
maxRate()
java.util.Optional<com.pulumi.core.Output<java.lang.Double>>
maxRatePerEndpoint()
java.util.Optional<com.pulumi.core.Output<java.lang.Double>>
maxRatePerInstance()
java.util.Optional<com.pulumi.core.Output<java.lang.Double>>
maxUtilization()
-
-
-
Field Detail
-
Empty
public static final BackendServiceBackendArgs Empty
-
-
Method Detail
-
balancingMode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> balancingMode()
- Returns:
- Specifies the balancing mode for this backend. For global HTTP(S) or TCP/SSL load balancing, the default is UTILIZATION. Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION (for TCP/SSL). See the [Backend Services Overview](https://cloud.google.com/load-balancing/docs/backend-service#balancing-mode) for an explanation of load balancing modes. Default value is `UTILIZATION`. Possible values are: `UTILIZATION`, `RATE`, `CONNECTION`.
-
capacityScaler
public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> capacityScaler()
- Returns:
- A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION). Default value is 1, which means the group will serve up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available Capacity. Valid range is [0.0,1.0].
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- An optional description of this resource. Provide this property when you create the resource.
-
group
public com.pulumi.core.Output<java.lang.String> group()
- Returns:
- The 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. Note that you must specify an Instance Group or Network Endpoint Group resource using the fully-qualified URL, rather than a partial URL.
-
maxConnections
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxConnections()
- Returns:
- The max number of simultaneous connections for the group. Can be used with either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either maxConnections or one of maxConnectionsPerInstance or maxConnectionsPerEndpoint, as appropriate for group type, must be set.
-
maxConnectionsPerEndpoint
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxConnectionsPerEndpoint()
- Returns:
- The max number of simultaneous connections that a single backend network endpoint can handle. 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.
-
maxConnectionsPerInstance
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxConnectionsPerInstance()
- Returns:
- The max number of simultaneous connections that a single backend instance can handle. 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.
-
maxRate
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> maxRate()
- Returns:
- The max requests per second (RPS) of the group. Can be used with either RATE or UTILIZATION balancing modes, but required if RATE mode. For RATE mode, either maxRate or one of maxRatePerInstance or maxRatePerEndpoint, as appropriate for group type, must be set.
-
maxRatePerEndpoint
public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> maxRatePerEndpoint()
- Returns:
- The 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.
-
maxRatePerInstance
public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> maxRatePerInstance()
- Returns:
- The 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.
-
maxUtilization
public java.util.Optional<com.pulumi.core.Output<java.lang.Double>> maxUtilization()
- Returns:
- Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. Valid range is [0.0, 1.0].
-
builder
public static BackendServiceBackendArgs.Builder builder()
-
builder
public static BackendServiceBackendArgs.Builder builder(BackendServiceBackendArgs defaults)
-
-