150 строки
15 KiB
YAML
150 строки
15 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters"
|
|
name: "ResponseBasedOriginErrorDetectionParameters"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters"
|
|
summary: "The JSON object that contains the properties to determine origin health using real requests/responses."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **ResponseBasedOriginErrorDetectionParameters**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters?alt=com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters&text=ResponseBasedOriginErrorDetectionParameters\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.ResponseBasedOriginErrorDetectionParameters()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.ResponseBasedOriginErrorDetectionParameters()"
|
|
name: "ResponseBasedOriginErrorDetectionParameters()"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.ResponseBasedOriginErrorDetectionParameters()"
|
|
summary: "Creates an instance of Response<wbr>Based<wbr>Origin<wbr>Error<wbr>Detection<wbr>Parameters class."
|
|
syntax: "public ResponseBasedOriginErrorDetectionParameters()"
|
|
desc: "Creates an instance of ResponseBasedOriginErrorDetectionParameters class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Response<wbr>Based<wbr>Origin<wbr>Error<wbr>Detection<wbr>Parameters from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static ResponseBasedOriginErrorDetectionParameters fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the ResponseBasedOriginErrorDetectionParameters."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of ResponseBasedOriginErrorDetectionParameters from the JsonReader."
|
|
returns:
|
|
description: "An instance of ResponseBasedOriginErrorDetectionParameters if the JsonReader was pointing to an instance\n of it, or null if it was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters?alt=com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters&text=ResponseBasedOriginErrorDetectionParameters\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.httpErrorRanges()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.httpErrorRanges()"
|
|
name: "httpErrorRanges()"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.httpErrorRanges()"
|
|
summary: "Get the http<wbr>Error<wbr>Ranges property: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy."
|
|
syntax: "public List<HttpErrorRangeParameters> httpErrorRanges()"
|
|
desc: "Get the httpErrorRanges property: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy."
|
|
returns:
|
|
description: "the httpErrorRanges value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.cdn.models.HttpErrorRangeParameters?alt=com.azure.resourcemanager.cdn.models.HttpErrorRangeParameters&text=HttpErrorRangeParameters\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.responseBasedDetectedErrorTypes()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.responseBasedDetectedErrorTypes()"
|
|
name: "responseBasedDetectedErrorTypes()"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.responseBasedDetectedErrorTypes()"
|
|
summary: "Get the response<wbr>Based<wbr>Detected<wbr>Error<wbr>Types property: Type of response errors for real user requests for which origin will be deemed unhealthy."
|
|
syntax: "public ResponseBasedDetectedErrorTypes responseBasedDetectedErrorTypes()"
|
|
desc: "Get the responseBasedDetectedErrorTypes property: Type of response errors for real user requests for which origin will be deemed unhealthy."
|
|
returns:
|
|
description: "the responseBasedDetectedErrorTypes value."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedDetectedErrorTypes?alt=com.azure.resourcemanager.cdn.models.ResponseBasedDetectedErrorTypes&text=ResponseBasedDetectedErrorTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.responseBasedFailoverThresholdPercentage()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.responseBasedFailoverThresholdPercentage()"
|
|
name: "responseBasedFailoverThresholdPercentage()"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.responseBasedFailoverThresholdPercentage()"
|
|
summary: "Get the response<wbr>Based<wbr>Failover<wbr>Threshold<wbr>Percentage property: The percentage of failed requests in the sample where failover should trigger."
|
|
syntax: "public Integer responseBasedFailoverThresholdPercentage()"
|
|
desc: "Get the responseBasedFailoverThresholdPercentage property: The percentage of failed requests in the sample where failover should trigger."
|
|
returns:
|
|
description: "the responseBasedFailoverThresholdPercentage value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.validate()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.validate()"
|
|
name: "validate()"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.withHttpErrorRanges(java.util.List<com.azure.resourcemanager.cdn.models.HttpErrorRangeParameters>)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.withHttpErrorRanges(List<HttpErrorRangeParameters> httpErrorRanges)"
|
|
name: "withHttpErrorRanges(List<HttpErrorRangeParameters> httpErrorRanges)"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.withHttpErrorRanges(List<HttpErrorRangeParameters> httpErrorRanges)"
|
|
summary: "Set the http<wbr>Error<wbr>Ranges property: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy."
|
|
parameters:
|
|
- description: "the httpErrorRanges value to set."
|
|
name: "httpErrorRanges"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.cdn.models.HttpErrorRangeParameters?alt=com.azure.resourcemanager.cdn.models.HttpErrorRangeParameters&text=HttpErrorRangeParameters\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public ResponseBasedOriginErrorDetectionParameters withHttpErrorRanges(List<HttpErrorRangeParameters> httpErrorRanges)"
|
|
desc: "Set the httpErrorRanges property: The list of Http status code ranges that are considered as server errors for origin and it is marked as unhealthy."
|
|
returns:
|
|
description: "the ResponseBasedOriginErrorDetectionParameters object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters?alt=com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters&text=ResponseBasedOriginErrorDetectionParameters\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.withResponseBasedDetectedErrorTypes(com.azure.resourcemanager.cdn.models.ResponseBasedDetectedErrorTypes)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.withResponseBasedDetectedErrorTypes(ResponseBasedDetectedErrorTypes responseBasedDetectedErrorTypes)"
|
|
name: "withResponseBasedDetectedErrorTypes(ResponseBasedDetectedErrorTypes responseBasedDetectedErrorTypes)"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.withResponseBasedDetectedErrorTypes(ResponseBasedDetectedErrorTypes responseBasedDetectedErrorTypes)"
|
|
summary: "Set the response<wbr>Based<wbr>Detected<wbr>Error<wbr>Types property: Type of response errors for real user requests for which origin will be deemed unhealthy."
|
|
parameters:
|
|
- description: "the responseBasedDetectedErrorTypes value to set."
|
|
name: "responseBasedDetectedErrorTypes"
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedDetectedErrorTypes?alt=com.azure.resourcemanager.cdn.models.ResponseBasedDetectedErrorTypes&text=ResponseBasedDetectedErrorTypes\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public ResponseBasedOriginErrorDetectionParameters withResponseBasedDetectedErrorTypes(ResponseBasedDetectedErrorTypes responseBasedDetectedErrorTypes)"
|
|
desc: "Set the responseBasedDetectedErrorTypes property: Type of response errors for real user requests for which origin will be deemed unhealthy."
|
|
returns:
|
|
description: "the ResponseBasedOriginErrorDetectionParameters object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters?alt=com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters&text=ResponseBasedOriginErrorDetectionParameters\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.withResponseBasedFailoverThresholdPercentage(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters.withResponseBasedFailoverThresholdPercentage(Integer responseBasedFailoverThresholdPercentage)"
|
|
name: "withResponseBasedFailoverThresholdPercentage(Integer responseBasedFailoverThresholdPercentage)"
|
|
nameWithType: "ResponseBasedOriginErrorDetectionParameters.withResponseBasedFailoverThresholdPercentage(Integer responseBasedFailoverThresholdPercentage)"
|
|
summary: "Set the response<wbr>Based<wbr>Failover<wbr>Threshold<wbr>Percentage property: The percentage of failed requests in the sample where failover should trigger."
|
|
parameters:
|
|
- description: "the responseBasedFailoverThresholdPercentage value to set."
|
|
name: "responseBasedFailoverThresholdPercentage"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public ResponseBasedOriginErrorDetectionParameters withResponseBasedFailoverThresholdPercentage(Integer responseBasedFailoverThresholdPercentage)"
|
|
desc: "Set the responseBasedFailoverThresholdPercentage property: The percentage of failed requests in the sample where failover should trigger."
|
|
returns:
|
|
description: "the ResponseBasedOriginErrorDetectionParameters object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters?alt=com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters&text=ResponseBasedOriginErrorDetectionParameters\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The JSON object that contains the properties to determine origin health using real requests/responses."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters?alt=com.azure.resourcemanager.cdn.models.ResponseBasedOriginErrorDetectionParameters&text=ResponseBasedOriginErrorDetectionParameters\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cdn.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cdn:2.44.0
|