Share via


ResponseBasedOriginErrorDetectionSettings Class

Definition

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

public class ResponseBasedOriginErrorDetectionSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Cdn.Models.ResponseBasedOriginErrorDetectionSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Cdn.Models.ResponseBasedOriginErrorDetectionSettings>
public class ResponseBasedOriginErrorDetectionSettings
type ResponseBasedOriginErrorDetectionSettings = class
    interface IJsonModel<ResponseBasedOriginErrorDetectionSettings>
    interface IPersistableModel<ResponseBasedOriginErrorDetectionSettings>
type ResponseBasedOriginErrorDetectionSettings = class
Public Class ResponseBasedOriginErrorDetectionSettings
Implements IJsonModel(Of ResponseBasedOriginErrorDetectionSettings), IPersistableModel(Of ResponseBasedOriginErrorDetectionSettings)
Public Class ResponseBasedOriginErrorDetectionSettings
Inheritance
ResponseBasedOriginErrorDetectionSettings
Implements

Constructors

ResponseBasedOriginErrorDetectionSettings()

Initializes a new instance of ResponseBasedOriginErrorDetectionSettings.

Properties

HttpErrorRanges

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.

Explicit Interface Implementations

IJsonModel<ResponseBasedOriginErrorDetectionSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ResponseBasedOriginErrorDetectionSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResponseBasedOriginErrorDetectionSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ResponseBasedOriginErrorDetectionSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ResponseBasedOriginErrorDetectionSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to