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

ResponseBasedOriginErrorDetectionParameters Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.ResponseBasedOriginErrorDetectionParametersTypeConverter))]
public class ResponseBasedOriginErrorDetectionParameters : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IResponseBasedOriginErrorDetectionParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.ResponseBasedOriginErrorDetectionParametersTypeConverter))>]
type ResponseBasedOriginErrorDetectionParameters = class
    interface IResponseBasedOriginErrorDetectionParameters
    interface IJsonSerializable
Public Class ResponseBasedOriginErrorDetectionParameters
Implements IResponseBasedOriginErrorDetectionParameters
Inheritance
ResponseBasedOriginErrorDetectionParameters
Attributes
Implements

Constructors

ResponseBasedOriginErrorDetectionParameters()

Creates an new ResponseBasedOriginErrorDetectionParameters instance.

Properties

HttpErrorRange

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

ResponseBasedDetectedErrorType

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResponseBasedOriginErrorDetectionParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResponseBasedOriginErrorDetectionParameters.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20230501.IResponseBasedOriginErrorDetectionParameters.

FromJsonString(String)

Creates a new instance of ResponseBasedOriginErrorDetectionParameters, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResponseBasedOriginErrorDetectionParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to