ResponseBasedOriginErrorDetectionParameters Class

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

Inheritance
azure.mgmt.cdn._serialization.Model
ResponseBasedOriginErrorDetectionParameters

Constructor

ResponseBasedOriginErrorDetectionParameters(*, response_based_detected_error_types: str | _models.ResponseBasedDetectedErrorTypes | None = None, response_based_failover_threshold_percentage: int | None = None, http_error_ranges: List[_models.HttpErrorRangeParameters] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
response_based_detected_error_types

Type of response errors for real user requests for which origin will be deemed unhealthy. Known values are: "None", "TcpErrorsOnly", and "TcpAndHttpErrors".

response_based_failover_threshold_percentage
int

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

http_error_ranges

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

Variables

Name Description
response_based_detected_error_types

Type of response errors for real user requests for which origin will be deemed unhealthy. Known values are: "None", "TcpErrorsOnly", and "TcpAndHttpErrors".

response_based_failover_threshold_percentage
int

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

http_error_ranges

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