Message containing information of one individual backend.
void google_compute_api::Backend::set_balancing_mode |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'balancingMode
' attribute.
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).
For Internal Load Balancing, the default and only supported mode is CONNECTION.
- Parameters
-
void google_compute_api::Backend::set_capacity_scaler |
( |
float |
value | ) |
|
|
inline |
Change the 'capacityScaler
' attribute.
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].
This cannot be used for internal load balancing.
- Parameters
-
void google_compute_api::Backend::set_group |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'group
' attribute.
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 service can not contain mix of 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.
When the BackendService has load balancing scheme INTERNAL, the instance group must be within the same region as the BackendService. Network Endpoint Groups are not supported for INTERNAL load balancing scheme.
- Parameters
-
void google_compute_api::Backend::set_max_connections_per_endpoint |
( |
int32 |
value | ) |
|
|
inline |
Change the 'maxConnectionsPerEndpoint
' attribute.
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.
This cannot be used for internal load balancing.
- Parameters
-
void google_compute_api::Backend::set_max_connections_per_instance |
( |
int32 |
value | ) |
|
|
inline |
Change the 'maxConnectionsPerInstance
' attribute.
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.
This cannot be used for internal load balancing.
- Parameters
-
void google_compute_api::Backend::set_max_rate |
( |
int32 |
value | ) |
|
|
inline |
Change the 'maxRate
' attribute.
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 maxRatePerInstance must be set.
This cannot be used for internal load balancing.
- Parameters
-
void google_compute_api::Backend::set_max_rate_per_endpoint |
( |
float |
value | ) |
|
|
inline |
Change the 'maxRatePerEndpoint
' attribute.
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.
This cannot be used for internal load balancing.
- Parameters
-
void google_compute_api::Backend::set_max_rate_per_instance |
( |
float |
value | ) |
|
|
inline |
Change the 'maxRatePerInstance
' attribute.
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.
This cannot be used for internal load balancing.
- Parameters
-