RecordSet Class

Describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone.

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

Inheritance
azure.mgmt.privatedns.models._models_py3.ProxyResource
RecordSet

Constructor

RecordSet(*, etag: str | None = None, metadata: Dict[str, str] | None = None, ttl: int | None = None, a_records: List[_models.ARecord] | None = None, aaaa_records: List[_models.AaaaRecord] | None = None, cname_record: _models.CnameRecord | None = None, mx_records: List[_models.MxRecord] | None = None, ptr_records: List[_models.PtrRecord] | None = None, soa_record: _models.SoaRecord | None = None, srv_records: List[_models.SrvRecord] | None = None, txt_records: List[_models.TxtRecord] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
etag
str

The ETag of the record set.

metadata

The metadata attached to the record set.

ttl
int

The TTL (time-to-live) of the records in the record set.

a_records

The list of A records in the record set.

aaaa_records

The list of AAAA records in the record set.

cname_record

The CNAME record in the record set.

mx_records

The list of MX records in the record set.

ptr_records

The list of PTR records in the record set.

soa_record

The SOA record in the record set.

srv_records

The list of SRV records in the record set.

txt_records

The list of TXT records in the record set.

Variables

Name Description
id
str

Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.

etag
str

The ETag of the record set.

metadata

The metadata attached to the record set.

ttl
int

The TTL (time-to-live) of the records in the record set.

fqdn
str

Fully qualified domain name of the record set.

is_auto_registered

Is the record set auto-registered in the Private DNS zone through a virtual network link?.

a_records

The list of A records in the record set.

aaaa_records

The list of AAAA records in the record set.

cname_record

The CNAME record in the record set.

mx_records

The list of MX records in the record set.

ptr_records

The list of PTR records in the record set.

soa_record

The SOA record in the record set.

srv_records

The list of SRV records in the record set.

txt_records

The list of TXT records in the record set.