Uses of Class
com.azure.resourcemanager.apimanagement.models.CircuitBreakerRule
Packages that use CircuitBreakerRule
Package
Description
Package containing the data models for ApiManagementClient.
-
Uses of CircuitBreakerRule in com.azure.resourcemanager.apimanagement.models
Methods in com.azure.resourcemanager.apimanagement.models that return CircuitBreakerRuleModifier and TypeMethodDescriptionstatic CircuitBreakerRuleCircuitBreakerRule.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CircuitBreakerRule from the JsonReader.CircuitBreakerRule.withAcceptRetryAfter(Boolean acceptRetryAfter) Set the acceptRetryAfter property: flag to accept Retry-After header from the backend.CircuitBreakerRule.withFailureCondition(CircuitBreakerFailureCondition failureCondition) Set the failureCondition property: The conditions for tripping the circuit breaker.Set the name property: The rule name.CircuitBreakerRule.withTripDuration(Duration tripDuration) Set the tripDuration property: The duration for which the circuit will be tripped.Methods in com.azure.resourcemanager.apimanagement.models that return types with arguments of type CircuitBreakerRuleModifier and TypeMethodDescriptionBackendCircuitBreaker.rules()Get the rules property: The rules for tripping the backend.Method parameters in com.azure.resourcemanager.apimanagement.models with type arguments of type CircuitBreakerRuleModifier and TypeMethodDescriptionBackendCircuitBreaker.withRules(List<CircuitBreakerRule> rules) Set the rules property: The rules for tripping the backend.