azure.mgmt.dns.v2016_04_01.models module¶
-
class
azure.mgmt.dns.v2016_04_01.models.
ARecord
(*, ipv4_address: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An A record.
-
class
azure.mgmt.dns.v2016_04_01.models.
AaaaRecord
(*, ipv6_address: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An AAAA record.
-
class
azure.mgmt.dns.v2016_04_01.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.v2016_04_01.models.
CnameRecord
(*, cname: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A CNAME record.
-
class
azure.mgmt.dns.v2016_04_01.models.
HttpStatusCode
(value)[source]¶ -
HttpStatusCode.
-
ACCEPTED
= 'Accepted'¶
-
AMBIGUOUS
= 'Ambiguous'¶
-
BAD_GATEWAY
= 'BadGateway'¶
-
BAD_REQUEST
= 'BadRequest'¶
-
CONFLICT
= 'Conflict'¶
-
CONTINUE
= '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'¶
-
NON_AUTHORITATIVE_INFORMATION
= 'NonAuthoritativeInformation'¶
-
NOT_ACCEPTABLE
= 'NotAcceptable'¶
-
NOT_FOUND
= 'NotFound'¶
-
NOT_IMPLEMENTED
= 'NotImplemented'¶
-
NOT_MODIFIED
= 'NotModified'¶
-
NO_CONTENT
= 'NoContent'¶
-
OK
= 'OK'¶
-
PARTIAL_CONTENT
= 'PartialContent'¶
-
PAYMENT_REQUIRED
= 'PaymentRequired'¶
-
PRECONDITION_FAILED
= 'PreconditionFailed'¶
-
PROXY_AUTHENTICATION_REQUIRED
= 'ProxyAuthenticationRequired'¶
-
REDIRECT
= 'Redirect'¶
-
REDIRECT_KEEP_VERB
= 'RedirectKeepVerb'¶
-
REDIRECT_METHOD
= 'RedirectMethod'¶
-
REQUESTED_RANGE_NOT_SATISFIABLE
= 'RequestedRangeNotSatisfiable'¶
-
REQUEST_ENTITY_TOO_LARGE
= 'RequestEntityTooLarge'¶
-
REQUEST_TIMEOUT
= 'RequestTimeout'¶
-
REQUEST_URI_TOO_LONG
= 'RequestUriTooLong'¶
-
RESET_CONTENT
= 'ResetContent'¶
-
SEE_OTHER
= 'SeeOther'¶
-
SERVICE_UNAVAILABLE
= 'ServiceUnavailable'¶
-
SWITCHING_PROTOCOLS
= 'SwitchingProtocols'¶
-
TEMPORARY_REDIRECT
= 'TemporaryRedirect'¶
-
UNAUTHORIZED
= 'Unauthorized'¶
-
UNSUPPORTED_MEDIA_TYPE
= 'UnsupportedMediaType'¶
-
UNUSED
= 'Unused'¶
-
UPGRADE_REQUIRED
= 'UpgradeRequired'¶
-
USE_PROXY
= 'UseProxy'¶
-
-
class
azure.mgmt.dns.v2016_04_01.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.v2016_04_01.models.
NsRecord
(*, nsdname: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
An NS record.
-
class
azure.mgmt.dns.v2016_04_01.models.
OperationStatus
(value)[source]¶ -
OperationStatus.
-
FAILED
= 'Failed'¶
-
IN_PROGRESS
= 'InProgress'¶
-
SUCCEEDED
= 'Succeeded'¶
-
-
class
azure.mgmt.dns.v2016_04_01.models.
PtrRecord
(*, ptrdname: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A PTR record.
-
class
azure.mgmt.dns.v2016_04_01.models.
RecordSet
(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, 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, **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.
- Keyword Arguments
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 (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.
-
class
azure.mgmt.dns.v2016_04_01.models.
RecordSetListResult
(*, value: Optional[List[_models.RecordSet]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
The response to a record set List operation.
- Variables
- Keyword Arguments
-
class
azure.mgmt.dns.v2016_04_01.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.v2016_04_01.models.
RecordType
(value)[source]¶ -
RecordType.
-
A
= 'A'¶
-
AAAA
= 'AAAA'¶
-
CNAME
= 'CNAME'¶
-
MX
= 'MX'¶
-
NS
= 'NS'¶
-
PTR
= 'PTR'¶
-
SOA
= 'SOA'¶
-
SRV
= 'SRV'¶
-
TXT
= 'TXT'¶
-
-
class
azure.mgmt.dns.v2016_04_01.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.v2016_04_01.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.v2016_04_01.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.v2016_04_01.models.
SubResource
(*, id: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
SubResource.
-
class
azure.mgmt.dns.v2016_04_01.models.
TrackedResource
(*, location: str, tags: Optional[Dict[str, str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns.v2016_04_01.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.v2016_04_01.models.
TxtRecord
(*, value: Optional[List[str]] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
A TXT record.
-
class
azure.mgmt.dns.v2016_04_01.models.
Zone
(*, location: str, tags: Optional[Dict[str, str]] = None, etag: Optional[str] = None, max_number_of_record_sets: Optional[int] = None, number_of_record_sets: Optional[int] = None, zone_type: Union[str, _models.ZoneType] = 'Public', **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns.v2016_04_01.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”.
- Keyword Arguments
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.
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.
zone_type (str or ZoneType) – The type of this DNS zone (Public or Private). Known values are: “Public” and “Private”.
-
class
azure.mgmt.dns.v2016_04_01.models.
ZoneDeleteResult
(*, azure_async_operation: Optional[str] = None, status: Optional[Union[str, _models.OperationStatus]] = None, status_code: Optional[Union[str, _models.HttpStatusCode]] = None, request_id: Optional[str] = None, **kwargs: Any)[source]¶ Bases:
azure.mgmt.dns._serialization.Model
The response to a Zone Delete operation.
- Variables
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) – Known values are: “InProgress”, “Succeeded”, and “Failed”.
status_code (str or HttpStatusCode) – Known values are: “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”, and “HttpVersionNotSupported”.
request_id (str) –
- Keyword Arguments
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) – Known values are: “InProgress”, “Succeeded”, and “Failed”.
status_code (str or HttpStatusCode) – Known values are: “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”, and “HttpVersionNotSupported”.
request_id (str) –