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

136 строки
9.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig"
name: "DnsConfig"
nameWithType: "DnsConfig"
summary: "Class containing DNS settings in a Traffic Manager profile."
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 **DnsConfig**</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.trafficmanager.models.DnsConfig?alt=com.azure.resourcemanager.trafficmanager.models.DnsConfig&text=DnsConfig\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.DnsConfig()"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.DnsConfig()"
name: "DnsConfig()"
nameWithType: "DnsConfig.DnsConfig()"
summary: "Creates an instance of Dns<wbr>Config class."
syntax: "public DnsConfig()"
desc: "Creates an instance of DnsConfig class."
methods:
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.fqdn()"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.fqdn()"
name: "fqdn()"
nameWithType: "DnsConfig.fqdn()"
summary: "Get the fqdn property: The fully-qualified domain name (FQDN) of the Traffic Manager profile."
syntax: "public String fqdn()"
desc: "Get the fqdn property: The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager."
returns:
description: "the fqdn value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DnsConfig.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Dns<wbr>Config 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 DnsConfig fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the DnsConfig."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DnsConfig from the JsonReader."
returns:
description: "An instance of DnsConfig if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.trafficmanager.models.DnsConfig?alt=com.azure.resourcemanager.trafficmanager.models.DnsConfig&text=DnsConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.relativeName()"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.relativeName()"
name: "relativeName()"
nameWithType: "DnsConfig.relativeName()"
summary: "Get the relative<wbr>Name property: The relative DNS name provided by this Traffic Manager profile."
syntax: "public String relativeName()"
desc: "Get the relativeName property: The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile."
returns:
description: "the relativeName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DnsConfig.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.trafficmanager.models.DnsConfig.ttl()"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.ttl()"
name: "ttl()"
nameWithType: "DnsConfig.ttl()"
summary: "Get the ttl property: The DNS Time-To-Live (TTL), in seconds."
syntax: "public Long ttl()"
desc: "Get the ttl property: The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile."
returns:
description: "the ttl value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.validate()"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.validate()"
name: "validate()"
nameWithType: "DnsConfig.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.withRelativeName(java.lang.String)"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.withRelativeName(String relativeName)"
name: "withRelativeName(String relativeName)"
nameWithType: "DnsConfig.withRelativeName(String relativeName)"
summary: "Set the relative<wbr>Name property: The relative DNS name provided by this Traffic Manager profile."
parameters:
- description: "the relativeName value to set."
name: "relativeName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public DnsConfig withRelativeName(String relativeName)"
desc: "Set the relativeName property: The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile."
returns:
description: "the DnsConfig object itself."
type: "<xref href=\"com.azure.resourcemanager.trafficmanager.models.DnsConfig?alt=com.azure.resourcemanager.trafficmanager.models.DnsConfig&text=DnsConfig\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.withTtl(java.lang.Long)"
fullName: "com.azure.resourcemanager.trafficmanager.models.DnsConfig.withTtl(Long ttl)"
name: "withTtl(Long ttl)"
nameWithType: "DnsConfig.withTtl(Long ttl)"
summary: "Set the ttl property: The DNS Time-To-Live (TTL), in seconds."
parameters:
- description: "the ttl value to set."
name: "ttl"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public DnsConfig withTtl(Long ttl)"
desc: "Set the ttl property: The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile."
returns:
description: "the DnsConfig object itself."
type: "<xref href=\"com.azure.resourcemanager.trafficmanager.models.DnsConfig?alt=com.azure.resourcemanager.trafficmanager.models.DnsConfig&text=DnsConfig\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Class containing DNS settings in a Traffic Manager profile."
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.trafficmanager.models.DnsConfig?alt=com.azure.resourcemanager.trafficmanager.models.DnsConfig&text=DnsConfig\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.trafficmanager.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-trafficmanager:2.42.0