AzureApiManagementCircuitBreakerOptions
Struct
Configures a circuit breaker for an Azure API Management backend.
type AzureApiManagementCircuitBreakerOptions struct { Name *string `json:"Name"` FailureCount *float64 `json:"FailureCount"` FailureIntervalSeconds *float64 `json:"FailureIntervalSeconds"` StatusCodeRanges []*AzureApiManagementStatusCodeRange `json:"StatusCodeRanges"` TripDurationSeconds *float64 `json:"TripDurationSeconds"` AcceptRetryAfter *bool `json:"AcceptRetryAfter"`}6 members
Fields
Name*stringoptionalGets or sets the circuit-breaker rule name.
FailureCount *float64optionalGets or sets the number of failures that opens the circuit.
FailureIntervalSeconds *float64optionalGets or sets the interval, in seconds, during which failures are counted.
StatusCodeRanges []*AzureApiManagementStatusCodeRange optionalGets or sets the HTTP status-code ranges treated as failures.
TripDurationSeconds *float64optionalGets or sets how many seconds the circuit remains open.
AcceptRetryAfter *booloptionalGets or sets whether API Management honors the backend's
Retry-After header.