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

150 строки
10 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.DnsSettings"
fullName: "com.azure.resourcemanager.network.models.DnsSettings"
name: "DnsSettings"
nameWithType: "DnsSettings"
summary: "DNS Proxy Settings in Firewall Policy."
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 **DnsSettings**</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.DnsSettings?alt=com.azure.resourcemanager.network.models.DnsSettings&text=DnsSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.network.models.DnsSettings.DnsSettings()"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.DnsSettings()"
name: "DnsSettings()"
nameWithType: "DnsSettings.DnsSettings()"
summary: "Creates an instance of Dns<wbr>Settings class."
syntax: "public DnsSettings()"
desc: "Creates an instance of DnsSettings class."
methods:
- uid: "com.azure.resourcemanager.network.models.DnsSettings.enableProxy()"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.enableProxy()"
name: "enableProxy()"
nameWithType: "DnsSettings.enableProxy()"
summary: "Get the enable<wbr>Proxy property: Enable DNS Proxy on Firewalls attached to the Firewall Policy."
syntax: "public Boolean enableProxy()"
desc: "Get the enableProxy property: Enable DNS Proxy on Firewalls attached to the Firewall Policy."
returns:
description: "the enableProxy value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.network.models.DnsSettings.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DnsSettings.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Dns<wbr>Settings 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 DnsSettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the DnsSettings."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DnsSettings from the JsonReader."
returns:
description: "An instance of DnsSettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.network.models.DnsSettings?alt=com.azure.resourcemanager.network.models.DnsSettings&text=DnsSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DnsSettings.requireProxyForNetworkRules()"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.requireProxyForNetworkRules()"
name: "requireProxyForNetworkRules()"
nameWithType: "DnsSettings.requireProxyForNetworkRules()"
summary: "Get the require<wbr>Proxy<wbr>For<wbr>Network<wbr>Rules property: FQDNs in Network Rules are supported when set to true."
syntax: "public Boolean requireProxyForNetworkRules()"
desc: "Get the requireProxyForNetworkRules property: FQDNs in Network Rules are supported when set to true."
returns:
description: "the requireProxyForNetworkRules value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.network.models.DnsSettings.servers()"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.servers()"
name: "servers()"
nameWithType: "DnsSettings.servers()"
summary: "Get the servers property: List of Custom DNS Servers."
syntax: "public List<String> servers()"
desc: "Get the servers property: List of Custom DNS Servers."
returns:
description: "the servers 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.DnsSettings.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DnsSettings.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.DnsSettings.validate()"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.validate()"
name: "validate()"
nameWithType: "DnsSettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.DnsSettings.withEnableProxy(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.withEnableProxy(Boolean enableProxy)"
name: "withEnableProxy(Boolean enableProxy)"
nameWithType: "DnsSettings.withEnableProxy(Boolean enableProxy)"
summary: "Set the enable<wbr>Proxy property: Enable DNS Proxy on Firewalls attached to the Firewall Policy."
parameters:
- description: "the enableProxy value to set."
name: "enableProxy"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public DnsSettings withEnableProxy(Boolean enableProxy)"
desc: "Set the enableProxy property: Enable DNS Proxy on Firewalls attached to the Firewall Policy."
returns:
description: "the DnsSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.DnsSettings?alt=com.azure.resourcemanager.network.models.DnsSettings&text=DnsSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DnsSettings.withRequireProxyForNetworkRules(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.withRequireProxyForNetworkRules(Boolean requireProxyForNetworkRules)"
name: "withRequireProxyForNetworkRules(Boolean requireProxyForNetworkRules)"
nameWithType: "DnsSettings.withRequireProxyForNetworkRules(Boolean requireProxyForNetworkRules)"
summary: "Set the require<wbr>Proxy<wbr>For<wbr>Network<wbr>Rules property: FQDNs in Network Rules are supported when set to true."
parameters:
- description: "the requireProxyForNetworkRules value to set."
name: "requireProxyForNetworkRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public DnsSettings withRequireProxyForNetworkRules(Boolean requireProxyForNetworkRules)"
desc: "Set the requireProxyForNetworkRules property: FQDNs in Network Rules are supported when set to true."
returns:
description: "the DnsSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.DnsSettings?alt=com.azure.resourcemanager.network.models.DnsSettings&text=DnsSettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.DnsSettings.withServers(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.DnsSettings.withServers(List<String> servers)"
name: "withServers(List<String> servers)"
nameWithType: "DnsSettings.withServers(List<String> servers)"
summary: "Set the servers property: List of Custom DNS Servers."
parameters:
- description: "the servers value to set."
name: "servers"
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 DnsSettings withServers(List<String> servers)"
desc: "Set the servers property: List of Custom DNS Servers."
returns:
description: "the DnsSettings object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.DnsSettings?alt=com.azure.resourcemanager.network.models.DnsSettings&text=DnsSettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "DNS Proxy Settings in Firewall Policy."
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.DnsSettings?alt=com.azure.resourcemanager.network.models.DnsSettings&text=DnsSettings\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0