GetRegionBackendServiceBackend constructor

const GetRegionBackendServiceBackend({
  1. required Input<String> balancingMode,
  2. required Input<double> capacityScaler,
  3. required Input<List<GetRegionBackendServiceBackendCustomMetric>> customMetrics,
  4. required Input<String> description,
  5. required Input<bool> failover,
  6. required Input<String> group,
  7. required Input<int> maxConnections,
  8. required Input<int> maxConnectionsPerEndpoint,
  9. required Input<int> maxConnectionsPerInstance,
  10. required Input<int> maxInFlightRequests,
  11. required Input<int> maxInFlightRequestsPerEndpoint,
  12. required Input<int> maxInFlightRequestsPerInstance,
  13. required Input<int> maxRate,
  14. required Input<double> maxRatePerEndpoint,
  15. required Input<double> maxRatePerInstance,
  16. required Input<double> maxUtilization,
  17. required Input<String> trafficDuration,
})

Creates a new GetRegionBackendServiceBackend. 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 An optional description of this resource. failover This field designates whether this is a failover backend. More 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. Cannot be set 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 trafficDuration This field specifies how long a connection should be kept alive for:

Implementation

const GetRegionBackendServiceBackend({
  required this.balancingMode,
  required this.capacityScaler,
  required this.customMetrics,
  required this.description,
  required this.failover,
  required this.group,
  required this.maxConnections,
  required this.maxConnectionsPerEndpoint,
  required this.maxConnectionsPerInstance,
  required this.maxInFlightRequests,
  required this.maxInFlightRequestsPerEndpoint,
  required this.maxInFlightRequestsPerInstance,
  required this.maxRate,
  required this.maxRatePerEndpoint,
  required this.maxRatePerInstance,
  required this.maxUtilization,
  required this.trafficDuration,
});