azure.mgmt.dns.v2016_04_01.models module¶
-
class
azure.mgmt.dns.v2016_04_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.v2016_04_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.v2016_04_01.models.AzureEntityResource(**kwargs)[source]¶ Bases:
azure.mgmt.dns.v2016_04_01.models._models_py3.ResourceThe 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.v2016_04_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.v2016_04_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.v2016_04_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.v2016_04_01.models.ProxyResource(**kwargs)[source]¶ Bases:
azure.mgmt.dns.v2016_04_01.models._models_py3.ResourceThe 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.v2016_04_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.v2016_04_01.models.RecordSet(*, id: str = None, name: str = None, type: str = None, 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, **kwargs)[source]¶ Bases:
msrest.serialization.ModelDescribes a DNS record set (a collection of DNS records with the same name and type).
Parameters: - id (str) – The ID of the record set.
- name (str) – The name of the record set.
- type (str) – The type of the record set.
- 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.
-
class
azure.mgmt.dns.v2016_04_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.v2016_04_01.models.Resource(**kwargs)[source]¶ Bases:
msrest.serialization.ModelResource.
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.v2016_04_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.v2016_04_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.v2016_04_01.models.TrackedResource(*, location: str, tags=None, **kwargs)[source]¶ Bases:
azure.mgmt.dns.v2016_04_01.models._models_py3.ResourceThe 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: - tags (dict[str, str]) – Resource tags.
- location (str) – Required. The geo-location where the resource lives
-
class
azure.mgmt.dns.v2016_04_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.v2016_04_01.models.Zone(*, location: str, tags=None, etag: str = None, max_number_of_record_sets: int = None, number_of_record_sets: int = None, **kwargs)[source]¶ Bases:
azure.mgmt.dns.v2016_04_01.models._models_py3.TrackedResourceDescribes 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.
- 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: - tags (dict[str, str]) – Resource tags.
- location (str) – Required. The geo-location where the resource lives
- etag (str) – The etag of the zone.
- 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.
-
class
azure.mgmt.dns.v2016_04_01.models.ZoneDeleteResult(*, azure_async_operation: str = None, status=None, status_code=None, request_id: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.ModelThe response to a Zone Delete operation.
Parameters: - azure_async_operation (str) – Users can perform a Get on Azure-AsyncOperation to get the status of their delete Zone operations.
- status (str or OperationStatus) – Possible values include: ‘InProgress’, ‘Succeeded’, ‘Failed’
- status_code (str or HttpStatusCode) – Possible values include: ‘Continue’, ‘SwitchingProtocols’, ‘OK’, ‘Created’, ‘Accepted’, ‘NonAuthoritativeInformation’, ‘NoContent’, ‘ResetContent’, ‘PartialContent’, ‘MultipleChoices’, ‘Ambiguous’, ‘MovedPermanently’, ‘Moved’, ‘Found’, ‘Redirect’, ‘SeeOther’, ‘RedirectMethod’, ‘NotModified’, ‘UseProxy’, ‘Unused’, ‘TemporaryRedirect’, ‘RedirectKeepVerb’, ‘BadRequest’, ‘Unauthorized’, ‘PaymentRequired’, ‘Forbidden’, ‘NotFound’, ‘MethodNotAllowed’, ‘NotAcceptable’, ‘ProxyAuthenticationRequired’, ‘RequestTimeout’, ‘Conflict’, ‘Gone’, ‘LengthRequired’, ‘PreconditionFailed’, ‘RequestEntityTooLarge’, ‘RequestUriTooLong’, ‘UnsupportedMediaType’, ‘RequestedRangeNotSatisfiable’, ‘ExpectationFailed’, ‘UpgradeRequired’, ‘InternalServerError’, ‘NotImplemented’, ‘BadGateway’, ‘ServiceUnavailable’, ‘GatewayTimeout’, ‘HttpVersionNotSupported’
- request_id (str) –
-
class
azure.mgmt.dns.v2016_04_01.models.RecordSetPaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
RecordSetobject
-
class
azure.mgmt.dns.v2016_04_01.models.ZonePaged(*args, **kwargs)[source]¶ Bases:
msrest.paging.PagedA paging container for iterating over a list of
Zoneobject
-
class
azure.mgmt.dns.v2016_04_01.models.OperationStatus[source]¶ Bases:
str,enum.EnumAn enumeration.
-
failed= 'Failed'¶
-
in_progress= 'InProgress'¶
-
succeeded= 'Succeeded'¶
-
-
class
azure.mgmt.dns.v2016_04_01.models.HttpStatusCode[source]¶ Bases:
str,enum.EnumAn enumeration.
-
accepted= 'Accepted'¶
-
ambiguous= 'Ambiguous'¶
-
bad_gateway= 'BadGateway'¶
-
bad_request= 'BadRequest'¶
-
conflict= 'Conflict'¶
-
continue_enum= 'Continue'¶
-
created= 'Created'¶
-
expectation_failed= 'ExpectationFailed'¶
-
forbidden= 'Forbidden'¶
-
found= 'Found'¶
-
gateway_timeout= 'GatewayTimeout'¶
-
gone= 'Gone'¶
-
http_version_not_supported= 'HttpVersionNotSupported'¶
-
internal_server_error= 'InternalServerError'¶
-
length_required= 'LengthRequired'¶
-
method_not_allowed= 'MethodNotAllowed'¶
-
moved= 'Moved'¶
-
moved_permanently= 'MovedPermanently'¶
-
multiple_choices= 'MultipleChoices'¶
-
no_content= 'NoContent'¶
-
not_acceptable= 'NotAcceptable'¶
-
not_found= 'NotFound'¶
-
not_implemented= 'NotImplemented'¶
-
not_modified= 'NotModified'¶
-
ok= 'OK'¶
-
partial_content= 'PartialContent'¶
-
payment_required= 'PaymentRequired'¶
-
precondition_failed= 'PreconditionFailed'¶
-
proxy_authentication_required= 'ProxyAuthenticationRequired'¶
-
redirect= 'Redirect'¶
-
redirect_keep_verb= 'RedirectKeepVerb'¶
-
redirect_method= 'RedirectMethod'¶
-
request_entity_too_large= 'RequestEntityTooLarge'¶
-
request_timeout= 'RequestTimeout'¶
-
request_uri_too_long= 'RequestUriTooLong'¶
-
requested_range_not_satisfiable= 'RequestedRangeNotSatisfiable'¶
-
reset_content= 'ResetContent'¶
-
see_other= 'SeeOther'¶
-
switching_protocols= 'SwitchingProtocols'¶
-
temporary_redirect= 'TemporaryRedirect'¶
-
unsupported_media_type= 'UnsupportedMediaType'¶
-
unused= 'Unused'¶
-
upgrade_required= 'UpgradeRequired'¶
-
use_proxy= 'UseProxy'¶
-