ResponseBasedOriginErrorDetectionParameters Constructors

Definition

Overloads

ResponseBasedOriginErrorDetectionParameters()

Initializes a new instance of the ResponseBasedOriginErrorDetectionParameters class.

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

Initializes a new instance of the ResponseBasedOriginErrorDetectionParameters class.

ResponseBasedOriginErrorDetectionParameters()

Initializes a new instance of the ResponseBasedOriginErrorDetectionParameters class.

public ResponseBasedOriginErrorDetectionParameters ();
Public Sub New ()

Applies to

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

Initializes a new instance of the ResponseBasedOriginErrorDetectionParameters class.

public ResponseBasedOriginErrorDetectionParameters (Microsoft.Azure.Management.Cdn.Models.ResponseBasedDetectedErrorTypes? responseBasedDetectedErrorTypes = default, int? responseBasedFailoverThresholdPercentage = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.HttpErrorRangeParameters> httpErrorRanges = default);
new Microsoft.Azure.Management.Cdn.Models.ResponseBasedOriginErrorDetectionParameters : Nullable<Microsoft.Azure.Management.Cdn.Models.ResponseBasedDetectedErrorTypes> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.HttpErrorRangeParameters> -> Microsoft.Azure.Management.Cdn.Models.ResponseBasedOriginErrorDetectionParameters
Public Sub New (Optional responseBasedDetectedErrorTypes As Nullable(Of ResponseBasedDetectedErrorTypes) = Nothing, Optional responseBasedFailoverThresholdPercentage As Nullable(Of Integer) = Nothing, Optional httpErrorRanges As IList(Of HttpErrorRangeParameters) = Nothing)

Parameters

responseBasedDetectedErrorTypes
Nullable<ResponseBasedDetectedErrorTypes>

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

responseBasedFailoverThresholdPercentage
Nullable<Int32>

The percentage of failed requests in the sample where failover should trigger.

httpErrorRanges
IList<HttpErrorRangeParameters>

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

Applies to