Class RegionBackendServiceBackendArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RegionBackendServiceBackendArgs : ResourceArgs
Constructors
View SourceRegionBackendServiceBackendArgs()
Declaration
public RegionBackendServiceBackendArgs()
Properties
View SourceBalancingMode
Specifies the balancing mode for this backend.
Declaration
public Input<string> BalancingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CapacityScaler
A 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].
Declaration
public Input<double> CapacityScaler { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
Description
An optional description of this resource. Provide this property when you create the resource.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Failover
This field designates whether this is a failover backend. More than one failover backend can be configured for a given RegionBackendService.
Declaration
public Input<bool> Failover { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Group
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.
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.
Declaration
public Input<string> Group { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MaxConnections
The maximum number of connections to the backend cluster. Defaults to 1024.
Declaration
public Input<int> MaxConnections { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MaxConnectionsPerEndpoint
The 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.
Declaration
public Input<int> MaxConnectionsPerEndpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MaxConnectionsPerInstance
The 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.
Declaration
public Input<int> MaxConnectionsPerInstance { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MaxRate
The 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.
Declaration
public Input<int> MaxRate { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MaxRatePerEndpoint
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. Cannot be set for INTERNAL backend services.
Declaration
public Input<double> MaxRatePerEndpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
MaxRatePerInstance
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. Cannot be set for INTERNAL backend services.
Declaration
public Input<double> MaxRatePerInstance { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
MaxUtilization
Used 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.
Declaration
public Input<double> MaxUtilization { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |