你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ResponseBasedOriginErrorDetectionParameters interface

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

Properties

httpErrorRanges

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

responseBasedDetectedErrorTypes

Type of response errors for real user requests for which origin will be deemed unhealthy

responseBasedFailoverThresholdPercentage

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

Property Details

httpErrorRanges

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

httpErrorRanges?: HttpErrorRangeParameters[]

Property Value

responseBasedDetectedErrorTypes

Type of response errors for real user requests for which origin will be deemed unhealthy

responseBasedDetectedErrorTypes?: ResponseBasedDetectedErrorTypes

Property Value

responseBasedFailoverThresholdPercentage

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

responseBasedFailoverThresholdPercentage?: number

Property Value

number