GetBackendServiceBackend class

Constructors

GetBackendServiceBackend({required Input<String> balancingMode, required Input<double> capacityScaler, required Input<List<GetBackendServiceBackendCustomMetric>> customMetrics, required Input<String> description, required Input<String> group, required Input<int> maxConnections, required Input<int> maxConnectionsPerEndpoint, required Input<int> maxConnectionsPerInstance, required Input<int> maxInFlightRequests, required Input<int> maxInFlightRequestsPerEndpoint, required Input<int> maxInFlightRequestsPerInstance, required Input<int> maxRate, required Input<double> maxRatePerEndpoint, required Input<double> maxRatePerInstance, required Input<double> maxUtilization, required Input<String> preference, required Input<String> trafficDuration})
Creates a new GetBackendServiceBackend. balancingMode Specifies the balancing mode for this backend. capacityScaler A multiplier applied to the group's maximum servicing capacity customMetrics The set of custom metrics that are used for <code>CUSTOM_METRICS</code> BalancingMode. description Textual description for the Backend Service. group The fully-qualified URL of an Instance Group or Network Endpoint maxConnections The max number of simultaneous connections for the group. Can maxConnectionsPerEndpoint The max number of simultaneous connections that a single backend maxConnectionsPerInstance The max number of simultaneous connections that a single maxInFlightRequests Defines a maximum number of in-flight requests for the whole NEG maxInFlightRequestsPerEndpoint Defines a maximum number of in-flight requests for a single endpoint. maxInFlightRequestsPerInstance Defines a maximum number of in-flight requests for a single VM. maxRate The max requests per second (RPS) of the group. maxRatePerEndpoint The max requests per second (RPS) that a single backend network maxRatePerInstance The max requests per second (RPS) that a single backend maxUtilization Used when balancingMode is UTILIZATION. This ratio defines the preference This field indicates whether this backend should be fully utilized before sending traffic to backends trafficDuration This field specifies how long a connection should be kept alive for:
const
GetBackendServiceBackend.fromMap(Map<String, dynamic> map)
factory

Properties

balancingMode → Input<String>
Specifies the balancing mode for this backend.
final
capacityScaler → Input<double>
A multiplier applied to the group's maximum servicing capacity (based on UTILIZATION, RATE or CONNECTION).
final
customMetrics → Input<List<GetBackendServiceBackendCustomMetric>>
The set of custom metrics that are used for <code>CUSTOM_METRICS</code> BalancingMode.
final
description → Input<String>
Textual description for the Backend Service.
final
group → Input<String>
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.
final
hashCode → int
The hash code for this object.
no setterinherited
maxConnections → Input<int>
The max number of simultaneous connections for the group. Can be used with either CONNECTION or UTILIZATION balancing modes.
final
maxConnectionsPerEndpoint → Input<int>
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.
final
maxConnectionsPerInstance → Input<int>
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.
final
maxInFlightRequests → Input<int>
Defines a maximum number of in-flight requests for the whole NEG or instance group. Not available if backend's balancingMode is RATE or CONNECTION.
final
maxInFlightRequestsPerEndpoint → Input<int>
Defines a maximum number of in-flight requests for a single endpoint. Not available if backend's balancingMode is RATE or CONNECTION.
final
maxInFlightRequestsPerInstance → Input<int>
Defines a maximum number of in-flight requests for a single VM. Not available if backend's balancingMode is RATE or CONNECTION.
final
maxRate → Input<int>
The max requests per second (RPS) of the group.
final
maxRatePerEndpoint → Input<double>
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.
final
maxRatePerInstance → Input<double>
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.
final
maxUtilization → Input<double>
Used when balancingMode is UTILIZATION. This ratio defines the CPU utilization target for the group. Valid range is 0.0, 1.0.
final
preference → Input<String>
This field indicates whether this backend should be fully utilized before sending traffic to backends with default preference. This field cannot be set when loadBalancingScheme is set to 'EXTERNAL'. The possible values are:
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trafficDuration → Input<String>
This field specifies how long a connection should be kept alive for:
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited