Uses of Class
com.azure.resourcemanager.apimanagement.models.CircuitBreakerFailureCondition
Packages that use CircuitBreakerFailureCondition
Package
Description
Package containing the data models for ApiManagementClient.
-
Uses of CircuitBreakerFailureCondition in com.azure.resourcemanager.apimanagement.models
Methods in com.azure.resourcemanager.apimanagement.models that return CircuitBreakerFailureConditionModifier and TypeMethodDescriptionCircuitBreakerRule.failureCondition()Get the failureCondition property: The conditions for tripping the circuit breaker.CircuitBreakerFailureCondition.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CircuitBreakerFailureCondition from the JsonReader.Set the count property: The threshold for opening the circuit.CircuitBreakerFailureCondition.withErrorReasons(List<String> errorReasons) Set the errorReasons property: The error reasons which are considered as failure.CircuitBreakerFailureCondition.withInterval(Duration interval) Set the interval property: The interval during which the failures are counted.CircuitBreakerFailureCondition.withPercentage(Long percentage) Set the percentage property: The threshold for opening the circuit.CircuitBreakerFailureCondition.withStatusCodeRanges(List<FailureStatusCodeRange> statusCodeRanges) Set the statusCodeRanges property: The status code ranges which are considered as failure.Methods in com.azure.resourcemanager.apimanagement.models with parameters of type CircuitBreakerFailureConditionModifier and TypeMethodDescriptionCircuitBreakerRule.withFailureCondition(CircuitBreakerFailureCondition failureCondition) Set the failureCondition property: The conditions for tripping the circuit breaker.