RecordSet Class

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

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

Inheritance
azure.mgmt.dns._serialization.Model
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, mx_records: List[_models.MxRecord] | None = None, ns_records: List[_models.NsRecord] | None = None, ptr_records: List[_models.PtrRecord] | None = None, srv_records: List[_models.SrvRecord] | None = None, txt_records: List[_models.TxtRecord] | None = None, cname_record: _models.CnameRecord | None = None, soa_record: _models.SoaRecord | None = None, caa_records: List[_models.CaaRecord] | 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.

mx_records

The list of MX records in the record set.

ns_records

The list of NS records in the record set.

ptr_records

The list of PTR records 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.

cname_record

The CNAME record in the record set.

soa_record

The SOA record in the record set.

caa_records

The list of CAA records in the record set.

Variables

Name Description
id
str

The ID of the record set.

name
str

The name of the record set.

type
str

The type of the record set.

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.

a_records

The list of A records in the record set.

aaaa_records

The list of AAAA records in the record set.

mx_records

The list of MX records in the record set.

ns_records

The list of NS records in the record set.

ptr_records

The list of PTR records 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.

cname_record

The CNAME record in the record set.

soa_record

The SOA record in the record set.

caa_records

The list of CAA records in the record set.