ResponseBasedOriginErrorDetectionParameters Class

Definition

The JSON object that contains the properties to determine origin health using real requests/responses.

public class ResponseBasedOriginErrorDetectionParameters
type ResponseBasedOriginErrorDetectionParameters = class
Public Class ResponseBasedOriginErrorDetectionParameters
Inheritance
ResponseBasedOriginErrorDetectionParameters

Constructors

ResponseBasedOriginErrorDetectionParameters()

Initializes a new instance of the ResponseBasedOriginErrorDetectionParameters class.

ResponseBasedOriginErrorDetectionParameters(Nullable<ResponseBasedDetectedErrorTypes>, Nullable<Int32>, IList<HttpErrorRangeParameters>)

Initializes a new instance of the ResponseBasedOriginErrorDetectionParameters class.

Properties

HttpErrorRanges

Gets or sets the list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy.

ResponseBasedDetectedErrorTypes

Gets or sets type of response errors for real user requests for which origin will be deemed unhealthy. Possible values include: 'None', 'TcpErrorsOnly', 'TcpAndHttpErrors'

ResponseBasedFailoverThresholdPercentage

Gets or sets the percentage of failed requests in the sample where failover should trigger.

Methods

Validate()

Validate the object.

Applies to