azure.mgmt.dns.v2018_03_01_preview.models module¶
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
ARecord
(*, ipv4_address: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An A record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
AaaaRecord
(*, ipv6_address: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An AAAA record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
CaaRecord
(*, flags: Optional[int] = None, tag: Optional[str] = None, value: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A CAA record.
- Variables
- Keyword Arguments
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
CloudErrorBody
(*, code: Optional[str] = None, message: Optional[str] = None, target: Optional[str] = None, details: Optional[List[_models.CloudErrorBody]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An error response from the service.
- Variables
code (str) – An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message (str) – A message describing the error, intended to be suitable for display in a user interface.
target (str) – The target of the particular error. For example, the name of the property in error.
details (list[CloudErrorBody]) – A list of additional details about the error.
- Keyword Arguments
code (str) – An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
message (str) – A message describing the error, intended to be suitable for display in a user interface.
target (str) – The target of the particular error. For example, the name of the property in error.
details (list[CloudErrorBody]) – A list of additional details about the error.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
CnameRecord
(*, cname: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A CNAME record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
MxRecord
(*, preference: Optional[int] = None, exchange: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An MX record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
NsRecord
(*, nsdname: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An NS record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
PtrRecord
(*, ptrdname: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A PTR record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
RecordSet
(*, etag: Optional[str] = None, metadata: Optional[Dict[str, str]] = None, ttl: Optional[int] = None, a_records: Optional[List[_models.ARecord]] = None, aaaa_records: Optional[List[_models.AaaaRecord]] = None, mx_records: Optional[List[_models.MxRecord]] = None, ns_records: Optional[List[_models.NsRecord]] = None, ptr_records: Optional[List[_models.PtrRecord]] = None, srv_records: Optional[List[_models.SrvRecord]] = None, txt_records: Optional[List[_models.TxtRecord]] = None, cname_record: Optional[_models.CnameRecord] = None, soa_record: Optional[_models.SoaRecord] = None, caa_records: Optional[List[_models.CaaRecord]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
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.
- Variables
name (str) – The name of the record set.
etag (str) – The etag of the record set.
metadata (dict[str, str]) – 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 (list[ARecord]) – The list of A records in the record set.
aaaa_records (list[AaaaRecord]) – The list of AAAA records in the record set.
mx_records (list[MxRecord]) – The list of MX records in the record set.
ns_records (list[NsRecord]) – The list of NS records in the record set.
ptr_records (list[PtrRecord]) – The list of PTR records in the record set.
srv_records (list[SrvRecord]) – The list of SRV records in the record set.
txt_records (list[TxtRecord]) – The list of TXT records in the record set.
cname_record (CnameRecord) – The CNAME record in the record set.
soa_record (SoaRecord) – The SOA record in the record set.
caa_records (list[CaaRecord]) – The list of CAA records in the record set.
- Keyword Arguments
etag (str) – The etag of the record set.
metadata (dict[str, str]) – The metadata attached to the record set.
ttl (int) – The TTL (time-to-live) of the records in the record set.
a_records (list[ARecord]) – The list of A records in the record set.
aaaa_records (list[AaaaRecord]) – The list of AAAA records in the record set.
mx_records (list[MxRecord]) – The list of MX records in the record set.
ns_records (list[NsRecord]) – The list of NS records in the record set.
ptr_records (list[PtrRecord]) – The list of PTR records in the record set.
srv_records (list[SrvRecord]) – The list of SRV records in the record set.
txt_records (list[TxtRecord]) – The list of TXT records in the record set.
cname_record (CnameRecord) – The CNAME record in the record set.
soa_record (SoaRecord) – The SOA record in the record set.
caa_records (list[CaaRecord]) – The list of CAA records in the record set.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
RecordSetListResult
(*, value: Optional[List[_models.RecordSet]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
The response to a record set List operation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
RecordSetUpdateParameters
(*, record_set: Optional[_models.RecordSet] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
Parameters supplied to update a record set.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
RecordType
(value)[source]¶ -
RecordType.
-
A
= 'A'¶
-
AAAA
= 'AAAA'¶
-
CAA
= 'CAA'¶
-
CNAME
= 'CNAME'¶
-
MX
= 'MX'¶
-
NS
= 'NS'¶
-
PTR
= 'PTR'¶
-
SOA
= 'SOA'¶
-
SRV
= 'SRV'¶
-
TXT
= 'TXT'¶
-
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
Resource
(**kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
Common fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
SoaRecord
(*, host: Optional[str] = None, email: Optional[str] = None, serial_number: Optional[int] = None, refresh_time: Optional[int] = None, retry_time: Optional[int] = None, expire_time: Optional[int] = None, minimum_ttl: Optional[int] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An SOA record.
- Variables
host (str) – The domain name of the authoritative name server for this SOA record.
serial_number (int) – The serial number for this SOA record.
refresh_time (int) – The refresh value for this SOA record.
retry_time (int) – The retry time for this SOA record.
expire_time (int) – The expire time for this SOA record.
minimum_ttl (int) – The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
- Keyword Arguments
host (str) – The domain name of the authoritative name server for this SOA record.
email (str) – The email contact for this SOA record.
serial_number (int) – The serial number for this SOA record.
refresh_time (int) – The refresh value for this SOA record.
retry_time (int) – The retry time for this SOA record.
expire_time (int) – The expire time for this SOA record.
minimum_ttl (int) – The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
SrvRecord
(*, priority: Optional[int] = None, weight: Optional[int] = None, port: Optional[int] = None, target: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An SRV record.
- Variables
- Keyword Arguments
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
SubResource
(*, id: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A reference to a another resource.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
TrackedResource
(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns.v2018_03_01_preview.models._models_py3.Resource
The resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
location (str) – The geo-location where the resource lives. Required.
- Keyword Arguments
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
TxtRecord
(*, value: Optional[List[str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A TXT record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
Zone
(*, location: str, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, zone_type: Union[str, _models.ZoneType] = 'Public', registration_virtual_networks: Optional[List[_models.SubResource]] = None, resolution_virtual_networks: Optional[List[_models.SubResource]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns.v2018_03_01_preview.models._models_py3.TrackedResource
Describes a DNS zone.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
location (str) – The geo-location where the resource lives. Required.
etag (str) – The etag of the zone.
max_number_of_record_sets (int) – The maximum number of record sets that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
max_number_of_records_per_record_set (int) – The maximum number of records per record set that can be created in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
number_of_record_sets (int) – The current number of record sets in this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
name_servers (list[str]) – The name servers for this DNS zone. This is a read-only property and any attempt to set this value will be ignored.
zone_type (str or ZoneType) – The type of this DNS zone (Public or Private). Known values are: “Public” and “Private”.
registration_virtual_networks (list[SubResource]) – A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
resolution_virtual_networks (list[SubResource]) – A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
- Keyword Arguments
location (str) – The geo-location where the resource lives. Required.
etag (str) – The etag of the zone.
zone_type (str or ZoneType) – The type of this DNS zone (Public or Private). Known values are: “Public” and “Private”.
registration_virtual_networks (list[SubResource]) – A list of references to virtual networks that register hostnames in this DNS zone. This is a only when ZoneType is Private.
resolution_virtual_networks (list[SubResource]) – A list of references to virtual networks that resolve records in this DNS zone. This is a only when ZoneType is Private.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
ZoneListResult
(*, value: Optional[List[_models.Zone]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
The response to a Zone List or ListAll operation.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
ZoneType
(value)[source]¶ -
The type of this DNS zone (Public or Private).
-
PRIVATE
= 'Private'¶
-
PUBLIC
= 'Public'¶
-