azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

222 строки
18 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration"
name: "ConnectionMonitorHttpConfiguration"
nameWithType: "ConnectionMonitorHttpConfiguration"
summary: "Describes the HTTP configuration."
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 **ConnectionMonitorHttpConfiguration**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.ConnectionMonitorHttpConfiguration()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.ConnectionMonitorHttpConfiguration()"
name: "ConnectionMonitorHttpConfiguration()"
nameWithType: "ConnectionMonitorHttpConfiguration.ConnectionMonitorHttpConfiguration()"
summary: "Creates an instance of Connection<wbr>Monitor<wbr>Http<wbr>Configuration class."
syntax: "public ConnectionMonitorHttpConfiguration()"
desc: "Creates an instance of ConnectionMonitorHttpConfiguration class."
methods:
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ConnectionMonitorHttpConfiguration.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Connection<wbr>Monitor<wbr>Http<wbr>Configuration 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 ConnectionMonitorHttpConfiguration fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ConnectionMonitorHttpConfiguration."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ConnectionMonitorHttpConfiguration from the JsonReader."
returns:
description: "An instance of ConnectionMonitorHttpConfiguration if the JsonReader was pointing to an instance of it, or\n null if it was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.method()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.method()"
name: "method()"
nameWithType: "ConnectionMonitorHttpConfiguration.method()"
summary: "Get the method property: The HTTP method to use."
syntax: "public HttpConfigurationMethod method()"
desc: "Get the method property: The HTTP method to use."
returns:
description: "the method value."
type: "<xref href=\"com.azure.resourcemanager.network.models.HttpConfigurationMethod?alt=com.azure.resourcemanager.network.models.HttpConfigurationMethod&text=HttpConfigurationMethod\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.path()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.path()"
name: "path()"
nameWithType: "ConnectionMonitorHttpConfiguration.path()"
summary: "Get the path property: The path component of the URI."
syntax: "public String path()"
desc: "Get the path property: The path component of the URI. For instance, \"/dir1/dir2\"."
returns:
description: "the path value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.port()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.port()"
name: "port()"
nameWithType: "ConnectionMonitorHttpConfiguration.port()"
summary: "Get the port property: The port to connect to."
syntax: "public Integer port()"
desc: "Get the port property: The port to connect to."
returns:
description: "the port value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.preferHttps()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.preferHttps()"
name: "preferHttps()"
nameWithType: "ConnectionMonitorHttpConfiguration.preferHttps()"
summary: "Get the prefer<wbr>Https property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit."
syntax: "public Boolean preferHttps()"
desc: "Get the preferHttps property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit."
returns:
description: "the preferHttps value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.requestHeaders()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.requestHeaders()"
name: "requestHeaders()"
nameWithType: "ConnectionMonitorHttpConfiguration.requestHeaders()"
summary: "Get the request<wbr>Headers property: The HTTP headers to transmit with the request."
syntax: "public List<HttpHeader> requestHeaders()"
desc: "Get the requestHeaders property: The HTTP headers to transmit with the request."
returns:
description: "the requestHeaders value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.HttpHeader?alt=com.azure.resourcemanager.network.models.HttpHeader&text=HttpHeader\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ConnectionMonitorHttpConfiguration.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.network.models.ConnectionMonitorHttpConfiguration.validStatusCodeRanges()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.validStatusCodeRanges()"
name: "validStatusCodeRanges()"
nameWithType: "ConnectionMonitorHttpConfiguration.validStatusCodeRanges()"
summary: "Get the valid<wbr>Status<wbr>Code<wbr>Ranges property: HTTP status codes to consider successful."
syntax: "public List<String> validStatusCodeRanges()"
desc: "Get the validStatusCodeRanges property: HTTP status codes to consider successful. For instance, \"2xx,301-304,418\"."
returns:
description: "the validStatusCodeRanges value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.validate()"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.validate()"
name: "validate()"
nameWithType: "ConnectionMonitorHttpConfiguration.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withMethod(com.azure.resourcemanager.network.models.HttpConfigurationMethod)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withMethod(HttpConfigurationMethod method)"
name: "withMethod(HttpConfigurationMethod method)"
nameWithType: "ConnectionMonitorHttpConfiguration.withMethod(HttpConfigurationMethod method)"
summary: "Set the method property: The HTTP method to use."
parameters:
- description: "the method value to set."
name: "method"
type: "<xref href=\"com.azure.resourcemanager.network.models.HttpConfigurationMethod?alt=com.azure.resourcemanager.network.models.HttpConfigurationMethod&text=HttpConfigurationMethod\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ConnectionMonitorHttpConfiguration withMethod(HttpConfigurationMethod method)"
desc: "Set the method property: The HTTP method to use."
returns:
description: "the ConnectionMonitorHttpConfiguration object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withPath(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withPath(String path)"
name: "withPath(String path)"
nameWithType: "ConnectionMonitorHttpConfiguration.withPath(String path)"
summary: "Set the path property: The path component of the URI."
parameters:
- description: "the path value to set."
name: "path"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ConnectionMonitorHttpConfiguration withPath(String path)"
desc: "Set the path property: The path component of the URI. For instance, \"/dir1/dir2\"."
returns:
description: "the ConnectionMonitorHttpConfiguration object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withPort(java.lang.Integer)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withPort(Integer port)"
name: "withPort(Integer port)"
nameWithType: "ConnectionMonitorHttpConfiguration.withPort(Integer port)"
summary: "Set the port property: The port to connect to."
parameters:
- description: "the port value to set."
name: "port"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ConnectionMonitorHttpConfiguration withPort(Integer port)"
desc: "Set the port property: The port to connect to."
returns:
description: "the ConnectionMonitorHttpConfiguration object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withPreferHttps(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withPreferHttps(Boolean preferHttps)"
name: "withPreferHttps(Boolean preferHttps)"
nameWithType: "ConnectionMonitorHttpConfiguration.withPreferHttps(Boolean preferHttps)"
summary: "Set the prefer<wbr>Https property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit."
parameters:
- description: "the preferHttps value to set."
name: "preferHttps"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public ConnectionMonitorHttpConfiguration withPreferHttps(Boolean preferHttps)"
desc: "Set the preferHttps property: Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit."
returns:
description: "the ConnectionMonitorHttpConfiguration object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withRequestHeaders(java.util.List<com.azure.resourcemanager.network.models.HttpHeader>)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withRequestHeaders(List<HttpHeader> requestHeaders)"
name: "withRequestHeaders(List<HttpHeader> requestHeaders)"
nameWithType: "ConnectionMonitorHttpConfiguration.withRequestHeaders(List<HttpHeader> requestHeaders)"
summary: "Set the request<wbr>Headers property: The HTTP headers to transmit with the request."
parameters:
- description: "the requestHeaders value to set."
name: "requestHeaders"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.HttpHeader?alt=com.azure.resourcemanager.network.models.HttpHeader&text=HttpHeader\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public ConnectionMonitorHttpConfiguration withRequestHeaders(List<HttpHeader> requestHeaders)"
desc: "Set the requestHeaders property: The HTTP headers to transmit with the request."
returns:
description: "the ConnectionMonitorHttpConfiguration object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withValidStatusCodeRanges(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration.withValidStatusCodeRanges(List<String> validStatusCodeRanges)"
name: "withValidStatusCodeRanges(List<String> validStatusCodeRanges)"
nameWithType: "ConnectionMonitorHttpConfiguration.withValidStatusCodeRanges(List<String> validStatusCodeRanges)"
summary: "Set the valid<wbr>Status<wbr>Code<wbr>Ranges property: HTTP status codes to consider successful."
parameters:
- description: "the validStatusCodeRanges value to set."
name: "validStatusCodeRanges"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public ConnectionMonitorHttpConfiguration withValidStatusCodeRanges(List<String> validStatusCodeRanges)"
desc: "Set the validStatusCodeRanges property: HTTP status codes to consider successful. For instance, \"2xx,301-304,418\"."
returns:
description: "the ConnectionMonitorHttpConfiguration object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Describes the HTTP configuration."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration?alt=com.azure.resourcemanager.network.models.ConnectionMonitorHttpConfiguration&text=ConnectionMonitorHttpConfiguration\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0