共用方式為


ResponseBasedOriginErrorDetectionParameters interface

JSON 物件,其中包含屬性,以使用實際要求/回應來判斷原始健康情況。

屬性

httpErrorRanges

Http 狀態代碼範圍的清單,這些範圍被視為來源的伺服器錯誤,且標示為狀況不良。

responseBasedDetectedErrorTypes

原始來源視為狀況不良之真實使用者要求的回應錯誤類型

responseBasedFailoverThresholdPercentage

故障轉移應觸發之範例中失敗要求的百分比。

屬性詳細資料

httpErrorRanges

Http 狀態代碼範圍的清單,這些範圍被視為來源的伺服器錯誤,且標示為狀況不良。

httpErrorRanges?: HttpErrorRangeParameters[]

屬性值

responseBasedDetectedErrorTypes

原始來源視為狀況不良之真實使用者要求的回應錯誤類型

responseBasedDetectedErrorTypes?: ResponseBasedDetectedErrorTypes

屬性值

responseBasedFailoverThresholdPercentage

故障轉移應觸發之範例中失敗要求的百分比。

responseBasedFailoverThresholdPercentage?: number

屬性值

number