DnsConfig Class
- java.
lang. Object - com.
microsoft. azure. management. trafficmanager. DnsConfig
- com.
public class DnsConfig
Class containing DNS settings in a Traffic Manager profile.
Constructor Summary
Constructor | Description | |
---|---|---|
DnsConfig() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fqdn()
Get the fully-qualified domain name (FQDN) of the Traffic Manager profile. |
java.lang.String |
relativeName()
Get the relative DNS name provided by this Traffic Manager profile. |
java.lang.Long |
ttl()
Get the DNS Time-To-Live (TTL), in seconds. |
Dns |
withRelativeName(String relativeName)
Set the relative DNS name provided by this Traffic Manager profile. |
Dns |
withTtl(Long ttl)
Set the DNS Time-To-Live (TTL), in seconds. |
Methods inherited from java.lang.Object
Constructor Details
DnsConfig
public DnsConfig()
Method Details
fqdn
public String fqdn()
Get 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:
relativeName
public String relativeName()
Get 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:
ttl
public Long ttl()
Get 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:
withRelativeName
public DnsConfig withRelativeName(String relativeName)
Set 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.
Parameters:
Returns:
withTtl
public DnsConfig withTtl(Long ttl)
Set 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.
Parameters:
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per