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.
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
|
The ETag of the record set. Default value: None
|
|
metadata
|
The metadata attached to the record set. Default value: None
|
|
ttl
|
The TTL (time-to-live) of the records in the record set. Default value: None
|
|
a_records
|
The list of A records in the record set. Default value: None
|
|
aaaa_records
|
The list of AAAA records in the record set. Default value: None
|
|
cname_record
|
The CNAME record in the record set. Default value: None
|
|
mx_records
|
The list of MX records in the record set. Default value: None
|
|
ptr_records
|
The list of PTR records in the record set. Default value: None
|
|
soa_record
|
The SOA record in the record set. Default value: None
|
|
srv_records
|
The list of SRV records in the record set. Default value: None
|
|
txt_records
|
The list of TXT records in the record set. Default value: None
|
Variables
| Name | Description |
|---|---|
|
id
|
Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'. # pylint: disable=line-too-long |
|
name
|
The name of the resource. |
|
type
|
The type of the resource. Example - 'Microsoft.Network/privateDnsZones'. |
|
etag
|
The ETag of the record set. |
|
metadata
|
The metadata attached to the record set. |
|
ttl
|
The TTL (time-to-live) of the records in the record set. |
|
fqdn
|
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. |