azure.mgmt.dns.v2018_05_01.models module¶
-
class
azure.mgmt.dns.v2018_05_01.models.AaaaRecord(*, ipv6_address: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelAn AAAA record.
Parameters: ipv6_address (str) – The IPv6 address of this AAAA record.
-
class
azure.mgmt.dns.v2018_05_01.models.ARecord(*, ipv4_address: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelAn A record.
Parameters: ipv4_address (str) – The IPv4 address of this A record.
-
class
azure.mgmt.dns.v2018_05_01.models.CaaRecord(*, flags: int = None, tag: str = None, value: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelA CAA record.
Parameters: - flags (int) – The flags for this CAA record as an integer between 0 and 255.
- tag (str) – The tag for this CAA record.
- value (str) – The value for this CAA record.
-
class
azure.mgmt.dns.v2018_05_01.models.CnameRecord(*, cname: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelA CNAME record.
Parameters: cname (str) – The canonical name for this CNAME record.
-
class
azure.mgmt.dns.v2018_05_01.models.DnsResourceReference(*, dns_resources=None, target_resource=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelRepresents a single Azure resource and its referencing DNS records.
Parameters: - dns_resources (list[SubResource]) – A list of dns Records
- target_resource (SubResource) – A reference to an azure resource from where the dns resource value is taken.
-
class
azure.mgmt.dns.v2018_05_01.models.DnsResourceReferenceRequest(*, target_resources=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelRepresents the properties of the Dns Resource Reference Request.
Parameters: target_resources (list[SubResource]) – A list of references to azure resources for which referencing dns records need to be queried.
-
class
azure.mgmt.dns.v2018_05_01.models.DnsResourceReferenceResult(*, dns_resource_references=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelRepresents the properties of the Dns Resource Reference Result.
Parameters: dns_resource_references (list[DnsResourceReference]) – The result of dns resource reference request. A list of dns resource references for each of the azure resource in the request
-
class
azure.mgmt.dns.v2018_05_01.models.MxRecord(*, preference: int = None, exchange: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelAn MX record.
Parameters: - preference (int) – The preference value for this MX record.
- exchange (str) – The domain name of the mail host for this MX record.
-
class
azure.mgmt.dns.v2018_05_01.models.NsRecord(*, nsdname: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelAn NS record.
Parameters: nsdname (str) – The name server name for this NS record.
-
class
azure.mgmt.dns.v2018_05_01.models.PtrRecord(*, ptrdname: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelA PTR record.
Parameters: ptrdname (str) – The PTR target domain name for this PTR record.
-
class
azure.mgmt.dns.v2018_05_01.models.RecordSet(*, etag: str = None, metadata=None, ttl: int = None, target_resource=None, arecords=None, aaaa_records=None, mx_records=None, ns_records=None, ptr_records=None, srv_records=None, txt_records=None, cname_record=None, soa_record=None, caa_records=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelDescribes 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: Parameters: - etag (str) – The etag of the record set.
- metadata (dict[str, str]) – The metadata attached to the record set.
- ttl (long) – The TTL (time-to-live) of the records in the record set.
- target_resource (SubResource) – A reference to an azure resource from where the dns resource value is taken.
- arecords (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_05_01.models.RecordSetUpdateParameters(*, record_set=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelParameters supplied to update a record set.
Parameters: record_set (RecordSet) – Specifies information about the record set being updated.
-
class
azure.mgmt.dns.v2018_05_01.models.Resource(*, location: str, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelCommon properties of an Azure Resource Manager resource.
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: Parameters: - location (str) – Required. Resource location.
- tags (dict[str, str]) – Resource tags.
-
class
azure.mgmt.dns.v2018_05_01.models.SoaRecord(*, host: str = None, email: str = None, serial_number: int = None, refresh_time: int = None, retry_time: int = None, expire_time: int = None, minimum_ttl: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelAn SOA record.
Parameters: - 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 (long) – The serial number for this SOA record.
- refresh_time (long) – The refresh value for this SOA record.
- retry_time (long) – The retry time for this SOA record.
- expire_time (long) – The expire time for this SOA record.
- minimum_ttl (long) – The minimum value for this SOA record. By convention this is used to determine the negative caching duration.
-
class
azure.mgmt.dns.v2018_05_01.models.SrvRecord(*, priority: int = None, weight: int = None, port: int = None, target: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelAn SRV record.
Parameters: - priority (int) – The priority value for this SRV record.
- weight (int) – The weight value for this SRV record.
- port (int) – The port value for this SRV record.
- target (str) – The target domain name for this SRV record.
-
class
azure.mgmt.dns.v2018_05_01.models.SubResource(*, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelA reference to a another resource.
Parameters: id (str) – Resource Id.
-
class
azure.mgmt.dns.v2018_05_01.models.TxtRecord(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelA TXT record.
Parameters: value (list[str]) – The text value of this TXT record.
-
class
azure.mgmt.dns.v2018_05_01.models.Zone(*, location: str, tags=None, etag: str = None, zone_type='Public', registration_virtual_networks=None, resolution_virtual_networks=None, **kwargs)[source]¶ Bases:
azure.mgmt.dns.v2018_05_01.models._models_py3.ResourceDescribes 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) – Resource ID.
- name (str) – Resource name.
- type (str) – Resource type.
- max_number_of_record_sets (long) – 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.
- number_of_record_sets (long) – 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.
Parameters: - location (str) – Required. Resource location.
- tags (dict[str, str]) – Resource tags.
- etag (str) – The etag of the zone.
- zone_type (str or ZoneType) – The type of this DNS zone (Public or Private). Possible values include: ‘Public’, ‘Private’. Default value: “Public” .
- 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_05_01.models.ZoneUpdate(*, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelDescribes a request to update a DNS zone.
Parameters: tags (dict[str, str]) – Resource tags.
-
class
azure.mgmt.dns.v2018_05_01.models.RecordSetPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
RecordSetobject
-
class
azure.mgmt.dns.v2018_05_01.models.ZonePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
Zoneobject