ResponseBasedOriginErrorDetectionParameters Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Api20240201.ResponseBasedOriginErrorDetectionParametersTypeConverter))]
public class ResponseBasedOriginErrorDetectionParameters : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.IResponseBasedOriginErrorDetectionParameters
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.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.Api20240201.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() |