Compute Engine v1 API - Class CircuitBreakers (3.1.0)

public sealed class CircuitBreakers : IMessage<CircuitBreakers>, IEquatable<CircuitBreakers>, IDeepCloneable<CircuitBreakers>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class CircuitBreakers.

Settings controlling the volume of requests, connections and retries to this backend service.

Inheritance

object > CircuitBreakers

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

CircuitBreakers()

public CircuitBreakers()

CircuitBreakers(CircuitBreakers)

public CircuitBreakers(CircuitBreakers other)
Parameter
Name Description
other CircuitBreakers

Properties

HasMaxConnections

public bool HasMaxConnections { get; }

Gets whether the "max_connections" field is set

Property Value
Type Description
bool

HasMaxPendingRequests

public bool HasMaxPendingRequests { get; }

Gets whether the "max_pending_requests" field is set

Property Value
Type Description
bool

HasMaxRequests

public bool HasMaxRequests { get; }

Gets whether the "max_requests" field is set

Property Value
Type Description
bool

HasMaxRequestsPerConnection

public bool HasMaxRequestsPerConnection { get; }

Gets whether the "max_requests_per_connection" field is set

Property Value
Type Description
bool

HasMaxRetries

public bool HasMaxRetries { get; }

Gets whether the "max_retries" field is set

Property Value
Type Description
bool

MaxConnections

public int MaxConnections { get; set; }

The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Property Value
Type Description
int

MaxPendingRequests

public int MaxPendingRequests { get; set; }

The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Property Value
Type Description
int

MaxRequests

public int MaxRequests { get; set; }

The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.

Property Value
Type Description
int

MaxRequestsPerConnection

public int MaxRequestsPerConnection { get; set; }

Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Property Value
Type Description
int

MaxRetries

public int MaxRetries { get; set; }

The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.

Property Value
Type Description
int