azure.mgmt.privatedns.models module¶
-
class
azure.mgmt.privatedns.models.
PrivateZone
(*, tags=None, location: str = None, etag: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.privatedns.models.tracked_resource_py3.TrackedResource
Describes a Private DNS zone.
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. Example - ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}’.
name (str) – The name of the resource
type (str) – The type of the resource. Example - ‘Microsoft.Network/privateDnsZones’.
max_number_of_record_sets (long) – The maximum number of record sets that can be created in this Private 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 Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
max_number_of_virtual_network_links (long) – The maximum number of virtual networks that can be linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
number_of_virtual_network_links (long) – The current number of virtual networks that are linked to this Private DNS zone. This is a read-only property and any attempt to set this value will be ignored.
max_number_of_virtual_network_links_with_registration (long) – The maximum number of virtual networks that can be linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.
number_of_virtual_network_links_with_registration (long) – The current number of virtual networks that are linked to this Private DNS zone with registration enabled. This is a read-only property and any attempt to set this value will be ignored.
provisioning_state (str or ProvisioningState) – The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored. Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’
- Parameters
-
class
azure.mgmt.privatedns.models.
SubResource
(*, id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Reference to another subresource.
- Parameters
id (str) – Resource ID.
-
class
azure.mgmt.privatedns.models.
VirtualNetworkLink
(*, tags=None, location: str = None, etag: str = None, virtual_network=None, registration_enabled: bool = None, **kwargs)[source]¶ Bases:
azure.mgmt.privatedns.models.tracked_resource_py3.TrackedResource
Describes a link to virtual network for a Private DNS zone.
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. Example - ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}’.
name (str) – The name of the resource
type (str) – The type of the resource. Example - ‘Microsoft.Network/privateDnsZones’.
virtual_network_link_state (str or VirtualNetworkLinkState) – The status of the virtual network link to the Private DNS zone. Possible values are ‘InProgress’ and ‘Done’. This is a read-only property and any attempt to set this value will be ignored. Possible values include: ‘InProgress’, ‘Completed’
provisioning_state (str or ProvisioningState) – The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored. Possible values include: ‘Creating’, ‘Updating’, ‘Deleting’, ‘Succeeded’, ‘Failed’, ‘Canceled’
- Parameters
location (str) – The Azure Region where the resource lives
etag (str) – The ETag of the virtual network link.
virtual_network (SubResource) – The reference of the virtual network.
registration_enabled (bool) – Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?
-
class
azure.mgmt.privatedns.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.privatedns.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.privatedns.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.privatedns.models.
MxRecord
(*, preference: int = None, exchange: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
An MX record.
-
class
azure.mgmt.privatedns.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.privatedns.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.privatedns.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.privatedns.models.
TxtRecord
(*, value=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
A TXT record.
-
class
azure.mgmt.privatedns.models.
RecordSet
(*, etag: str = None, metadata=None, ttl: int = None, a_records=None, aaaa_records=None, cname_record=None, mx_records=None, ptr_records=None, soa_record=None, srv_records=None, txt_records=None, **kwargs)[source]¶ Bases:
azure.mgmt.privatedns.models.proxy_resource_py3.ProxyResource
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.
- Variables
id (str) – Fully qualified resource Id for the resource. Example - ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}’.
name (str) – The name of the resource
type (str) – The type of the resource. Example - ‘Microsoft.Network/privateDnsZones’.
fqdn (str) – Fully qualified domain name of the record set.
is_auto_registered (bool) – Is the record set auto-registered in the Private DNS zone through a virtual network link?
- 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.
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.
cname_record (CnameRecord) – The CNAME record in the record set.
mx_records (list[MxRecord]) – The list of MX records in the record set.
ptr_records (list[PtrRecord]) – The list of PTR records in the record set.
soa_record (SoaRecord) – The SOA record 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.
-
class
azure.mgmt.privatedns.models.
Resource
(**kwargs)[source]¶ Bases:
msrest.serialization.Model
The core properties of ARM 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. Example - ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}’.
name (str) – The name of the resource
type (str) – The type of the resource. Example - ‘Microsoft.Network/privateDnsZones’.
-
class
azure.mgmt.privatedns.models.
TrackedResource
(*, tags=None, location: str = None, **kwargs)[source]¶ Bases:
azure.mgmt.privatedns.models.resource_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.
- Variables
id (str) – Fully qualified resource Id for the resource. Example - ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}’.
name (str) – The name of the resource
type (str) – The type of the resource. Example - ‘Microsoft.Network/privateDnsZones’.
- Parameters
-
class
azure.mgmt.privatedns.models.
ProxyResource
(**kwargs)[source]¶ Bases:
azure.mgmt.privatedns.models.resource_py3.Resource
The resource model definition for an ARM proxy 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. Example - ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}’.
name (str) – The name of the resource
type (str) – The type of the resource. Example - ‘Microsoft.Network/privateDnsZones’.
-
class
azure.mgmt.privatedns.models.
PrivateZonePaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
PrivateZone
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.privatedns.models.
VirtualNetworkLinkPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
VirtualNetworkLink
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.privatedns.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.privatedns.models.
ProvisioningState
[source]¶ -
An enumeration.
-
canceled
= 'Canceled'¶
-
creating
= 'Creating'¶
-
deleting
= 'Deleting'¶
-
failed
= 'Failed'¶
-
succeeded
= 'Succeeded'¶
-
updating
= 'Updating'¶
-