DnsConfig Class

Class containing DNS settings in a Traffic Manager profile.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

DnsConfig(*, relative_name: str | None = None, ttl: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
relative_name
str

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.

Default value: None
ttl
int

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.

Default value: None

Variables

Name Description
relative_name
str

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.

fqdn
str

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.

ttl
int

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.