package backend

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.

type CircuitBreakerFailureCondition struct {
	Count            *int64                    `json:"count,omitempty"`
	ErrorReasons     *[]string                 `json:"errorReasons,omitempty"`
	Interval         *string                   `json:"interval,omitempty"`
	Percentage       *int64                    `json:"percentage,omitempty"`
	StatusCodeRanges *[]FailureStatusCodeRange `json:"statusCodeRanges,omitempty"`
}
