azure.mgmt.dns.v2018_03_01_preview.models module¶
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
AaaaRecord
(*, ipv6_address: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An AAAA record.
- Parameters
ipv6_address (str) – The IPv6 address of this AAAA record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
ARecord
(*, ipv4_address: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An A record.
- Parameters
ipv4_address (str) – The IPv4 address of this A record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
AzureEntityResource
(**kwargs)[source]¶ Bases:
azure.mgmt.dns.v2018_03_01_preview.models._models_py3.Resource
The resource model definition for a Azure Resource Manager resource with an etag.
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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
etag (str) – Resource Etag.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
CaaRecord
(*, flags: int = None, tag: str = None, value: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A CAA record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
CnameRecord
(*, cname: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A CNAME record.
- Parameters
cname (str) – The canonical name for this CNAME record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
MxRecord
(*, preference: int = None, exchange: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An MX record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
NsRecord
(*, nsdname: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An NS record.
- Parameters
nsdname (str) – The name server name for this NS record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
ProxyResource
(**kwargs)[source]¶ Bases:
azure.mgmt.dns.v2018_03_01_preview.models._models_py3.Resource
The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.
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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
PtrRecord
(*, ptrdname: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A PTR record.
- Parameters
ptrdname (str) – The PTR target domain name for this PTR record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
RecordSet
(*, etag: str = None, metadata=None, ttl: int = 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.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
- 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.
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_03_01_preview.models.
RecordSetUpdateParameters
(*, record_set=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Parameters supplied to update a record set.
- Parameters
record_set (RecordSet) – Specifies information about the record set being updated.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
Resource
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
Resource.
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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
-
class
azure.mgmt.dns.v2018_03_01_preview.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.Model
An 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_03_01_preview.models.
SrvRecord
(*, priority: int = None, weight: int = None, port: int = None, target: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An SRV record.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
SubResource
(*, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A reference to a another resource.
- Parameters
id (str) – Resource Id.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
TrackedResource
(*, location: str, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.dns.v2018_03_01_preview.models._models_py3.Resource
The resource model definition for a ARM tracked top level 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
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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
- Parameters
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
TxtRecord
(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A TXT record.
-
class
azure.mgmt.dns.v2018_03_01_preview.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_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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
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. The geo-location where the resource lives
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_03_01_preview.models.
ZoneUpdate
(*, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Describes a request to update a DNS zone.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
RecordSetPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
RecordSet
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.dns.v2018_03_01_preview.models.
ZonePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Zone
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.