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
RecordSet

Constructor

RecordSet(*, etag: Optional[str] = None, metadata: Optional[Dict[str, str]] = None, ttl: Optional[int] = None, a_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.ARecord]] = None, aaaa_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.AaaaRecord]] = None, mx_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.MxRecord]] = None, ns_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.NsRecord]] = None, ptr_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.PtrRecord]] = None, srv_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.SrvRecord]] = None, txt_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.TxtRecord]] = None, cname_record: Optional[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.CnameRecord] = None, soa_record: Optional[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.SoaRecord] = None, caa_records: Optional[List[azure.mgmt.dns.v2018_03_01_preview.models._models_py3.CaaRecord]] = None, **kwargs)

Parameters

etag
str
Required

The etag of the record set.

metadata
dict[str, str]
Required

The metadata attached to the record set.

ttl
<xref:long>
Required

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

a_records
list[ARecord]
Required

The list of A records in the record set.

aaaa_records
list[AaaaRecord]
Required

The list of AAAA records in the record set.

mx_records
list[MxRecord]
Required

The list of MX records in the record set.

ns_records
list[NsRecord]
Required

The list of NS records in the record set.

ptr_records
list[PtrRecord]
Required

The list of PTR records in the record set.

srv_records
list[SrvRecord]
Required

The list of SRV records in the record set.

txt_records
list[TxtRecord]
Required

The list of TXT records in the record set.

cname_record
CnameRecord
Required

The CNAME record in the record set.

soa_record
SoaRecord
Required

The SOA record in the record set.

caa_records
list[CaaRecord]
Required

The list of CAA records in the record set.

Variables

id
str

The ID of the record set.

name
str

The name of the record set.

type
str

The type of the record set.

fqdn
str

Fully qualified domain name of the record set.