Condividi tramite


CircuitBreakerFailureCondition Class

Definition

The trip conditions of the circuit breaker.

public class CircuitBreakerFailureCondition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.Models.CircuitBreakerFailureCondition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.Models.CircuitBreakerFailureCondition>
type CircuitBreakerFailureCondition = class
    interface IJsonModel<CircuitBreakerFailureCondition>
    interface IPersistableModel<CircuitBreakerFailureCondition>
Public Class CircuitBreakerFailureCondition
Implements IJsonModel(Of CircuitBreakerFailureCondition), IPersistableModel(Of CircuitBreakerFailureCondition)
Inheritance
CircuitBreakerFailureCondition
Implements

Constructors

CircuitBreakerFailureCondition()

Initializes a new instance of CircuitBreakerFailureCondition.

Properties

Count

The threshold for opening the circuit.

ErrorReasons

The error reasons which are considered as failure.

Interval

The interval during which the failures are counted.

Percentage

The threshold for opening the circuit.

StatusCodeRanges

The status code ranges which are considered as failure.

Explicit Interface Implementations

IJsonModel<CircuitBreakerFailureCondition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CircuitBreakerFailureCondition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CircuitBreakerFailureCondition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CircuitBreakerFailureCondition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CircuitBreakerFailureCondition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to