From 60bcba6851451c80fc1617f3589044765a1631d6 Mon Sep 17 00:00:00 2001 From: Muhammad Waqar Date: Thu, 15 Mar 2018 22:47:14 +0500 Subject: [PATCH] Adding CLI extension for Private DNS Public Preview (#100) * Adding CLI extension for Private DNS Public Preview. * Running test_static.sh * Adding dependency on msrestazure * Adding a pylint ignore for import-error * Fixing more pylint errors * Recording tests and uploading wheel package to blob storage. * Adding API version when creating DnsManagementClient * Re-recording tests. * Correcting sha256Digest * Re-recording test with latest master * Adding summary for tags. --- .github/CODEOWNERS | 4 +- src/dns/azext_dns/__init__.py | 30 + src/dns/azext_dns/_client_factory.py | 10 + src/dns/azext_dns/_help.py | 52 + src/dns/azext_dns/_params.py | 28 + src/dns/azext_dns/_validators.py | 45 + src/dns/azext_dns/commands.py | 19 + src/dns/azext_dns/custom.py | 43 + src/dns/azext_dns/dns/__init__.py | 17 + .../azext_dns/dns/dns_management_client.py | 88 + src/dns/azext_dns/dns/models/__init__.py | 56 + src/dns/azext_dns/dns/models/aaaa_record.py | 28 + src/dns/azext_dns/dns/models/arecord.py | 28 + src/dns/azext_dns/dns/models/caa_record.py | 37 + src/dns/azext_dns/dns/models/cname_record.py | 28 + .../dns/models/dns_management_client_enums.py | 32 + src/dns/azext_dns/dns/models/mx_record.py | 32 + src/dns/azext_dns/dns/models/ns_record.py | 28 + src/dns/azext_dns/dns/models/ptr_record.py | 28 + src/dns/azext_dns/dns/models/record_set.py | 103 + .../azext_dns/dns/models/record_set_paged.py | 27 + .../models/record_set_update_parameters.py | 29 + src/dns/azext_dns/dns/models/resource.py | 54 + src/dns/azext_dns/dns/models/soa_record.py | 54 + src/dns/azext_dns/dns/models/srv_record.py | 40 + src/dns/azext_dns/dns/models/sub_resource.py | 28 + src/dns/azext_dns/dns/models/txt_record.py | 28 + src/dns/azext_dns/dns/models/zone.py | 92 + src/dns/azext_dns/dns/models/zone_paged.py | 27 + src/dns/azext_dns/dns/models/zone_update.py | 28 + src/dns/azext_dns/dns/operations/__init__.py | 18 + .../dns/operations/record_sets_operations.py | 616 ++++ .../dns/operations/zones_operations.py | 515 +++ src/dns/azext_dns/dns/version.py | 12 + src/dns/azext_dns/tests/__init__.py | 4 + src/dns/azext_dns/tests/latest/__init__.py | 4 + .../tests/latest/recordings/test_dns.yaml | 2592 +++++++++++++++ .../latest/recordings/test_private_dns.yaml | 2776 +++++++++++++++++ .../tests/latest/test_dns_commands.py | 173 + src/dns/setup.cfg | 2 + src/dns/setup.py | 40 + src/index.json | 45 + 42 files changed, 7939 insertions(+), 1 deletion(-) create mode 100644 src/dns/azext_dns/__init__.py create mode 100644 src/dns/azext_dns/_client_factory.py create mode 100644 src/dns/azext_dns/_help.py create mode 100644 src/dns/azext_dns/_params.py create mode 100644 src/dns/azext_dns/_validators.py create mode 100644 src/dns/azext_dns/commands.py create mode 100644 src/dns/azext_dns/custom.py create mode 100644 src/dns/azext_dns/dns/__init__.py create mode 100644 src/dns/azext_dns/dns/dns_management_client.py create mode 100644 src/dns/azext_dns/dns/models/__init__.py create mode 100644 src/dns/azext_dns/dns/models/aaaa_record.py create mode 100644 src/dns/azext_dns/dns/models/arecord.py create mode 100644 src/dns/azext_dns/dns/models/caa_record.py create mode 100644 src/dns/azext_dns/dns/models/cname_record.py create mode 100644 src/dns/azext_dns/dns/models/dns_management_client_enums.py create mode 100644 src/dns/azext_dns/dns/models/mx_record.py create mode 100644 src/dns/azext_dns/dns/models/ns_record.py create mode 100644 src/dns/azext_dns/dns/models/ptr_record.py create mode 100644 src/dns/azext_dns/dns/models/record_set.py create mode 100644 src/dns/azext_dns/dns/models/record_set_paged.py create mode 100644 src/dns/azext_dns/dns/models/record_set_update_parameters.py create mode 100644 src/dns/azext_dns/dns/models/resource.py create mode 100644 src/dns/azext_dns/dns/models/soa_record.py create mode 100644 src/dns/azext_dns/dns/models/srv_record.py create mode 100644 src/dns/azext_dns/dns/models/sub_resource.py create mode 100644 src/dns/azext_dns/dns/models/txt_record.py create mode 100644 src/dns/azext_dns/dns/models/zone.py create mode 100644 src/dns/azext_dns/dns/models/zone_paged.py create mode 100644 src/dns/azext_dns/dns/models/zone_update.py create mode 100644 src/dns/azext_dns/dns/operations/__init__.py create mode 100644 src/dns/azext_dns/dns/operations/record_sets_operations.py create mode 100644 src/dns/azext_dns/dns/operations/zones_operations.py create mode 100644 src/dns/azext_dns/dns/version.py create mode 100644 src/dns/azext_dns/tests/__init__.py create mode 100644 src/dns/azext_dns/tests/latest/__init__.py create mode 100644 src/dns/azext_dns/tests/latest/recordings/test_dns.yaml create mode 100644 src/dns/azext_dns/tests/latest/recordings/test_private_dns.yaml create mode 100644 src/dns/azext_dns/tests/latest/test_dns_commands.py create mode 100644 src/dns/setup.cfg create mode 100644 src/dns/setup.py diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fffbddb3278..dcac48ffb9d 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -20,4 +20,6 @@ /src/alias/ @chewong @troydai -/src/managementpartner/ @jeffrey-ace \ No newline at end of file +/src/managementpartner/ @jeffrey-ace + +/src/dns/ @muwaqar \ No newline at end of file diff --git a/src/dns/azext_dns/__init__.py b/src/dns/azext_dns/__init__.py new file mode 100644 index 00000000000..45d6f98070d --- /dev/null +++ b/src/dns/azext_dns/__init__.py @@ -0,0 +1,30 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.core import AzCommandsLoader +from azure.cli.core.profiles import ResourceType +from ._help import helps # pylint: disable=unused-import + + +class DnsCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + dns_custom = CliCommandType(operations_tmpl='azext_dns.custom#{}') + super(DnsCommandsLoader, self).__init__(cli_ctx=cli_ctx, + resource_type=ResourceType.MGMT_NETWORK, + custom_command_type=dns_custom) + + def load_command_table(self, args): + from .commands import load_command_table + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + from ._params import load_arguments + load_arguments(self, command) + + +COMMAND_LOADER_CLS = DnsCommandsLoader diff --git a/src/dns/azext_dns/_client_factory.py b/src/dns/azext_dns/_client_factory.py new file mode 100644 index 00000000000..8d107e24924 --- /dev/null +++ b/src/dns/azext_dns/_client_factory.py @@ -0,0 +1,10 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + + +def cf_dns_mgmt_zones(cli_ctx, _): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from azext_dns.dns.dns_management_client import DnsManagementClient + return get_mgmt_service_client(cli_ctx, DnsManagementClient).zones diff --git a/src/dns/azext_dns/_help.py b/src/dns/azext_dns/_help.py new file mode 100644 index 00000000000..9e7b5b9c757 --- /dev/null +++ b/src/dns/azext_dns/_help.py @@ -0,0 +1,52 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from knack.help_files import helps + +# pylint: disable=line-too-long, too-many-lines + +helps['network dns'] = """ + type: group + short-summary: Manage DNS domains in Azure. +""" + +helps['network dns zone'] = """ + type: group + short-summary: Manage DNS zones. +""" + +helps['network dns zone create'] = """ + type: command + short-summary: Create a DNS zone. + parameters: + - name: --if-none-match + short-summary: Only create a DNS zone if one doesn't exist that matches the given name. + - name: --tags + short-summary: Resource tags for the DNS zone. + - name: --zone-type + short-summary: Type of the zone to be created. Valid values are 'Public' and 'Private'. + - name: --registration-vnets + short-summary: Space-separated names or IDs of virtual networks that register hostnames in this DNS zone. Only applies to 'Private' zones. + - name: --resolution-vnets + short-summary: Space-separated names or IDs of virtual networks that resolve records in this DNS zone. Only applies to 'Private' zones. + examples: + - name: Create a DNS zone using a fully qualified domain name. + text: > + az network dns zone create -g MyResourceGroup -n www.mysite.com +""" + +helps['network dns zone update'] = """ + type: command + short-summary: Update a DNS zone's properties. Does not modify DNS records within the zone. + parameters: + - name: --if-match + short-summary: Update only if the resource with the same ETAG exists. + - name: --tags + short-summary: Resource tags for the DNS zone. + - name: --registration-vnets + short-summary: Space-separated names or IDs of virtual networks that register hostnames in this DNS zone. Only applies to 'Private' zones. + - name: --resolution-vnets + short-summary: Space-separated names or IDs of virtual networks that resolve records in this DNS zone. Only applies to 'Private' zones. +""" diff --git a/src/dns/azext_dns/_params.py b/src/dns/azext_dns/_params.py new file mode 100644 index 00000000000..812f7d6f329 --- /dev/null +++ b/src/dns/azext_dns/_params.py @@ -0,0 +1,28 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long +from azure.cli.core.commands.parameters import get_enum_type +from azext_dns.dns.models import ZoneType +from azext_dns._validators import (dns_zone_name_type, get_vnet_validator, validate_metadata) +from knack.arguments import CLIArgumentType + + +def load_arguments(self, _): + name_arg_type = CLIArgumentType(options_list=('--name', '-n'), metavar='NAME') + + with self.argument_context('network dns') as c: + c.argument('record_set_name', name_arg_type, help='The name of the record set, relative to the name of the zone.') + c.argument('relative_record_set_name', name_arg_type, help='The name of the record set, relative to the name of the zone.') + c.argument('zone_name', options_list=('--zone-name', '-z'), help='The name of the zone.', type=dns_zone_name_type) + c.argument('metadata', nargs='+', help='Metadata in space-separated key=value pairs. This overwrites any existing metadata.', validator=validate_metadata) + + with self.argument_context('network dns zone') as c: + c.argument('zone_name', name_arg_type) + c.ignore('location') + + c.argument('zone_type', help='Type of DNS zone to create.', arg_type=get_enum_type(ZoneType)) + c.argument('registration_vnets', arg_group='Private Zone', nargs='+', help='Space-separated names or IDs of virtual networks that register hostnames in this DNS zone.', validator=get_vnet_validator('registration_vnets')) + c.argument('resolution_vnets', arg_group='Private Zone', nargs='+', help='Space-separated names or IDs of virtual networks that resolve records in this DNS zone.', validator=get_vnet_validator('resolution_vnets')) diff --git a/src/dns/azext_dns/_validators.py b/src/dns/azext_dns/_validators.py new file mode 100644 index 00000000000..ba92465bdbb --- /dev/null +++ b/src/dns/azext_dns/_validators.py @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.core.commands.client_factory import get_subscription_id + + +# pylint: disable=inconsistent-return-statements +def dns_zone_name_type(value): + if value: + return value[:-1] if value[-1] == '.' else value + + +def validate_metadata(namespace): + if namespace.metadata: + namespace.metadata = dict(x.split('=', 1) for x in namespace.metadata) + + +def get_vnet_validator(dest): + from msrestazure.tools import is_valid_resource_id, resource_id # pylint:disable=import-error + + def _validate_vnet_name_or_id(cmd, namespace): + SubResource = cmd.get_models('SubResource') + subscription_id = get_subscription_id(cmd.cli_ctx) + + resource_group = namespace.resource_group_name + names_or_ids = getattr(namespace, dest) + ids = [] + + if names_or_ids == [""] or not names_or_ids: + return + + for val in names_or_ids: + if not is_valid_resource_id(val): + val = resource_id( + subscription=subscription_id, + resource_group=resource_group, + namespace='Microsoft.Network', type='virtualNetworks', + name=val + ) + ids.append(SubResource(id=val)) + setattr(namespace, dest, ids) + + return _validate_vnet_name_or_id diff --git a/src/dns/azext_dns/commands.py b/src/dns/azext_dns/commands.py new file mode 100644 index 00000000000..f9f816dc0eb --- /dev/null +++ b/src/dns/azext_dns/commands.py @@ -0,0 +1,19 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.core.commands import CliCommandType +from azext_dns._client_factory import (cf_dns_mgmt_zones) + + +def load_command_table(self, _): + + network_dns_zone_sdk = CliCommandType( + operations_tmpl='azext_dns.dns.operations.zones_operations#ZonesOperations.{}', + client_factory=cf_dns_mgmt_zones + ) + + with self.command_group('network dns zone', network_dns_zone_sdk) as g: + g.custom_command('create', 'create_dns_zone', client_factory=cf_dns_mgmt_zones) + g.generic_update_command('update', custom_func_name='update_dns_zone') diff --git a/src/dns/azext_dns/custom.py b/src/dns/azext_dns/custom.py new file mode 100644 index 00000000000..c85b0056799 --- /dev/null +++ b/src/dns/azext_dns/custom.py @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from __future__ import print_function +from knack.log import get_logger +from azext_dns.dns.models import (Zone) + +logger = get_logger(__name__) + + +def create_dns_zone(client, resource_group_name, zone_name, location='global', tags=None, + if_none_match=False, zone_type='Public', resolution_vnets=None, registration_vnets=None): + zone = Zone(location=location, tags=tags) + + if hasattr(zone, 'zone_type'): + zone.zone_type = zone_type + zone.registration_virtual_networks = registration_vnets + zone.resolution_virtual_networks = resolution_vnets + + return client.create_or_update(resource_group_name, zone_name, zone, if_none_match='*' if if_none_match else None) + + +def update_dns_zone(instance, tags=None, zone_type=None, resolution_vnets=None, registration_vnets=None): + + if tags is not None: + instance.tags = tags + + if zone_type: + instance.zone_type = zone_type + + if resolution_vnets == ['']: + instance.resolution_virtual_networks = None + elif resolution_vnets: + instance.resolution_virtual_networks = resolution_vnets + + if registration_vnets == ['']: + instance.registration_virtual_networks = None + elif registration_vnets: + instance.registration_virtual_networks = registration_vnets + + return instance diff --git a/src/dns/azext_dns/dns/__init__.py b/src/dns/azext_dns/dns/__init__.py new file mode 100644 index 00000000000..963072ff63b --- /dev/null +++ b/src/dns/azext_dns/dns/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .dns_management_client import DnsManagementClient +from .version import VERSION + +__all__ = ['DnsManagementClient'] + +__version__ = VERSION diff --git a/src/dns/azext_dns/dns/dns_management_client.py b/src/dns/azext_dns/dns/dns_management_client.py new file mode 100644 index 00000000000..e058dc4f77f --- /dev/null +++ b/src/dns/azext_dns/dns/dns_management_client.py @@ -0,0 +1,88 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.service_client import ServiceClient +from msrest import Serializer, Deserializer +from msrestazure import AzureConfiguration +from .version import VERSION +from .operations.record_sets_operations import RecordSetsOperations +from .operations.zones_operations import ZonesOperations +from . import models + + +class DnsManagementClientConfiguration(AzureConfiguration): + """Configuration for DnsManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Specifies the Azure subscription ID, which + uniquely identifies the Microsoft Azure subscription. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not base_url: + base_url = 'https://management.azure.com' + + super(DnsManagementClientConfiguration, self).__init__(base_url) + + self.add_user_agent('azure-mgmt-dns/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id + + +class DnsManagementClient(object): + """The DNS Management Client. + + :ivar config: Configuration for client. + :vartype config: DnsManagementClientConfiguration + + :ivar record_sets: RecordSets operations + :vartype record_sets: azure.mgmt.dns.operations.RecordSetsOperations + :ivar zones: Zones operations + :vartype zones: azure.mgmt.dns.operations.ZonesOperations + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Specifies the Azure subscription ID, which + uniquely identifies the Microsoft Azure subscription. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + self.config = DnsManagementClientConfiguration(credentials, subscription_id, base_url) + self._client = ServiceClient(self.config.credentials, self.config) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self.api_version = '2018-03-01-preview' + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.record_sets = RecordSetsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.zones = ZonesOperations( + self._client, self.config, self._serialize, self._deserialize) diff --git a/src/dns/azext_dns/dns/models/__init__.py b/src/dns/azext_dns/dns/models/__init__.py new file mode 100644 index 00000000000..43d1fc22007 --- /dev/null +++ b/src/dns/azext_dns/dns/models/__init__.py @@ -0,0 +1,56 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .arecord import ARecord +from .aaaa_record import AaaaRecord +from .mx_record import MxRecord +from .ns_record import NsRecord +from .ptr_record import PtrRecord +from .srv_record import SrvRecord +from .txt_record import TxtRecord +from .cname_record import CnameRecord +from .soa_record import SoaRecord +from .caa_record import CaaRecord +from .record_set import RecordSet +from .record_set_update_parameters import RecordSetUpdateParameters +from .sub_resource import SubResource +from .zone import Zone +from .zone_update import ZoneUpdate +from .resource import Resource +from .record_set_paged import RecordSetPaged +from .zone_paged import ZonePaged +from .dns_management_client_enums import ( + ZoneType, + RecordType, +) + +__all__ = [ + 'ARecord', + 'AaaaRecord', + 'MxRecord', + 'NsRecord', + 'PtrRecord', + 'SrvRecord', + 'TxtRecord', + 'CnameRecord', + 'SoaRecord', + 'CaaRecord', + 'RecordSet', + 'RecordSetUpdateParameters', + 'SubResource', + 'Zone', + 'ZoneUpdate', + 'Resource', + 'RecordSetPaged', + 'ZonePaged', + 'ZoneType', + 'RecordType', +] diff --git a/src/dns/azext_dns/dns/models/aaaa_record.py b/src/dns/azext_dns/dns/models/aaaa_record.py new file mode 100644 index 00000000000..69167abed96 --- /dev/null +++ b/src/dns/azext_dns/dns/models/aaaa_record.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AaaaRecord(Model): + """An AAAA record. + + :param ipv6_address: The IPv6 address of this AAAA record. + :type ipv6_address: str + """ + + _attribute_map = { + 'ipv6_address': {'key': 'ipv6Address', 'type': 'str'}, + } + + def __init__(self, ipv6_address=None): + super(AaaaRecord, self).__init__() + self.ipv6_address = ipv6_address diff --git a/src/dns/azext_dns/dns/models/arecord.py b/src/dns/azext_dns/dns/models/arecord.py new file mode 100644 index 00000000000..430dd1b8cbf --- /dev/null +++ b/src/dns/azext_dns/dns/models/arecord.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ARecord(Model): + """An A record. + + :param ipv4_address: The IPv4 address of this A record. + :type ipv4_address: str + """ + + _attribute_map = { + 'ipv4_address': {'key': 'ipv4Address', 'type': 'str'}, + } + + def __init__(self, ipv4_address=None): + super(ARecord, self).__init__() + self.ipv4_address = ipv4_address diff --git a/src/dns/azext_dns/dns/models/caa_record.py b/src/dns/azext_dns/dns/models/caa_record.py new file mode 100644 index 00000000000..2115ebba386 --- /dev/null +++ b/src/dns/azext_dns/dns/models/caa_record.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CaaRecord(Model): + """A CAA record. + + :param flags: The flags for this CAA record as an integer between 0 and + 255. + :type flags: int + :param tag: The tag for this CAA record. + :type tag: str + :param value: The value for this CAA record. + :type value: str + """ + + _attribute_map = { + 'flags': {'key': 'flags', 'type': 'int'}, + 'tag': {'key': 'tag', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, flags=None, tag=None, value=None): + super(CaaRecord, self).__init__() + self.flags = flags + self.tag = tag + self.value = value diff --git a/src/dns/azext_dns/dns/models/cname_record.py b/src/dns/azext_dns/dns/models/cname_record.py new file mode 100644 index 00000000000..ddabfad1421 --- /dev/null +++ b/src/dns/azext_dns/dns/models/cname_record.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CnameRecord(Model): + """A CNAME record. + + :param cname: The canonical name for this CNAME record. + :type cname: str + """ + + _attribute_map = { + 'cname': {'key': 'cname', 'type': 'str'}, + } + + def __init__(self, cname=None): + super(CnameRecord, self).__init__() + self.cname = cname diff --git a/src/dns/azext_dns/dns/models/dns_management_client_enums.py b/src/dns/azext_dns/dns/models/dns_management_client_enums.py new file mode 100644 index 00000000000..890749d4c90 --- /dev/null +++ b/src/dns/azext_dns/dns/models/dns_management_client_enums.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum + + +class ZoneType(Enum): + + public = "Public" + private = "Private" + + +class RecordType(Enum): + + a = "A" + aaaa = "AAAA" + caa = "CAA" + cname = "CNAME" + mx = "MX" + ns = "NS" + ptr = "PTR" + soa = "SOA" + srv = "SRV" + txt = "TXT" diff --git a/src/dns/azext_dns/dns/models/mx_record.py b/src/dns/azext_dns/dns/models/mx_record.py new file mode 100644 index 00000000000..6484a057c79 --- /dev/null +++ b/src/dns/azext_dns/dns/models/mx_record.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MxRecord(Model): + """An MX record. + + :param preference: The preference value for this MX record. + :type preference: int + :param exchange: The domain name of the mail host for this MX record. + :type exchange: str + """ + + _attribute_map = { + 'preference': {'key': 'preference', 'type': 'int'}, + 'exchange': {'key': 'exchange', 'type': 'str'}, + } + + def __init__(self, preference=None, exchange=None): + super(MxRecord, self).__init__() + self.preference = preference + self.exchange = exchange diff --git a/src/dns/azext_dns/dns/models/ns_record.py b/src/dns/azext_dns/dns/models/ns_record.py new file mode 100644 index 00000000000..ccfa7d0ab80 --- /dev/null +++ b/src/dns/azext_dns/dns/models/ns_record.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NsRecord(Model): + """An NS record. + + :param nsdname: The name server name for this NS record. + :type nsdname: str + """ + + _attribute_map = { + 'nsdname': {'key': 'nsdname', 'type': 'str'}, + } + + def __init__(self, nsdname=None): + super(NsRecord, self).__init__() + self.nsdname = nsdname diff --git a/src/dns/azext_dns/dns/models/ptr_record.py b/src/dns/azext_dns/dns/models/ptr_record.py new file mode 100644 index 00000000000..ea940466978 --- /dev/null +++ b/src/dns/azext_dns/dns/models/ptr_record.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class PtrRecord(Model): + """A PTR record. + + :param ptrdname: The PTR target domain name for this PTR record. + :type ptrdname: str + """ + + _attribute_map = { + 'ptrdname': {'key': 'ptrdname', 'type': 'str'}, + } + + def __init__(self, ptrdname=None): + super(PtrRecord, self).__init__() + self.ptrdname = ptrdname diff --git a/src/dns/azext_dns/dns/models/record_set.py b/src/dns/azext_dns/dns/models/record_set.py new file mode 100644 index 00000000000..f29c5f5bf8f --- /dev/null +++ b/src/dns/azext_dns/dns/models/record_set.py @@ -0,0 +1,103 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class RecordSet(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. + + :ivar id: The ID of the record set. + :vartype id: str + :ivar name: The name of the record set. + :vartype name: str + :ivar type: The type of the record set. + :vartype type: str + :param etag: The etag of the record set. + :type etag: str + :param metadata: The metadata attached to the record set. + :type metadata: dict[str, str] + :param ttl: The TTL (time-to-live) of the records in the record set. + :type ttl: long + :ivar fqdn: Fully qualified domain name of the record set. + :vartype fqdn: str + :param arecords: The list of A records in the record set. + :type arecords: list[~azure.mgmt.dns.models.ARecord] + :param aaaa_records: The list of AAAA records in the record set. + :type aaaa_records: list[~azure.mgmt.dns.models.AaaaRecord] + :param mx_records: The list of MX records in the record set. + :type mx_records: list[~azure.mgmt.dns.models.MxRecord] + :param ns_records: The list of NS records in the record set. + :type ns_records: list[~azure.mgmt.dns.models.NsRecord] + :param ptr_records: The list of PTR records in the record set. + :type ptr_records: list[~azure.mgmt.dns.models.PtrRecord] + :param srv_records: The list of SRV records in the record set. + :type srv_records: list[~azure.mgmt.dns.models.SrvRecord] + :param txt_records: The list of TXT records in the record set. + :type txt_records: list[~azure.mgmt.dns.models.TxtRecord] + :param cname_record: The CNAME record in the record set. + :type cname_record: ~azure.mgmt.dns.models.CnameRecord + :param soa_record: The SOA record in the record set. + :type soa_record: ~azure.mgmt.dns.models.SoaRecord + :param caa_records: The list of CAA records in the record set. + :type caa_records: list[~azure.mgmt.dns.models.CaaRecord] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'fqdn': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, + 'ttl': {'key': 'properties.TTL', 'type': 'long'}, + 'fqdn': {'key': 'properties.fqdn', 'type': 'str'}, + 'arecords': {'key': 'properties.ARecords', 'type': '[ARecord]'}, + 'aaaa_records': {'key': 'properties.AAAARecords', 'type': '[AaaaRecord]'}, + 'mx_records': {'key': 'properties.MXRecords', 'type': '[MxRecord]'}, + 'ns_records': {'key': 'properties.NSRecords', 'type': '[NsRecord]'}, + 'ptr_records': {'key': 'properties.PTRRecords', 'type': '[PtrRecord]'}, + 'srv_records': {'key': 'properties.SRVRecords', 'type': '[SrvRecord]'}, + 'txt_records': {'key': 'properties.TXTRecords', 'type': '[TxtRecord]'}, + 'cname_record': {'key': 'properties.CNAMERecord', 'type': 'CnameRecord'}, + 'soa_record': {'key': 'properties.SOARecord', 'type': 'SoaRecord'}, + 'caa_records': {'key': 'properties.caaRecords', 'type': '[CaaRecord]'}, + } + + def __init__(self, etag=None, metadata=None, ttl=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): + super(RecordSet, self).__init__() + self.id = None + self.name = None + self.type = None + self.etag = etag + self.metadata = metadata + self.ttl = ttl + self.fqdn = None + self.arecords = arecords + self.aaaa_records = aaaa_records + self.mx_records = mx_records + self.ns_records = ns_records + self.ptr_records = ptr_records + self.srv_records = srv_records + self.txt_records = txt_records + self.cname_record = cname_record + self.soa_record = soa_record + self.caa_records = caa_records diff --git a/src/dns/azext_dns/dns/models/record_set_paged.py b/src/dns/azext_dns/dns/models/record_set_paged.py new file mode 100644 index 00000000000..a4ba99f0e82 --- /dev/null +++ b/src/dns/azext_dns/dns/models/record_set_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class RecordSetPaged(Paged): + """ + A paging container for iterating over a list of :class:`RecordSet ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[RecordSet]'} + } + + def __init__(self, *args, **kwargs): + + super(RecordSetPaged, self).__init__(*args, **kwargs) diff --git a/src/dns/azext_dns/dns/models/record_set_update_parameters.py b/src/dns/azext_dns/dns/models/record_set_update_parameters.py new file mode 100644 index 00000000000..7cefe40b9e3 --- /dev/null +++ b/src/dns/azext_dns/dns/models/record_set_update_parameters.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class RecordSetUpdateParameters(Model): + """Parameters supplied to update a record set. + + :param record_set: Specifies information about the record set being + updated. + :type record_set: ~azure.mgmt.dns.models.RecordSet + """ + + _attribute_map = { + 'record_set': {'key': 'RecordSet', 'type': 'RecordSet'}, + } + + def __init__(self, record_set=None): + super(RecordSetUpdateParameters, self).__init__() + self.record_set = record_set diff --git a/src/dns/azext_dns/dns/models/resource.py b/src/dns/azext_dns/dns/models/resource.py new file mode 100644 index 00000000000..6e436130699 --- /dev/null +++ b/src/dns/azext_dns/dns/models/resource.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Resource(Model): + """Common properties of an Azure Resource Manager resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, location, tags=None): + super(Resource, self).__init__() + self.id = None + self.name = None + self.type = None + self.location = location + self.tags = tags diff --git a/src/dns/azext_dns/dns/models/soa_record.py b/src/dns/azext_dns/dns/models/soa_record.py new file mode 100644 index 00000000000..e96c7ac113b --- /dev/null +++ b/src/dns/azext_dns/dns/models/soa_record.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SoaRecord(Model): + """An SOA record. + + :param host: The domain name of the authoritative name server for this SOA + record. + :type host: str + :param email: The email contact for this SOA record. + :type email: str + :param serial_number: The serial number for this SOA record. + :type serial_number: long + :param refresh_time: The refresh value for this SOA record. + :type refresh_time: long + :param retry_time: The retry time for this SOA record. + :type retry_time: long + :param expire_time: The expire time for this SOA record. + :type expire_time: long + :param minimum_ttl: The minimum value for this SOA record. By convention + this is used to determine the negative caching duration. + :type minimum_ttl: long + """ + + _attribute_map = { + 'host': {'key': 'host', 'type': 'str'}, + 'email': {'key': 'email', 'type': 'str'}, + 'serial_number': {'key': 'serialNumber', 'type': 'long'}, + 'refresh_time': {'key': 'refreshTime', 'type': 'long'}, + 'retry_time': {'key': 'retryTime', 'type': 'long'}, + 'expire_time': {'key': 'expireTime', 'type': 'long'}, + 'minimum_ttl': {'key': 'minimumTTL', 'type': 'long'}, + } + + def __init__(self, host=None, email=None, serial_number=None, refresh_time=None, retry_time=None, expire_time=None, minimum_ttl=None): + super(SoaRecord, self).__init__() + self.host = host + self.email = email + self.serial_number = serial_number + self.refresh_time = refresh_time + self.retry_time = retry_time + self.expire_time = expire_time + self.minimum_ttl = minimum_ttl diff --git a/src/dns/azext_dns/dns/models/srv_record.py b/src/dns/azext_dns/dns/models/srv_record.py new file mode 100644 index 00000000000..5ed7d4b25f8 --- /dev/null +++ b/src/dns/azext_dns/dns/models/srv_record.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SrvRecord(Model): + """An SRV record. + + :param priority: The priority value for this SRV record. + :type priority: int + :param weight: The weight value for this SRV record. + :type weight: int + :param port: The port value for this SRV record. + :type port: int + :param target: The target domain name for this SRV record. + :type target: str + """ + + _attribute_map = { + 'priority': {'key': 'priority', 'type': 'int'}, + 'weight': {'key': 'weight', 'type': 'int'}, + 'port': {'key': 'port', 'type': 'int'}, + 'target': {'key': 'target', 'type': 'str'}, + } + + def __init__(self, priority=None, weight=None, port=None, target=None): + super(SrvRecord, self).__init__() + self.priority = priority + self.weight = weight + self.port = port + self.target = target diff --git a/src/dns/azext_dns/dns/models/sub_resource.py b/src/dns/azext_dns/dns/models/sub_resource.py new file mode 100644 index 00000000000..65eca8fcb11 --- /dev/null +++ b/src/dns/azext_dns/dns/models/sub_resource.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SubResource(Model): + """A reference to a another resource. + + :param id: Resource Id. + :type id: str + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + } + + def __init__(self, id=None): + super(SubResource, self).__init__() + self.id = id diff --git a/src/dns/azext_dns/dns/models/txt_record.py b/src/dns/azext_dns/dns/models/txt_record.py new file mode 100644 index 00000000000..5d1e5adfcf0 --- /dev/null +++ b/src/dns/azext_dns/dns/models/txt_record.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class TxtRecord(Model): + """A TXT record. + + :param value: The text value of this TXT record. + :type value: list[str] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[str]'}, + } + + def __init__(self, value=None): + super(TxtRecord, self).__init__() + self.value = value diff --git a/src/dns/azext_dns/dns/models/zone.py b/src/dns/azext_dns/dns/models/zone.py new file mode 100644 index 00000000000..729b4c4be26 --- /dev/null +++ b/src/dns/azext_dns/dns/models/zone.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class Zone(Resource): + """Describes a DNS zone. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Resource ID. + :vartype id: str + :ivar name: Resource name. + :vartype name: str + :ivar type: Resource type. + :vartype type: str + :param location: Resource location. + :type location: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param etag: The etag of the zone. + :type etag: str + :ivar max_number_of_record_sets: 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. + :vartype max_number_of_record_sets: long + :ivar number_of_record_sets: 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. + :vartype number_of_record_sets: long + :ivar name_servers: The name servers for this DNS zone. This is a + read-only property and any attempt to set this value will be ignored. + :vartype name_servers: list[str] + :param zone_type: The type of this DNS zone (Public or Private). Possible + values include: 'Public', 'Private'. Default value: "Public" . + :type zone_type: str or ~azure.mgmt.dns.models.ZoneType + :param registration_virtual_networks: A list of references to virtual + networks that register hostnames in this DNS zone. This is a only when + ZoneType is Private. + :type registration_virtual_networks: + list[~azure.mgmt.dns.models.SubResource] + :param resolution_virtual_networks: A list of references to virtual + networks that resolve records in this DNS zone. This is a only when + ZoneType is Private. + :type resolution_virtual_networks: + list[~azure.mgmt.dns.models.SubResource] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'max_number_of_record_sets': {'readonly': True}, + 'number_of_record_sets': {'readonly': True}, + 'name_servers': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'max_number_of_record_sets': {'key': 'properties.maxNumberOfRecordSets', 'type': 'long'}, + 'number_of_record_sets': {'key': 'properties.numberOfRecordSets', 'type': 'long'}, + 'name_servers': {'key': 'properties.nameServers', 'type': '[str]'}, + 'zone_type': {'key': 'properties.zoneType', 'type': 'ZoneType'}, + 'registration_virtual_networks': {'key': 'properties.registrationVirtualNetworks', 'type': '[SubResource]'}, + 'resolution_virtual_networks': {'key': 'properties.resolutionVirtualNetworks', 'type': '[SubResource]'}, + } + + def __init__(self, location, tags=None, etag=None, zone_type="Public", registration_virtual_networks=None, resolution_virtual_networks=None): + super(Zone, self).__init__(location=location, tags=tags) + self.etag = etag + self.max_number_of_record_sets = None + self.number_of_record_sets = None + self.name_servers = None + self.zone_type = zone_type + self.registration_virtual_networks = registration_virtual_networks + self.resolution_virtual_networks = resolution_virtual_networks diff --git a/src/dns/azext_dns/dns/models/zone_paged.py b/src/dns/azext_dns/dns/models/zone_paged.py new file mode 100644 index 00000000000..d0f6a3635c2 --- /dev/null +++ b/src/dns/azext_dns/dns/models/zone_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class ZonePaged(Paged): + """ + A paging container for iterating over a list of :class:`Zone ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Zone]'} + } + + def __init__(self, *args, **kwargs): + + super(ZonePaged, self).__init__(*args, **kwargs) diff --git a/src/dns/azext_dns/dns/models/zone_update.py b/src/dns/azext_dns/dns/models/zone_update.py new file mode 100644 index 00000000000..d9a94ed8f07 --- /dev/null +++ b/src/dns/azext_dns/dns/models/zone_update.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ZoneUpdate(Model): + """Describes a request to update a DNS zone. + + :param tags: Resource tags. + :type tags: dict[str, str] + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': '{str}'}, + } + + def __init__(self, tags=None): + super(ZoneUpdate, self).__init__() + self.tags = tags diff --git a/src/dns/azext_dns/dns/operations/__init__.py b/src/dns/azext_dns/dns/operations/__init__.py new file mode 100644 index 00000000000..0618026e6f2 --- /dev/null +++ b/src/dns/azext_dns/dns/operations/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .record_sets_operations import RecordSetsOperations +from .zones_operations import ZonesOperations + +__all__ = [ + 'RecordSetsOperations', + 'ZonesOperations', +] diff --git a/src/dns/azext_dns/dns/operations/record_sets_operations.py b/src/dns/azext_dns/dns/operations/record_sets_operations.py new file mode 100644 index 00000000000..b3dfbce58ba --- /dev/null +++ b/src/dns/azext_dns/dns/operations/record_sets_operations.py @@ -0,0 +1,616 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class RecordSetsOperations(object): + """RecordSetsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Specifies the API version. Constant value: "2018-03-01-preview". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-03-01-preview" + + self.config = config + + def update( + self, resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match=None, custom_headers=None, raw=False, **operation_config): + """Updates a record set within a DNS zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param relative_record_set_name: The name of the record set, relative + to the name of the zone. + :type relative_record_set_name: str + :param record_type: The type of DNS record in this record set. + Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX', 'NS', + 'PTR', 'SOA', 'SRV', 'TXT' + :type record_type: str or ~azure.mgmt.dns.models.RecordType + :param parameters: Parameters supplied to the Update operation. + :type parameters: ~azure.mgmt.dns.models.RecordSet + :param if_match: The etag of the record set. Omit this value to always + overwrite the current record set. Specify the last-seen etag value to + prevent accidentally overwritting concurrent changes. + :type if_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: RecordSet or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.dns.models.RecordSet or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'relativeRecordSetName': self._serialize.url("relative_record_set_name", relative_record_set_name, 'str', skip_quote=True), + 'recordType': self._serialize.url("record_type", record_type, 'RecordType'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'RecordSet') + + # Construct and send request + request = self._client.patch(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RecordSet', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}'} + + def create_or_update( + self, resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match=None, if_none_match=None, custom_headers=None, raw=False, **operation_config): + """Creates or updates a record set within a DNS zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param relative_record_set_name: The name of the record set, relative + to the name of the zone. + :type relative_record_set_name: str + :param record_type: The type of DNS record in this record set. Record + sets of type SOA can be updated but not created (they are created when + the DNS zone is created). Possible values include: 'A', 'AAAA', 'CAA', + 'CNAME', 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' + :type record_type: str or ~azure.mgmt.dns.models.RecordType + :param parameters: Parameters supplied to the CreateOrUpdate + operation. + :type parameters: ~azure.mgmt.dns.models.RecordSet + :param if_match: The etag of the record set. Omit this value to always + overwrite the current record set. Specify the last-seen etag value to + prevent accidentally overwritting any concurrent changes. + :type if_match: str + :param if_none_match: Set to '*' to allow a new record set to be + created, but to prevent updating an existing record set. Other values + will be ignored. + :type if_none_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: RecordSet or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.dns.models.RecordSet or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'relativeRecordSetName': self._serialize.url("relative_record_set_name", relative_record_set_name, 'str', skip_quote=True), + 'recordType': self._serialize.url("record_type", record_type, 'RecordType'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if if_none_match is not None: + header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'RecordSet') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RecordSet', response) + if response.status_code == 201: + deserialized = self._deserialize('RecordSet', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}'} + + def delete( + self, resource_group_name, zone_name, relative_record_set_name, record_type, if_match=None, custom_headers=None, raw=False, **operation_config): + """Deletes a record set from a DNS zone. This operation cannot be undone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param relative_record_set_name: The name of the record set, relative + to the name of the zone. + :type relative_record_set_name: str + :param record_type: The type of DNS record in this record set. Record + sets of type SOA cannot be deleted (they are deleted when the DNS zone + is deleted). Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', + 'MX', 'NS', 'PTR', 'SOA', 'SRV', 'TXT' + :type record_type: str or ~azure.mgmt.dns.models.RecordType + :param if_match: The etag of the record set. Omit this value to always + delete the current record set. Specify the last-seen etag value to + prevent accidentally deleting any concurrent changes. + :type if_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'relativeRecordSetName': self._serialize.url("relative_record_set_name", relative_record_set_name, 'str', skip_quote=True), + 'recordType': self._serialize.url("record_type", record_type, 'RecordType'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}'} + + def get( + self, resource_group_name, zone_name, relative_record_set_name, record_type, custom_headers=None, raw=False, **operation_config): + """Gets a record set. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param relative_record_set_name: The name of the record set, relative + to the name of the zone. + :type relative_record_set_name: str + :param record_type: The type of DNS record in this record set. + Possible values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX', 'NS', + 'PTR', 'SOA', 'SRV', 'TXT' + :type record_type: str or ~azure.mgmt.dns.models.RecordType + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: RecordSet or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.dns.models.RecordSet or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'relativeRecordSetName': self._serialize.url("relative_record_set_name", relative_record_set_name, 'str', skip_quote=True), + 'recordType': self._serialize.url("record_type", record_type, 'RecordType'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('RecordSet', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}/{relativeRecordSetName}'} + + def list_by_type( + self, resource_group_name, zone_name, record_type, top=None, recordsetnamesuffix=None, custom_headers=None, raw=False, **operation_config): + """Lists the record sets of a specified type in a DNS zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param record_type: The type of record sets to enumerate. Possible + values include: 'A', 'AAAA', 'CAA', 'CNAME', 'MX', 'NS', 'PTR', 'SOA', + 'SRV', 'TXT' + :type record_type: str or ~azure.mgmt.dns.models.RecordType + :param top: The maximum number of record sets to return. If not + specified, returns up to 100 record sets. + :type top: int + :param recordsetnamesuffix: The suffix label of the record set name + that has to be used to filter the record set enumerations. If this + parameter is specified, Enumeration will return only records that end + with . + :type recordsetnamesuffix: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of RecordSet + :rtype: + ~azure.mgmt.dns.models.RecordSetPaged[~azure.mgmt.dns.models.RecordSet] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list_by_type.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'recordType': self._serialize.url("record_type", record_type, 'RecordType'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if recordsetnamesuffix is not None: + query_parameters['$recordsetnamesuffix'] = self._serialize.query("recordsetnamesuffix", recordsetnamesuffix, 'str') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RecordSetPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RecordSetPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list_by_type.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/{recordType}'} + + def list_by_dns_zone( + self, resource_group_name, zone_name, top=None, recordsetnamesuffix=None, custom_headers=None, raw=False, **operation_config): + """Lists all record sets in a DNS zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param top: The maximum number of record sets to return. If not + specified, returns up to 100 record sets. + :type top: int + :param recordsetnamesuffix: The suffix label of the record set name + that has to be used to filter the record set enumerations. If this + parameter is specified, Enumeration will return only records that end + with . + :type recordsetnamesuffix: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of RecordSet + :rtype: + ~azure.mgmt.dns.models.RecordSetPaged[~azure.mgmt.dns.models.RecordSet] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list_by_dns_zone.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if recordsetnamesuffix is not None: + query_parameters['$recordsetnamesuffix'] = self._serialize.query("recordsetnamesuffix", recordsetnamesuffix, 'str') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RecordSetPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RecordSetPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list_by_dns_zone.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/recordsets'} + + def list_all_by_dns_zone( + self, resource_group_name, zone_name, top=None, record_set_name_suffix=None, custom_headers=None, raw=False, **operation_config): + """Lists all record sets in a DNS zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param top: The maximum number of record sets to return. If not + specified, returns up to 100 record sets. + :type top: int + :param record_set_name_suffix: The suffix label of the record set name + that has to be used to filter the record set enumerations. If this + parameter is specified, Enumeration will return only records that end + with . + :type record_set_name_suffix: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of RecordSet + :rtype: + ~azure.mgmt.dns.models.RecordSetPaged[~azure.mgmt.dns.models.RecordSet] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list_all_by_dns_zone.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + if record_set_name_suffix is not None: + query_parameters['$recordsetnamesuffix'] = self._serialize.query("record_set_name_suffix", record_set_name_suffix, 'str') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.RecordSetPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.RecordSetPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list_all_by_dns_zone.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}/all'} diff --git a/src/dns/azext_dns/dns/operations/zones_operations.py b/src/dns/azext_dns/dns/operations/zones_operations.py new file mode 100644 index 00000000000..130319509bd --- /dev/null +++ b/src/dns/azext_dns/dns/operations/zones_operations.py @@ -0,0 +1,515 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.exceptions import DeserializationError +from msrestazure.azure_operation import AzureOperationPoller + +from .. import models + + +class ZonesOperations(object): + """ZonesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Specifies the API version. Constant value: "2018-03-01-preview". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-03-01-preview" + + self.config = config + + def create_or_update( + self, resource_group_name, zone_name, parameters, if_match=None, if_none_match=None, custom_headers=None, raw=False, **operation_config): + """Creates or updates a DNS zone. Does not modify DNS records within the + zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param parameters: Parameters supplied to the CreateOrUpdate + operation. + :type parameters: ~azure.mgmt.dns.models.Zone + :param if_match: The etag of the DNS zone. Omit this value to always + overwrite the current zone. Specify the last-seen etag value to + prevent accidentally overwritting any concurrent changes. + :type if_match: str + :param if_none_match: Set to '*' to allow a new DNS zone to be + created, but to prevent updating an existing zone. Other values will + be ignored. + :type if_none_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Zone or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.dns.models.Zone or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if if_none_match is not None: + header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'Zone') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200, 201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Zone', response) + if response.status_code == 201: + deserialized = self._deserialize('Zone', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}'} + + + def _delete_initial( + self, resource_group_name, zone_name, if_match=None, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group_name, zone_name, if_match=None, custom_headers=None, raw=False, **operation_config): + """Deletes a DNS zone. WARNING: All DNS records in the zone will also be + deleted. This operation cannot be undone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param if_match: The etag of the DNS zone. Omit this value to always + delete the current zone. Specify the last-seen etag value to prevent + accidentally deleting any concurrent changes. + :type if_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :return: An instance of AzureOperationPoller that returns None or + ClientRawResponse if raw=true + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + raw_result = self._delete_initial( + resource_group_name=resource_group_name, + zone_name=zone_name, + if_match=if_match, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + if raw: + return raw_result + + # Construct and send request + def long_running_send(): + return raw_result.response + + def get_long_running_status(status_link, headers=None): + + request = self._client.get(status_link) + if headers: + request.headers.update(headers) + header_parameters = {} + header_parameters['x-ms-client-request-id'] = raw_result.response.request.headers['x-ms-client-request-id'] + return self._client.send( + request, header_parameters, stream=False, **operation_config) + + def get_long_running_output(response): + + if response.status_code not in [200, 202, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + long_running_operation_timeout = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + return AzureOperationPoller( + long_running_send, get_long_running_output, + get_long_running_status, long_running_operation_timeout) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}'} + + def get( + self, resource_group_name, zone_name, custom_headers=None, raw=False, **operation_config): + """Gets a DNS zone. Retrieves the zone properties, but not the record sets + within the zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Zone or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.dns.models.Zone or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Zone', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}'} + + def update( + self, resource_group_name, zone_name, if_match=None, tags=None, custom_headers=None, raw=False, **operation_config): + """Updates a DNS zone. Does not modify DNS records within the zone. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param zone_name: The name of the DNS zone (without a terminating + dot). + :type zone_name: str + :param if_match: The etag of the DNS zone. Omit this value to always + overwrite the current zone. Specify the last-seen etag value to + prevent accidentally overwritting any concurrent changes. + :type if_match: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Zone or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.dns.models.Zone or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + parameters = models.ZoneUpdate(tags=tags) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'zoneName': self._serialize.url("zone_name", zone_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ZoneUpdate') + + # Construct and send request + request = self._client.patch(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Zone', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones/{zoneName}'} + + def list_by_resource_group( + self, resource_group_name, top=None, custom_headers=None, raw=False, **operation_config): + """Lists the DNS zones within a resource group. + + :param resource_group_name: The name of the resource group. + :type resource_group_name: str + :param top: The maximum number of record sets to return. If not + specified, returns up to 100 record sets. + :type top: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Zone + :rtype: ~azure.mgmt.dns.models.ZonePaged[~azure.mgmt.dns.models.Zone] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ZonePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ZonePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsZones'} + + def list( + self, top=None, custom_headers=None, raw=False, **operation_config): + """Lists the DNS zones in all resource groups in a subscription. + + :param top: The maximum number of DNS zones to return. If not + specified, returns up to 100 zones. + :type top: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Zone + :rtype: ~azure.mgmt.dns.models.ZonePaged[~azure.mgmt.dns.models.Zone] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if top is not None: + query_parameters['$top'] = self._serialize.query("top", top, 'int') + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.ZonePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.ZonePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Network/dnszones'} diff --git a/src/dns/azext_dns/dns/version.py b/src/dns/azext_dns/dns/version.py new file mode 100644 index 00000000000..dea290d9b35 --- /dev/null +++ b/src/dns/azext_dns/dns/version.py @@ -0,0 +1,12 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +VERSION = "2.0.0rc1" diff --git a/src/dns/azext_dns/tests/__init__.py b/src/dns/azext_dns/tests/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/dns/azext_dns/tests/__init__.py @@ -0,0 +1,4 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- diff --git a/src/dns/azext_dns/tests/latest/__init__.py b/src/dns/azext_dns/tests/latest/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/dns/azext_dns/tests/latest/__init__.py @@ -0,0 +1,4 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- diff --git a/src/dns/azext_dns/tests/latest/recordings/test_dns.yaml b/src/dns/azext_dns/tests/latest/recordings/test_dns.yaml new file mode 100644 index 00000000000..e1fc584ff63 --- /dev/null +++ b/src/dns/azext_dns/tests/latest/recordings/test_dns.yaml @@ -0,0 +1,2592 @@ +interactions: +- request: + body: '{"location": "westus", "tags": {"use": "az-test"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['50'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns000001?api-version=2017-05-10 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001","name":"cli_test_dns000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['328'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:47:49 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/dnszones?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone1_importcoy5bcpdvmjp7pccd6xd4vgwgifhkmhod36umlar2j3zztl3osbnjty\/providers\/Microsoft.Network\/dnszones\/zone1.com","name":"zone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-6237-b45c0abcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":16}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone1_importmlzmxo6pz75bsyfjj5vpaa5gsrjcf36pdv6drrglivv6hbx73c2hkuy\/providers\/Microsoft.Network\/dnszones\/zone1.com","name":"zone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-badd-3a5900bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone1_importvyoefieahfgkvu6jnr36wv2457dwgylo3zeam26rcczn6pjnkiqvkrc\/providers\/Microsoft.Network\/dnszones\/zone1.com","name":"zone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-7770-c08e08bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone2_importelj3wwtkykd4jyueaqezrn5ak6wluvdnx5656ezhji4cwqd4ec27r2a\/providers\/Microsoft.Network\/dnszones\/zone2.com","name":"zone2.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-ffe3-3c5007bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone3_import3lqkbxginzk3kg2n3arr66pje3tsxzq64drzuq7nh7mwcrj722oe2tx\/providers\/Microsoft.Network\/dnszones\/zone3.com","name":"zone3.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-9b02-a06209bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone3_importqzzd64yjky3jepv43tnf2wadziszoku3sdgyuyzu47steurwlttjiwp\/providers\/Microsoft.Network\/dnszones\/zone3.com","name":"zone3.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-4a32-078a07bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone5_import7c3kw4ugv7xfwqlbsv55qsmp2fqr2nf2fsat5pr6reknjot4j2tx3iu\/providers\/Microsoft.Network\/dnszones\/zone5.com","name":"zone5.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-391b-dd1808bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone5_importwa76qcesf6isppa5t6m3sa6hejww6gs5auz3nrw32euhdgm3j27xeu5\/providers\/Microsoft.Network\/dnszones\/zone5.com","name":"zone5.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-1b61-e5fb09bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cojacotest\/providers\/Microsoft.Network\/dnszones\/cojacoexample.com","name":"cojacoexample.com","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4f0e-0dfdb3fcd101","location":"global","tags":{"department":"HumanResources","importance":"Emergency"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":4}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/jonune-pinger-rg\/providers\/Microsoft.Network\/dnszones\/jonune.com","name":"jonune.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-2fcd-6d879726d301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/child1.karthiktestzone123.com","name":"child1.karthiktestzone123.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-3add-f115b43fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/child1karthiktestzone123.com","name":"child1karthiktestzone123.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-8cab-9601a63fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/karthiktestzone123.com","name":"karthiktestzone123.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-72b8-5bafaaa4d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/vladtest.test","name":"vladtest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc07-5f972e2ad201","location":"global","tags":{"a":"b"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":6}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.asmx","name":"a.asmx","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-64eb-63a8f162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.msgx","name":"a.msgx","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-0076-784ad162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.rules.test","name":"a.rules.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-b305-26eae362d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.skin","name":"a.skin","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-59b5-8941d162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.svc","name":"a.svc","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-d3fe-87fece62d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/c.aspx","name":"c.aspx","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-3920-5fc0f162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/c.svc","name":"c.svc","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-36a2-4db6f162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/karthik.com","name":"karthik.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-1f92-66b1c962d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":6}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/test.testrules","name":"test.testrules","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-a9d0-5a5dcd62d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1034\/providers\/Microsoft.Network\/dnszones\/onesdk4979.pstest.test","name":"onesdk4979.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-b767-5791d02ed201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1046\/providers\/Microsoft.Network\/dnszones\/onesdk6026.pstest.test","name":"onesdk6026.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-8c3a-32120448d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1069\/providers\/Microsoft.Network\/dnszones\/onesdk724.pstest.test","name":"onesdk724.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-89f8-fda5082ed201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1110\/providers\/Microsoft.Network\/dnszones\/onesdk2419.pstest.test","name":"onesdk2419.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-4c45-bbac8452d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1155\/providers\/Microsoft.Network\/dnszones\/onesdk8597.pstest.test","name":"onesdk8597.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-0b4b-cd88ce53d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1269\/providers\/Microsoft.Network\/dnszones\/onesdk1935.pstest.test","name":"onesdk1935.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-2581-78c8f140d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1597\/providers\/Microsoft.Network\/dnszones\/onesdk7046.pstest.test","name":"onesdk7046.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-bca1-ecb66b3bd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1616\/providers\/Microsoft.Network\/dnszones\/onesdk7626.pstest.test","name":"onesdk7626.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-22ec-d6c51639d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1620\/providers\/Microsoft.Network\/dnszones\/onesdk2799.pstest.test","name":"onesdk2799.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4185-f1194d38d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1732\/providers\/Microsoft.Network\/dnszones\/onesdk4494.pstest.test","name":"onesdk4494.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-05a8-5a00b64cd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1906\/providers\/Microsoft.Network\/dnszones\/onesdk1575.pstest.test","name":"onesdk1575.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bace-07c7452dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2066\/providers\/Microsoft.Network\/dnszones\/onesdk1064.pstest.test","name":"onesdk1064.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4864-748c7537d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2526\/providers\/Microsoft.Network\/dnszones\/onesdk146.pstest.test","name":"onesdk146.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-1389-cbd6e235d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2773\/providers\/Microsoft.Network\/dnszones\/onesdk6501.pstest.test","name":"onesdk6501.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-e5df-1fe72b56d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2823\/providers\/Microsoft.Network\/dnszones\/onesdk5047.pstest.test","name":"onesdk5047.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-d34b-f8b47446d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2916\/providers\/Microsoft.Network\/dnszones\/onesdk3106.pstest.test","name":"onesdk3106.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-0caf-f0f69154d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2985\/providers\/Microsoft.Network\/dnszones\/onesdk5810.pstest.test","name":"onesdk5810.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-c661-fe870753d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3150\/providers\/Microsoft.Network\/dnszones\/onesdk4105.pstest.test","name":"onesdk4105.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-58b9-f3fda234d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3153\/providers\/Microsoft.Network\/dnszones\/onesdk6890.pstest.test","name":"onesdk6890.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-d9f5-d9cf164fd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3702\/providers\/Microsoft.Network\/dnszones\/onesdk4390.pstest.test","name":"onesdk4390.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-e717-3529e04fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3740\/providers\/Microsoft.Network\/dnszones\/onesdk3868.pstest.test","name":"onesdk3868.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-42ef-30d3102ed201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3930\/providers\/Microsoft.Network\/dnszones\/onesdk7182.pstest.test","name":"onesdk7182.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-f5b6-b9a6604ad201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk4038\/providers\/Microsoft.Network\/dnszones\/onesdk583.pstest.test","name":"onesdk583.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-5fad-5e93b436d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk453\/providers\/Microsoft.Network\/dnszones\/onesdk9431.pstest.test","name":"onesdk9431.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc5c-80257b2cd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk4907\/providers\/Microsoft.Network\/dnszones\/onesdk8724.pstest.test","name":"onesdk8724.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-fff3-57db474ed201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk4971\/providers\/Microsoft.Network\/dnszones\/onesdk5149.pstest.test","name":"onesdk5149.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-54d3-0e15a83ad201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5110\/providers\/Microsoft.Network\/dnszones\/onesdk9387.pstest.test","name":"onesdk9387.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-76ae-88857f4dd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5394\/providers\/Microsoft.Network\/dnszones\/onesdk5675.pstest.test","name":"onesdk5675.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-9c28-5ea1bd41d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5453\/providers\/Microsoft.Network\/dnszones\/onesdk9910.pstest.test","name":"onesdk9910.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-02ff-3947be4cd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5626\/providers\/Microsoft.Network\/dnszones\/onesdk3052.pstest.test","name":"onesdk3052.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-d6fd-f87ea950d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5752\/providers\/Microsoft.Network\/dnszones\/onesdk1764.pstest.test","name":"onesdk1764.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-c82e-4cb1922bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5945\/providers\/Microsoft.Network\/dnszones\/onesdk4636.pstest.test","name":"onesdk4636.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-0769-0da02356d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6005\/providers\/Microsoft.Network\/dnszones\/onesdk4419.pstest.test","name":"onesdk4419.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-41d2-eb13043dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6140\/providers\/Microsoft.Network\/dnszones\/onesdk8278.pstest.test","name":"onesdk8278.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-418e-1615a59dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6359\/providers\/Microsoft.Network\/dnszones\/onesdk4630.pstest.test","name":"onesdk4630.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-c1cb-e10e6355d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6657\/providers\/Microsoft.Network\/dnszones\/onesdk5052.pstest.test","name":"onesdk5052.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-ae24-e0a39c51d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6702\/providers\/Microsoft.Network\/dnszones\/onesdk5546.pstest.test","name":"onesdk5546.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-e621-38c9164fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7002\/providers\/Microsoft.Network\/dnszones\/onesdk8767.pstest.test","name":"onesdk8767.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4bee-01812240d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7310\/providers\/Microsoft.Network\/dnszones\/onesdk8039.pstest.test","name":"onesdk8039.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-b569-bccdf140d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7432\/providers\/Microsoft.Network\/dnszones\/onesdk9736.pstest.test","name":"onesdk9736.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-2b95-e57b2b4bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7671\/providers\/Microsoft.Network\/dnszones\/onesdk5367.pstest.test","name":"onesdk5367.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-dea3-6685a950d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7960\/providers\/Microsoft.Network\/dnszones\/onesdk9256.pstest.test","name":"onesdk9256.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-2947-b8906c46d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8189\/providers\/Microsoft.Network\/dnszones\/onesdk1990.pstest.test","name":"onesdk1990.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-ee0c-dabff44bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8194\/providers\/Microsoft.Network\/dnszones\/onesdk9649.pstest.test","name":"onesdk9649.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-8c03-5998733bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8405\/providers\/Microsoft.Network\/dnszones\/onesdk846.pstest.test","name":"onesdk846.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-e92d-d3233747d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8706\/providers\/Microsoft.Network\/dnszones\/onesdk5873.pstest.test","name":"onesdk5873.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-c78b-e99dff52d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8876\/providers\/Microsoft.Network\/dnszones\/onesdk7912.pstest.test","name":"onesdk7912.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-f503-62ec7c52d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9274\/providers\/Microsoft.Network\/dnszones\/onesdk2187.pstest.test","name":"onesdk2187.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-e6ff-5fd41f35d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9476\/providers\/Microsoft.Network\/dnszones\/onesdk8662.pstest.test","name":"onesdk8662.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-fe43-1f1a043dd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9505\/providers\/Microsoft.Network\/dnszones\/onesdk9266.pstest.test","name":"onesdk9266.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-f86e-f90c0448d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9530\/providers\/Microsoft.Network\/dnszones\/onesdk2511.pstest.test","name":"onesdk2511.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-98de-dcf1ce3dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9674\/providers\/Microsoft.Network\/dnszones\/onesdk4780.pstest.test","name":"onesdk4780.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-f939-1816ce48d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9728\/providers\/Microsoft.Network\/dnszones\/onesdk7582.pstest.test","name":"onesdk7582.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-76b8-9bc77d37d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9954\/providers\/Microsoft.Network\/dnszones\/onesdk9424.pstest.test","name":"onesdk9424.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-0bcb-2fa4234bd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk996\/providers\/Microsoft.Network\/dnszones\/onesdk7788.pstest.test","name":"onesdk7788.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-e53a-fb2b7b2cd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}}]}'} + headers: + cache-control: [private] + content-length: ['39648'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:47:52 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"location": "global", "properties": {"zoneType": "Public"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone create] + Connection: [keep-alive] + Content-Length: ['60'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 azure-mgmt-dns/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com?api-version=2018-03-01-preview + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com","name":"myzone.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc80-d66810bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2,"zoneType":"Public"}}'} + headers: + cache-control: [private] + content-length: ['556'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:47:59 GMT'] + etag: [00000002-0000-0000-bc80-d66810bcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11997'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com","name":"myzone.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc80-d66810bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}}]}'} + headers: + cache-control: [private] + content-length: ['548'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:03 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com","name":"myzone.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc80-d66810bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}}'} + headers: + cache-control: [private] + content-length: ['536'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:05 GMT'] + etag: [00000002-0000-0000-bc80-d66810bcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"0db46f1b-0801-45f1-a618-01584acd1feb","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['385'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:10 GMT'] + etag: [0db46f1b-0801-45f1-a618-01584acd1feb] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11995'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"0db46f1b-0801-45f1-a618-01584acd1feb","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['385'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:13 GMT'] + etag: [0db46f1b-0801-45f1-a618-01584acd1feb] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "0db46f1b-0801-45f1-a618-01584acd1feb", "properties": {"TTL": + 3600, "ARecords": [{"ipv4Address": "10.0.0.10"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Length: ['121'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"735aacca-5d72-430a-98c4-571deec5c20f","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}}'} + headers: + cache-control: [private] + content-length: ['412'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:16 GMT'] + etag: [735aacca-5d72-430a-98c4-571deec5c20f] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11992'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsaalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsaalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['229'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:23 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "ARecords": [{"ipv4Address": "10.0.0.10"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Length: ['73'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsaalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsaalt","name":"myrsaalt","type":"Microsoft.Network\/dnszones\/A","etag":"ad77f87b-0366-430f-9117-1e04c5127a3a","properties":{"fqdn":"myrsaalt.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}}'} + headers: + cache-control: [private] + content-length: ['421'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:28 GMT'] + etag: [ad77f87b-0366-430f-9117-1e04c5127a3a] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11991'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"f2a443f7-e351-44d9-b4a5-43068403b6a4","properties":{"fqdn":"myrsaaaa.myzone.com.","TTL":3600,"AAAARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['403'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:31 GMT'] + etag: [f2a443f7-e351-44d9-b4a5-43068403b6a4] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"f2a443f7-e351-44d9-b4a5-43068403b6a4","properties":{"fqdn":"myrsaaaa.myzone.com.","TTL":3600,"AAAARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['403'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:34 GMT'] + etag: [f2a443f7-e351-44d9-b4a5-43068403b6a4] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "f2a443f7-e351-44d9-b4a5-43068403b6a4", "properties": {"TTL": + 3600, "AAAARecords": [{"ipv6Address": "2001:db8:0:1:1:1:1:1"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Length: ['135'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"b9294fa5-82ff-4cde-b7c3-5bf15ee95042","properties":{"fqdn":"myrsaaaa.myzone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}}'} + headers: + cache-control: [private] + content-length: ['441'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:38 GMT'] + etag: [b9294fa5-82ff-4cde-b7c3-5bf15ee95042] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/AAAA/myrsaaaaalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsaaaaalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['232'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:40 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "AAAARecords": [{"ipv6Address": "2001:db8:0:1:1:1:1:1"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Length: ['87'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/AAAA/myrsaaaaalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/AAAA\/myrsaaaaalt","name":"myrsaaaaalt","type":"Microsoft.Network\/dnszones\/AAAA","etag":"fe7ea1f8-0169-4feb-9066-bd28ecb4a370","properties":{"fqdn":"myrsaaaaalt.myzone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}}'} + headers: + cache-control: [private] + content-length: ['450'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:45 GMT'] + etag: [fe7ea1f8-0169-4feb-9066-bd28ecb4a370] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"61bc5a5d-5e39-4475-9fcd-3d6fd2ee9a60","properties":{"fqdn":"myrscaa.myzone.com.","TTL":3600,"caaRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:49 GMT'] + etag: [61bc5a5d-5e39-4475-9fcd-3d6fd2ee9a60] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"61bc5a5d-5e39-4475-9fcd-3d6fd2ee9a60","properties":{"fqdn":"myrscaa.myzone.com.","TTL":3600,"caaRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:56 GMT'] + etag: [61bc5a5d-5e39-4475-9fcd-3d6fd2ee9a60] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "61bc5a5d-5e39-4475-9fcd-3d6fd2ee9a60", "properties": {"TTL": + 3600, "caaRecords": [{"flags": 0, "tag": "foo", "value": "my value"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Length: ['142'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"c13725b2-3a94-4ab7-b5eb-bd56df07f592","properties":{"fqdn":"myrscaa.myzone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}}'} + headers: + cache-control: [private] + content-length: ['439'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:48:59 GMT'] + etag: [c13725b2-3a94-4ab7-b5eb-bd56df07f592] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CAA/myrscaaalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrscaaalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:03 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "caaRecords": [{"flags": 0, "tag": "foo", + "value": "my value"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Length: ['94'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CAA/myrscaaalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CAA\/myrscaaalt","name":"myrscaaalt","type":"Microsoft.Network\/dnszones\/CAA","etag":"f8e97fac-fb40-45e6-8ed9-73c0a6f2d658","properties":{"fqdn":"myrscaaalt.myzone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}}'} + headers: + cache-control: [private] + content-length: ['448'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:07 GMT'] + etag: [f8e97fac-fb40-45e6-8ed9-73c0a6f2d658] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"005ba13f-f0ad-4243-9ac0-f01923cec6db","properties":{"fqdn":"myrscname.myzone.com.","TTL":3600}}'} + headers: + cache-control: [private] + content-length: ['391'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:10 GMT'] + etag: [005ba13f-f0ad-4243-9ac0-f01923cec6db] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"005ba13f-f0ad-4243-9ac0-f01923cec6db","properties":{"fqdn":"myrscname.myzone.com.","TTL":3600}}'} + headers: + cache-control: [private] + content-length: ['391'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:13 GMT'] + etag: [005ba13f-f0ad-4243-9ac0-f01923cec6db] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "005ba13f-f0ad-4243-9ac0-f01923cec6db", "properties": {"TTL": + 3600, "CNAMERecord": {"cname": "mycname"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Length: ['114'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"af198552-3ebd-4d5d-bede-d28ee413e81d","properties":{"fqdn":"myrscname.myzone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}}'} + headers: + cache-control: [private] + content-length: ['425'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:17 GMT'] + etag: [af198552-3ebd-4d5d-bede-d28ee413e81d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CNAME/myrscnamealt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrscnamealt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:20 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "CNAMERecord": {"cname": "mycname"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Length: ['66'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CNAME/myrscnamealt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CNAME\/myrscnamealt","name":"myrscnamealt","type":"Microsoft.Network\/dnszones\/CNAME","etag":"7c80d7b9-ec82-4387-a8e0-4f094e26613b","properties":{"fqdn":"myrscnamealt.myzone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}}'} + headers: + cache-control: [private] + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:24 GMT'] + etag: [7c80d7b9-ec82-4387-a8e0-4f094e26613b] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"df9f379e-be6f-4044-927d-4cac02d0a6f5","properties":{"fqdn":"myrsmx.myzone.com.","TTL":3600,"MXRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['391'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:28 GMT'] + etag: [df9f379e-be6f-4044-927d-4cac02d0a6f5] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"df9f379e-be6f-4044-927d-4cac02d0a6f5","properties":{"fqdn":"myrsmx.myzone.com.","TTL":3600,"MXRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['391'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:31 GMT'] + etag: [df9f379e-be6f-4044-927d-4cac02d0a6f5] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "df9f379e-be6f-4044-927d-4cac02d0a6f5", "properties": {"TTL": + 3600, "MXRecords": [{"preference": 13, "exchange": "12"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Length: ['130'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"ec9ba6e2-59ba-4f6f-9aa9-d1d61e1eb16e","properties":{"fqdn":"myrsmx.myzone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}}'} + headers: + cache-control: [private] + content-length: ['424'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:35 GMT'] + etag: [ec9ba6e2-59ba-4f6f-9aa9-d1d61e1eb16e] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11996'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/MX/myrsmxalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsmxalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['230'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:38 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "MXRecords": [{"preference": 13, "exchange": + "12"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Length: ['82'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/MX/myrsmxalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/MX\/myrsmxalt","name":"myrsmxalt","type":"Microsoft.Network\/dnszones\/MX","etag":"3b8450bc-5ef7-4ecc-b6c2-e1dd1ca9da42","properties":{"fqdn":"myrsmxalt.myzone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}}'} + headers: + cache-control: [private] + content-length: ['433'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:42 GMT'] + etag: [3b8450bc-5ef7-4ecc-b6c2-e1dd1ca9da42] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ns create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/NS/myrsns?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/myrsns","name":"myrsns","type":"Microsoft.Network\/dnszones\/NS","etag":"45a36fd1-6e8a-4eb3-bbf5-47cfea001632","properties":{"fqdn":"myrsns.myzone.com.","TTL":3600,"NSRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['391'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:45 GMT'] + etag: [45a36fd1-6e8a-4eb3-bbf5-47cfea001632] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11997'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ns add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/NS/myrsns?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/myrsns","name":"myrsns","type":"Microsoft.Network\/dnszones\/NS","etag":"45a36fd1-6e8a-4eb3-bbf5-47cfea001632","properties":{"fqdn":"myrsns.myzone.com.","TTL":3600,"NSRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['391'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:48 GMT'] + etag: [45a36fd1-6e8a-4eb3-bbf5-47cfea001632] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "45a36fd1-6e8a-4eb3-bbf5-47cfea001632", "properties": {"TTL": + 3600, "NSRecords": [{"nsdname": "foobar.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ns add-record] + Connection: [keep-alive] + Content-Length: ['119'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/NS/myrsns?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/myrsns","name":"myrsns","type":"Microsoft.Network\/dnszones\/NS","etag":"a31e8a66-97d8-4ded-8507-7226b1920559","properties":{"fqdn":"myrsns.myzone.com.","TTL":3600,"NSRecords":[{"nsdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['415'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:52 GMT'] + etag: [a31e8a66-97d8-4ded-8507-7226b1920559] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ns add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/NS/myrsnsalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsnsalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['230'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:56 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "NSRecords": [{"nsdname": "foobar.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ns add-record] + Connection: [keep-alive] + Content-Length: ['71'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/NS/myrsnsalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/myrsnsalt","name":"myrsnsalt","type":"Microsoft.Network\/dnszones\/NS","etag":"8bbdb280-4ac9-4eaf-af79-ef83c20cf8d9","properties":{"fqdn":"myrsnsalt.myzone.com.","TTL":3600,"NSRecords":[{"nsdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['424'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:49:58 GMT'] + etag: [8bbdb280-4ac9-4eaf-af79-ef83c20cf8d9] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11997'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"9eb2002c-056e-4349-aedb-d6716c7b9eda","properties":{"fqdn":"myrsptr.myzone.com.","TTL":3600,"PTRRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:02 GMT'] + etag: [9eb2002c-056e-4349-aedb-d6716c7b9eda] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"9eb2002c-056e-4349-aedb-d6716c7b9eda","properties":{"fqdn":"myrsptr.myzone.com.","TTL":3600,"PTRRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:05 GMT'] + etag: [9eb2002c-056e-4349-aedb-d6716c7b9eda] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "9eb2002c-056e-4349-aedb-d6716c7b9eda", "properties": {"TTL": + 3600, "PTRRecords": [{"ptrdname": "foobar.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Length: ['121'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"c3b93309-de55-4c71-9022-4dbc10b1cb3a","properties":{"fqdn":"myrsptr.myzone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['422'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:09 GMT'] + etag: [c3b93309-de55-4c71-9022-4dbc10b1cb3a] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/PTR/myrsptralt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsptralt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:16 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "PTRRecords": [{"ptrdname": "foobar.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Length: ['73'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/PTR/myrsptralt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/PTR\/myrsptralt","name":"myrsptralt","type":"Microsoft.Network\/dnszones\/PTR","etag":"e10c941b-4c30-4532-8fb2-992117cc1d3f","properties":{"fqdn":"myrsptralt.myzone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['431'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:19 GMT'] + etag: [e10c941b-4c30-4532-8fb2-992117cc1d3f] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"46c9e340-8d65-4b7c-aee6-d857abd2b3b0","properties":{"fqdn":"myrssrv.myzone.com.","TTL":3600,"SRVRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:25 GMT'] + etag: [46c9e340-8d65-4b7c-aee6-d857abd2b3b0] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"46c9e340-8d65-4b7c-aee6-d857abd2b3b0","properties":{"fqdn":"myrssrv.myzone.com.","TTL":3600,"SRVRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:28 GMT'] + etag: [46c9e340-8d65-4b7c-aee6-d857abd2b3b0] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "46c9e340-8d65-4b7c-aee6-d857abd2b3b0", "properties": {"TTL": + 3600, "SRVRecords": [{"priority": 1, "weight": 50, "port": 1234, "target": "target.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Length: ['162'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"88db6195-87b9-490b-8635-089fb24f3f38","properties":{"fqdn":"myrssrv.myzone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}}'} + headers: + cache-control: [private] + content-length: ['457'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:32 GMT'] + etag: [88db6195-87b9-490b-8635-089fb24f3f38] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SRV/myrssrvalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrssrvalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:36 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "SRVRecords": [{"priority": 1, "weight": 50, + "port": 1234, "target": "target.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Length: ['114'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SRV/myrssrvalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SRV\/myrssrvalt","name":"myrssrvalt","type":"Microsoft.Network\/dnszones\/SRV","etag":"916b5fef-fdcf-4711-9766-8c299b22dfd0","properties":{"fqdn":"myrssrvalt.myzone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}}'} + headers: + cache-control: [private] + content-length: ['466'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:39 GMT'] + etag: [916b5fef-fdcf-4711-9766-8c299b22dfd0] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"ec298901-8810-4584-8714-58363fdcd168","properties":{"fqdn":"myrstxt.myzone.com.","TTL":3600,"TXTRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:43 GMT'] + etag: [ec298901-8810-4584-8714-58363fdcd168] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"ec298901-8810-4584-8714-58363fdcd168","properties":{"fqdn":"myrstxt.myzone.com.","TTL":3600,"TXTRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['397'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:47 GMT'] + etag: [ec298901-8810-4584-8714-58363fdcd168] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "ec298901-8810-4584-8714-58363fdcd168", "properties": {"TTL": + 3600, "TXTRecords": [{"value": ["some_text"]}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Length: ['119'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"acf60e64-6bea-4eb0-91ca-8291aaea590a","properties":{"fqdn":"myrstxt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}'} + headers: + cache-control: [private] + content-length: ['420'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:51 GMT'] + etag: [acf60e64-6bea-4eb0-91ca-8291aaea590a] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/myrstxtalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrstxtalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:54 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "TXTRecords": [{"value": ["some_text"]}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Length: ['71'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/myrstxtalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxtalt","name":"myrstxtalt","type":"Microsoft.Network\/dnszones\/TXT","etag":"6fb800e2-53b1-4399-80e6-e4b5fafb5aa1","properties":{"fqdn":"myrstxtalt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}'} + headers: + cache-control: [private] + content-length: ['429'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:50:56 GMT'] + etag: [6fb800e2-53b1-4399-80e6-e4b5fafb5aa1] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"735aacca-5d72-430a-98c4-571deec5c20f","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}}'} + headers: + cache-control: [private] + content-length: ['412'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:01 GMT'] + etag: [735aacca-5d72-430a-98c4-571deec5c20f] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "735aacca-5d72-430a-98c4-571deec5c20f", "properties": {"TTL": + 3600, "ARecords": [{"ipv4Address": "10.0.0.10"}, {"ipv4Address": "10.0.0.11"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Length: ['151'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"b09d91bd-d766-42c1-ae5e-5302a89ff13c","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['440'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:05 GMT'] + etag: [b09d91bd-d766-42c1-ae5e-5302a89ff13c] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11995'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set soa update] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SOA/@?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"08870883-a030-4d36-ad40-05924e69bf95","properties":{"fqdn":"myzone.com.","TTL":3600,"SOARecord":{"email":"azuredns-hostmaster.microsoft.com","expireTime":2419200,"host":"ns1-08.ppe.azure-dns.com.","minimumTTL":300,"refreshTime":3600,"retryTime":300,"serialNumber":1}}}'} + headers: + cache-control: [private] + content-length: ['544'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:07 GMT'] + etag: [08870883-a030-4d36-ad40-05924e69bf95] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set soa update] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SOA/@?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"08870883-a030-4d36-ad40-05924e69bf95","properties":{"fqdn":"myzone.com.","TTL":3600,"SOARecord":{"email":"azuredns-hostmaster.microsoft.com","expireTime":2419200,"host":"ns1-08.ppe.azure-dns.com.","minimumTTL":300,"refreshTime":3600,"retryTime":300,"serialNumber":1}}}'} + headers: + cache-control: [private] + content-length: ['544'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:10 GMT'] + etag: [08870883-a030-4d36-ad40-05924e69bf95] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "08870883-a030-4d36-ad40-05924e69bf95", "properties": {"TTL": + 3600, "SOARecord": {"host": "ns1-08.ppe.azure-dns.com.", "email": "foo.com", + "serialNumber": 123, "refreshTime": 60, "retryTime": 90, "expireTime": 30, "minimumTTL": + 20}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set soa update] + Connection: [keep-alive] + Content-Length: ['242'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SOA/@?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"4ed2f980-cb08-446f-9dd4-d3c1e5369996","properties":{"fqdn":"myzone.com.","TTL":3600,"SOARecord":{"email":"foo.com","expireTime":30,"host":"ns1-08.ppe.azure-dns.com.","minimumTTL":20,"refreshTime":60,"retryTime":90,"serialNumber":123}}}'} + headers: + cache-control: [private] + content-length: ['511'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:14 GMT'] + etag: [4ed2f980-cb08-446f-9dd4-d3c1e5369996] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/longtxt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''longtxt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['228'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:16 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "TXTRecords": [{"value": ["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234", + "56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Length: ['566'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/longtxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/longtxt","name":"longtxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"0a095966-c27c-4c4d-8170-b66980c67d1d","properties":{"fqdn":"longtxt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234","56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}}'} + headers: + cache-control: [private] + content-length: ['914'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:22 GMT'] + etag: [0a095966-c27c-4c4d-8170-b66980c67d1d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11997'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com","name":"myzone.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc80-d66810bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":21}}'} + headers: + cache-control: [private] + content-length: ['537'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:26 GMT'] + etag: [00000002-0000-0000-bc80-d66810bcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"b09d91bd-d766-42c1-ae5e-5302a89ff13c","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['440'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:29 GMT'] + etag: [b09d91bd-d766-42c1-ae5e-5302a89ff13c] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/recordsets?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/@","name":"@","type":"Microsoft.Network\/dnszones\/NS","etag":"b123b48d-305b-4f35-9a3f-c5760cb7668c","properties":{"fqdn":"myzone.com.","TTL":172800,"NSRecords":[{"nsdname":"ns1-08.ppe.azure-dns.com."},{"nsdname":"ns2-08.ppe.azure-dns.net."},{"nsdname":"ns3-08.ppe.azure-dns.org."},{"nsdname":"ns4-08.ppe.azure-dns.info."}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"4ed2f980-cb08-446f-9dd4-d3c1e5369996","properties":{"fqdn":"myzone.com.","TTL":3600,"SOARecord":{"email":"foo.com","expireTime":30,"host":"ns1-08.ppe.azure-dns.com.","minimumTTL":20,"refreshTime":60,"retryTime":90,"serialNumber":123}}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/longtxt","name":"longtxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"0a095966-c27c-4c4d-8170-b66980c67d1d","properties":{"fqdn":"longtxt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234","56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"b09d91bd-d766-42c1-ae5e-5302a89ff13c","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"b9294fa5-82ff-4cde-b7c3-5bf15ee95042","properties":{"fqdn":"myrsaaaa.myzone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/AAAA\/myrsaaaaalt","name":"myrsaaaaalt","type":"Microsoft.Network\/dnszones\/AAAA","etag":"fe7ea1f8-0169-4feb-9066-bd28ecb4a370","properties":{"fqdn":"myrsaaaaalt.myzone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsaalt","name":"myrsaalt","type":"Microsoft.Network\/dnszones\/A","etag":"ad77f87b-0366-430f-9117-1e04c5127a3a","properties":{"fqdn":"myrsaalt.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"c13725b2-3a94-4ab7-b5eb-bd56df07f592","properties":{"fqdn":"myrscaa.myzone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CAA\/myrscaaalt","name":"myrscaaalt","type":"Microsoft.Network\/dnszones\/CAA","etag":"f8e97fac-fb40-45e6-8ed9-73c0a6f2d658","properties":{"fqdn":"myrscaaalt.myzone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"af198552-3ebd-4d5d-bede-d28ee413e81d","properties":{"fqdn":"myrscname.myzone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CNAME\/myrscnamealt","name":"myrscnamealt","type":"Microsoft.Network\/dnszones\/CNAME","etag":"7c80d7b9-ec82-4387-a8e0-4f094e26613b","properties":{"fqdn":"myrscnamealt.myzone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"ec9ba6e2-59ba-4f6f-9aa9-d1d61e1eb16e","properties":{"fqdn":"myrsmx.myzone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/MX\/myrsmxalt","name":"myrsmxalt","type":"Microsoft.Network\/dnszones\/MX","etag":"3b8450bc-5ef7-4ecc-b6c2-e1dd1ca9da42","properties":{"fqdn":"myrsmxalt.myzone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/myrsns","name":"myrsns","type":"Microsoft.Network\/dnszones\/NS","etag":"a31e8a66-97d8-4ded-8507-7226b1920559","properties":{"fqdn":"myrsns.myzone.com.","TTL":3600,"NSRecords":[{"nsdname":"foobar.com"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/myrsnsalt","name":"myrsnsalt","type":"Microsoft.Network\/dnszones\/NS","etag":"8bbdb280-4ac9-4eaf-af79-ef83c20cf8d9","properties":{"fqdn":"myrsnsalt.myzone.com.","TTL":3600,"NSRecords":[{"nsdname":"foobar.com"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"c3b93309-de55-4c71-9022-4dbc10b1cb3a","properties":{"fqdn":"myrsptr.myzone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/PTR\/myrsptralt","name":"myrsptralt","type":"Microsoft.Network\/dnszones\/PTR","etag":"e10c941b-4c30-4532-8fb2-992117cc1d3f","properties":{"fqdn":"myrsptralt.myzone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"88db6195-87b9-490b-8635-089fb24f3f38","properties":{"fqdn":"myrssrv.myzone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SRV\/myrssrvalt","name":"myrssrvalt","type":"Microsoft.Network\/dnszones\/SRV","etag":"916b5fef-fdcf-4711-9766-8c299b22dfd0","properties":{"fqdn":"myrssrvalt.myzone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"acf60e64-6bea-4eb0-91ca-8291aaea590a","properties":{"fqdn":"myrstxt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxtalt","name":"myrstxtalt","type":"Microsoft.Network\/dnszones\/TXT","etag":"6fb800e2-53b1-4399-80e6-e4b5fafb5aa1","properties":{"fqdn":"myrstxtalt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}]}'} + headers: + cache-control: [private] + content-length: ['9812'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:33 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/longtxt","name":"longtxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"0a095966-c27c-4c4d-8170-b66980c67d1d","properties":{"fqdn":"longtxt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234","56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"acf60e64-6bea-4eb0-91ca-8291aaea590a","properties":{"fqdn":"myrstxt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxtalt","name":"myrstxtalt","type":"Microsoft.Network\/dnszones\/TXT","etag":"6fb800e2-53b1-4399-80e6-e4b5fafb5aa1","properties":{"fqdn":"myrstxtalt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}]}'} + headers: + cache-control: [private] + content-length: ['1777'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:37 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"b09d91bd-d766-42c1-ae5e-5302a89ff13c","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['440'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:42 GMT'] + etag: [b09d91bd-d766-42c1-ae5e-5302a89ff13c] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "b09d91bd-d766-42c1-ae5e-5302a89ff13c", "properties": {"TTL": + 3600, "ARecords": [{"ipv4Address": "10.0.0.11"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Length: ['121'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"fa608fe1-ceb3-4726-b95f-9ccaeae31420","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['412'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:45 GMT'] + etag: [fa608fe1-ceb3-4726-b95f-9ccaeae31420] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11996'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"b9294fa5-82ff-4cde-b7c3-5bf15ee95042","properties":{"fqdn":"myrsaaaa.myzone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}}'} + headers: + cache-control: [private] + content-length: ['441'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:48 GMT'] + etag: [b9294fa5-82ff-4cde-b7c3-5bf15ee95042] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:51:53 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"c13725b2-3a94-4ab7-b5eb-bd56df07f592","properties":{"fqdn":"myrscaa.myzone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}}'} + headers: + cache-control: [private] + content-length: ['439'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:51:56 GMT'] + etag: [c13725b2-3a94-4ab7-b5eb-bd56df07f592] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:51:59 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"af198552-3ebd-4d5d-bede-d28ee413e81d","properties":{"fqdn":"myrscname.myzone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}}'} + headers: + cache-control: [private] + content-length: ['425'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:03 GMT'] + etag: [af198552-3ebd-4d5d-bede-d28ee413e81d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:52:06 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"ec9ba6e2-59ba-4f6f-9aa9-d1d61e1eb16e","properties":{"fqdn":"myrsmx.myzone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}}'} + headers: + cache-control: [private] + content-length: ['424'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:09 GMT'] + etag: [ec9ba6e2-59ba-4f6f-9aa9-d1d61e1eb16e] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:52:12 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ns remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/NS/myrsns?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/NS\/myrsns","name":"myrsns","type":"Microsoft.Network\/dnszones\/NS","etag":"a31e8a66-97d8-4ded-8507-7226b1920559","properties":{"fqdn":"myrsns.myzone.com.","TTL":3600,"NSRecords":[{"nsdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['415'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:15 GMT'] + etag: [a31e8a66-97d8-4ded-8507-7226b1920559] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ns remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/NS/myrsns?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:52:23 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"c3b93309-de55-4c71-9022-4dbc10b1cb3a","properties":{"fqdn":"myrsptr.myzone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['422'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:26 GMT'] + etag: [c3b93309-de55-4c71-9022-4dbc10b1cb3a] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:52:29 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"88db6195-87b9-490b-8635-089fb24f3f38","properties":{"fqdn":"myrssrv.myzone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}}'} + headers: + cache-control: [private] + content-length: ['457'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:33 GMT'] + etag: [88db6195-87b9-490b-8635-089fb24f3f38] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:52:36 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"acf60e64-6bea-4eb0-91ca-8291aaea590a","properties":{"fqdn":"myrstxt.myzone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}'} + headers: + cache-control: [private] + content-length: ['420'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:40 GMT'] + etag: [acf60e64-6bea-4eb0-91ca-8291aaea590a] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:52:43 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"fa608fe1-ceb3-4726-b95f-9ccaeae31420","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['412'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:47 GMT'] + etag: [fa608fe1-ceb3-4726-b95f-9ccaeae31420] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myzone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"fa608fe1-ceb3-4726-b95f-9ccaeae31420","properties":{"fqdn":"myrsa.myzone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['412'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:50 GMT'] + etag: [fa608fe1-ceb3-4726-b95f-9ccaeae31420] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:52:54 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsa'' does + not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['226'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:52:57 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + date: ['Thu, 15 Mar 2018 03:53:01 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsa'' does + not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['226'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:53:04 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myzone.com?api-version=2017-09-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsOperationStatuses/delzone636566827886606381ac169b36?api-version=2017-09-01'] + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:53:08 GMT'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsOperationResults/delzone636566827886606381ac169b36?api-version=2017-09-01'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone delete] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.28] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsOperationStatuses/delzone636566827886606381ac169b36?api-version=2017-09-01 + response: + body: {string: '{"status":"Succeeded"}'} + headers: + cache-control: [private] + content-length: ['22'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 03:53:16 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.28] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns000001?api-version=2017-05-10 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 03:53:21 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGRE5TUkUzNzdRTDdYSTdTM0U0VUs0Q0w0VkdHSDZBNFdCUnxBMkNBQUUzQ0I0QjZBMUM4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/dns/azext_dns/tests/latest/recordings/test_private_dns.yaml b/src/dns/azext_dns/tests/latest/recordings/test_private_dns.yaml new file mode 100644 index 00000000000..7ea317883ef --- /dev/null +++ b/src/dns/azext_dns/tests/latest/recordings/test_private_dns.yaml @@ -0,0 +1,2776 @@ +interactions: +- request: + body: '{"location": "westus", "tags": {"use": "az-test"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['50'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns000001?api-version=2017-05-10 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001","name":"cli_test_dns000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['328'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:02:49 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns000001?api-version=2017-05-10 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001","name":"cli_test_dns000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['328'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:02:51 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: '{"location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['123'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 networkmanagementclient/2.0.0rc1 Azure-SDK-For-Python + AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/regvnet?api-version=2018-01-01 + response: + body: {string: "{\r\n \"name\": \"regvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/regvnet\"\ + ,\r\n \"etag\": \"W/\\\"3baf90ff-389d-4870-a321-4318f4497172\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"6df70e6f-a7c0-4dc5-9a0d-f2d01e29cef9\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/20eb76fe-a628-4d87-8187-efaf053c5507?api-version=2018-01-01'] + cache-control: [no-cache] + content-length: ['770'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:02:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 networkmanagementclient/2.0.0rc1 Azure-SDK-For-Python + AZURECLI/2.0.29] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/20eb76fe-a628-4d87-8187-efaf053c5507?api-version=2018-01-01 + response: + body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:06 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 networkmanagementclient/2.0.0rc1 Azure-SDK-For-Python + AZURECLI/2.0.29] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/regvnet?api-version=2018-01-01 + response: + body: {string: "{\r\n \"name\": \"regvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/regvnet\"\ + ,\r\n \"etag\": \"W/\\\"84ef1778-39c0-4d67-9047-635695b21e91\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"6df70e6f-a7c0-4dc5-9a0d-f2d01e29cef9\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['771'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:08 GMT'] + etag: [W/"84ef1778-39c0-4d67-9047-635695b21e91"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns000001?api-version=2017-05-10 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001","name":"cli_test_dns000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['328'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: '{"location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['123'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 networkmanagementclient/2.0.0rc1 Azure-SDK-For-Python + AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/resvnet?api-version=2018-01-01 + response: + body: {string: "{\r\n \"name\": \"resvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/resvnet\"\ + ,\r\n \"etag\": \"W/\\\"daaf51e2-5605-42ae-b3b6-64d2c44f1c9a\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"67af32a4-241f-412e-93bf-14ce6dc11fda\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/40162787-32d2-4b9a-88db-456793b4462e?api-version=2018-01-01'] + cache-control: [no-cache] + content-length: ['770'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 networkmanagementclient/2.0.0rc1 Azure-SDK-For-Python + AZURECLI/2.0.29] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/40162787-32d2-4b9a-88db-456793b4462e?api-version=2018-01-01 + response: + body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 networkmanagementclient/2.0.0rc1 Azure-SDK-For-Python + AZURECLI/2.0.29] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/resvnet?api-version=2018-01-01 + response: + body: {string: "{\r\n \"name\": \"resvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/resvnet\"\ + ,\r\n \"etag\": \"W/\\\"579d9fb3-ad35-4ba6-965d-fe68126cb0ea\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"67af32a4-241f-412e-93bf-14ce6dc11fda\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['771'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:29 GMT'] + etag: [W/"579d9fb3-ad35-4ba6-965d-fe68126cb0ea"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/dnszones?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone1_importcoy5bcpdvmjp7pccd6xd4vgwgifhkmhod36umlar2j3zztl3osbnjty\/providers\/Microsoft.Network\/dnszones\/zone1.com","name":"zone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-6237-b45c0abcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":16}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone1_importmlzmxo6pz75bsyfjj5vpaa5gsrjcf36pdv6drrglivv6hbx73c2hkuy\/providers\/Microsoft.Network\/dnszones\/zone1.com","name":"zone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-badd-3a5900bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone1_importvyoefieahfgkvu6jnr36wv2457dwgylo3zeam26rcczn6pjnkiqvkrc\/providers\/Microsoft.Network\/dnszones\/zone1.com","name":"zone1.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-7770-c08e08bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone2_importelj3wwtkykd4jyueaqezrn5ak6wluvdnx5656ezhji4cwqd4ec27r2a\/providers\/Microsoft.Network\/dnszones\/zone2.com","name":"zone2.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-ffe3-3c5007bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone3_import3lqkbxginzk3kg2n3arr66pje3tsxzq64drzuq7nh7mwcrj722oe2tx\/providers\/Microsoft.Network\/dnszones\/zone3.com","name":"zone3.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-9b02-a06209bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone3_importqzzd64yjky3jepv43tnf2wadziszoku3sdgyuyzu47steurwlttjiwp\/providers\/Microsoft.Network\/dnszones\/zone3.com","name":"zone3.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-4a32-078a07bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone5_import7c3kw4ugv7xfwqlbsv55qsmp2fqr2nf2fsat5pr6reknjot4j2tx3iu\/providers\/Microsoft.Network\/dnszones\/zone5.com","name":"zone5.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-391b-dd1808bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_dns_zone5_importwa76qcesf6isppa5t6m3sa6hejww6gs5auz3nrw32euhdgm3j27xeu5\/providers\/Microsoft.Network\/dnszones\/zone5.com","name":"zone5.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-1b61-e5fb09bcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cojacotest\/providers\/Microsoft.Network\/dnszones\/cojacoexample.com","name":"cojacoexample.com","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4f0e-0dfdb3fcd101","location":"global","tags":{"department":"HumanResources","importance":"Emergency"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":4}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/jonune-pinger-rg\/providers\/Microsoft.Network\/dnszones\/jonune.com","name":"jonune.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-2fcd-6d879726d301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/child1.karthiktestzone123.com","name":"child1.karthiktestzone123.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-3add-f115b43fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/child1karthiktestzone123.com","name":"child1karthiktestzone123.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-8cab-9601a63fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/karthiktestzone123.com","name":"karthiktestzone123.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-72b8-5bafaaa4d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karravitest1\/providers\/Microsoft.Network\/dnszones\/vladtest.test","name":"vladtest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc07-5f972e2ad201","location":"global","tags":{"a":"b"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":6}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.asmx","name":"a.asmx","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-64eb-63a8f162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.msgx","name":"a.msgx","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-0076-784ad162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.rules.test","name":"a.rules.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-b305-26eae362d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.skin","name":"a.skin","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-59b5-8941d162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/a.svc","name":"a.svc","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-d3fe-87fece62d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/c.aspx","name":"c.aspx","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-3920-5fc0f162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/c.svc","name":"c.svc","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-36a2-4db6f162d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/karthik.com","name":"karthik.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-1f92-66b1c962d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":6}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/karthikdnszones\/providers\/Microsoft.Network\/dnszones\/test.testrules","name":"test.testrules","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-a9d0-5a5dcd62d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1034\/providers\/Microsoft.Network\/dnszones\/onesdk4979.pstest.test","name":"onesdk4979.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-b767-5791d02ed201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1046\/providers\/Microsoft.Network\/dnszones\/onesdk6026.pstest.test","name":"onesdk6026.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-8c3a-32120448d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1069\/providers\/Microsoft.Network\/dnszones\/onesdk724.pstest.test","name":"onesdk724.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-89f8-fda5082ed201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1110\/providers\/Microsoft.Network\/dnszones\/onesdk2419.pstest.test","name":"onesdk2419.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-4c45-bbac8452d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1155\/providers\/Microsoft.Network\/dnszones\/onesdk8597.pstest.test","name":"onesdk8597.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-0b4b-cd88ce53d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1269\/providers\/Microsoft.Network\/dnszones\/onesdk1935.pstest.test","name":"onesdk1935.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-2581-78c8f140d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1597\/providers\/Microsoft.Network\/dnszones\/onesdk7046.pstest.test","name":"onesdk7046.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-bca1-ecb66b3bd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1616\/providers\/Microsoft.Network\/dnszones\/onesdk7626.pstest.test","name":"onesdk7626.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-22ec-d6c51639d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1620\/providers\/Microsoft.Network\/dnszones\/onesdk2799.pstest.test","name":"onesdk2799.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4185-f1194d38d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1732\/providers\/Microsoft.Network\/dnszones\/onesdk4494.pstest.test","name":"onesdk4494.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-05a8-5a00b64cd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk1906\/providers\/Microsoft.Network\/dnszones\/onesdk1575.pstest.test","name":"onesdk1575.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bace-07c7452dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2066\/providers\/Microsoft.Network\/dnszones\/onesdk1064.pstest.test","name":"onesdk1064.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4864-748c7537d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2526\/providers\/Microsoft.Network\/dnszones\/onesdk146.pstest.test","name":"onesdk146.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-1389-cbd6e235d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2773\/providers\/Microsoft.Network\/dnszones\/onesdk6501.pstest.test","name":"onesdk6501.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-e5df-1fe72b56d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2823\/providers\/Microsoft.Network\/dnszones\/onesdk5047.pstest.test","name":"onesdk5047.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-d34b-f8b47446d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2916\/providers\/Microsoft.Network\/dnszones\/onesdk3106.pstest.test","name":"onesdk3106.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-0caf-f0f69154d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk2985\/providers\/Microsoft.Network\/dnszones\/onesdk5810.pstest.test","name":"onesdk5810.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-c661-fe870753d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3150\/providers\/Microsoft.Network\/dnszones\/onesdk4105.pstest.test","name":"onesdk4105.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-58b9-f3fda234d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3153\/providers\/Microsoft.Network\/dnszones\/onesdk6890.pstest.test","name":"onesdk6890.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-d9f5-d9cf164fd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3702\/providers\/Microsoft.Network\/dnszones\/onesdk4390.pstest.test","name":"onesdk4390.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-e717-3529e04fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3740\/providers\/Microsoft.Network\/dnszones\/onesdk3868.pstest.test","name":"onesdk3868.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-42ef-30d3102ed201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk3930\/providers\/Microsoft.Network\/dnszones\/onesdk7182.pstest.test","name":"onesdk7182.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-f5b6-b9a6604ad201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk4038\/providers\/Microsoft.Network\/dnszones\/onesdk583.pstest.test","name":"onesdk583.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-5fad-5e93b436d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk453\/providers\/Microsoft.Network\/dnszones\/onesdk9431.pstest.test","name":"onesdk9431.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-bc5c-80257b2cd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk4907\/providers\/Microsoft.Network\/dnszones\/onesdk8724.pstest.test","name":"onesdk8724.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-fff3-57db474ed201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk4971\/providers\/Microsoft.Network\/dnszones\/onesdk5149.pstest.test","name":"onesdk5149.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-54d3-0e15a83ad201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-06.ppe.azure-dns.com.","ns2-06.ppe.azure-dns.net.","ns3-06.ppe.azure-dns.org.","ns4-06.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5110\/providers\/Microsoft.Network\/dnszones\/onesdk9387.pstest.test","name":"onesdk9387.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-76ae-88857f4dd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5394\/providers\/Microsoft.Network\/dnszones\/onesdk5675.pstest.test","name":"onesdk5675.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-9c28-5ea1bd41d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5453\/providers\/Microsoft.Network\/dnszones\/onesdk9910.pstest.test","name":"onesdk9910.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-02ff-3947be4cd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5626\/providers\/Microsoft.Network\/dnszones\/onesdk3052.pstest.test","name":"onesdk3052.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-d6fd-f87ea950d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5752\/providers\/Microsoft.Network\/dnszones\/onesdk1764.pstest.test","name":"onesdk1764.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-c82e-4cb1922bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk5945\/providers\/Microsoft.Network\/dnszones\/onesdk4636.pstest.test","name":"onesdk4636.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-0769-0da02356d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6005\/providers\/Microsoft.Network\/dnszones\/onesdk4419.pstest.test","name":"onesdk4419.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-41d2-eb13043dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6140\/providers\/Microsoft.Network\/dnszones\/onesdk8278.pstest.test","name":"onesdk8278.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-418e-1615a59dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6359\/providers\/Microsoft.Network\/dnszones\/onesdk4630.pstest.test","name":"onesdk4630.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-c1cb-e10e6355d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-07.ppe.azure-dns.com.","ns2-07.ppe.azure-dns.net.","ns3-07.ppe.azure-dns.org.","ns4-07.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6657\/providers\/Microsoft.Network\/dnszones\/onesdk5052.pstest.test","name":"onesdk5052.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-ae24-e0a39c51d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk6702\/providers\/Microsoft.Network\/dnszones\/onesdk5546.pstest.test","name":"onesdk5546.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-e621-38c9164fd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7002\/providers\/Microsoft.Network\/dnszones\/onesdk8767.pstest.test","name":"onesdk8767.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-4bee-01812240d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-03.ppe.azure-dns.com.","ns2-03.ppe.azure-dns.net.","ns3-03.ppe.azure-dns.org.","ns4-03.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7310\/providers\/Microsoft.Network\/dnszones\/onesdk8039.pstest.test","name":"onesdk8039.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-b569-bccdf140d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7432\/providers\/Microsoft.Network\/dnszones\/onesdk9736.pstest.test","name":"onesdk9736.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-2b95-e57b2b4bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7671\/providers\/Microsoft.Network\/dnszones\/onesdk5367.pstest.test","name":"onesdk5367.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-dea3-6685a950d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk7960\/providers\/Microsoft.Network\/dnszones\/onesdk9256.pstest.test","name":"onesdk9256.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-2947-b8906c46d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8189\/providers\/Microsoft.Network\/dnszones\/onesdk1990.pstest.test","name":"onesdk1990.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-ee0c-dabff44bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8194\/providers\/Microsoft.Network\/dnszones\/onesdk9649.pstest.test","name":"onesdk9649.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-8c03-5998733bd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8405\/providers\/Microsoft.Network\/dnszones\/onesdk846.pstest.test","name":"onesdk846.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-e92d-d3233747d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8706\/providers\/Microsoft.Network\/dnszones\/onesdk5873.pstest.test","name":"onesdk5873.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-c78b-e99dff52d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk8876\/providers\/Microsoft.Network\/dnszones\/onesdk7912.pstest.test","name":"onesdk7912.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-f503-62ec7c52d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9274\/providers\/Microsoft.Network\/dnszones\/onesdk2187.pstest.test","name":"onesdk2187.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-e6ff-5fd41f35d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-01.ppe.azure-dns.com.","ns2-01.ppe.azure-dns.net.","ns3-01.ppe.azure-dns.org.","ns4-01.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9476\/providers\/Microsoft.Network\/dnszones\/onesdk8662.pstest.test","name":"onesdk8662.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-fe43-1f1a043dd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-02.ppe.azure-dns.com.","ns2-02.ppe.azure-dns.net.","ns3-02.ppe.azure-dns.org.","ns4-02.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9505\/providers\/Microsoft.Network\/dnszones\/onesdk9266.pstest.test","name":"onesdk9266.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-f86e-f90c0448d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-05.ppe.azure-dns.com.","ns2-05.ppe.azure-dns.net.","ns3-05.ppe.azure-dns.org.","ns4-05.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9530\/providers\/Microsoft.Network\/dnszones\/onesdk2511.pstest.test","name":"onesdk2511.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-98de-dcf1ce3dd201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9674\/providers\/Microsoft.Network\/dnszones\/onesdk4780.pstest.test","name":"onesdk4780.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-f939-1816ce48d201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9728\/providers\/Microsoft.Network\/dnszones\/onesdk7582.pstest.test","name":"onesdk7582.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-76b8-9bc77d37d201","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-04.ppe.azure-dns.com.","ns2-04.ppe.azure-dns.net.","ns3-04.ppe.azure-dns.org.","ns4-04.ppe.azure-dns.info."],"numberOfRecordSets":3}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk9954\/providers\/Microsoft.Network\/dnszones\/onesdk9424.pstest.test","name":"onesdk9424.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-0bcb-2fa4234bd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-09.ppe.azure-dns.com.","ns2-09.ppe.azure-dns.net.","ns3-09.ppe.azure-dns.org.","ns4-09.ppe.azure-dns.info."],"numberOfRecordSets":2}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/onesdk996\/providers\/Microsoft.Network\/dnszones\/onesdk7788.pstest.test","name":"onesdk7788.pstest.test","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-e53a-fb2b7b2cd201","location":"global","tags":{"tag2":"value2","tag1":"value1"},"properties":{"maxNumberOfRecordSets":5000,"nameServers":["ns1-08.ppe.azure-dns.com.","ns2-08.ppe.azure-dns.net.","ns3-08.ppe.azure-dns.org.","ns4-08.ppe.azure-dns.info."],"numberOfRecordSets":2}}]}'} + headers: + cache-control: [private] + content-length: ['39648'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:38 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: 'b''{"location": "global", "properties": {"zoneType": "Private", "registrationVirtualNetworks": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/regvnet"}], + "resolutionVirtualNetworks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/resvnet"}]}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone create] + Connection: [keep-alive] + Content-Length: ['537'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 azure-mgmt-dns/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2018-03-01-preview + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":1,"registrationVirtualNetworks":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/virtualNetworks\/regvnet"}],"resolutionVirtualNetworks":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/virtualNetworks\/resvnet"}],"zoneType":"Private"}}'} + headers: + cache-control: [private] + content-length: ['947'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:49 GMT'] + etag: [00000002-0000-0000-b2fc-cb001bbcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":1}}]}'} + headers: + cache-control: [private] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:53 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone update] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 azure-mgmt-dns/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2018-03-01-preview + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000002-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":1,"registrationVirtualNetworks":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/virtualNetworks\/regvnet"}],"resolutionVirtualNetworks":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/virtualNetworks\/resvnet"}],"zoneType":"Private"}}'} + headers: + cache-control: [private] + content-length: ['947'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:03:58 GMT'] + etag: [00000002-0000-0000-b2fc-cb001bbcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"location": "global", "tags": {}, "etag": "00000002-0000-0000-b2fc-cb001bbcd301", + "properties": {"zoneType": "Private"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone update] + Connection: [keep-alive] + Content-Length: ['121'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 azure-mgmt-dns/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2018-03-01-preview + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":1,"registrationVirtualNetworks":[],"resolutionVirtualNetworks":[],"zoneType":"Private"}}'} + headers: + cache-control: [private] + content-length: ['525'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:03 GMT'] + etag: [00000003-0000-0000-b2fc-cb001bbcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone update] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 azure-mgmt-dns/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2018-03-01-preview + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000003-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":1,"registrationVirtualNetworks":[],"resolutionVirtualNetworks":[],"zoneType":"Private"}}'} + headers: + cache-control: [private] + content-length: ['525'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:07 GMT'] + etag: [00000003-0000-0000-b2fc-cb001bbcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: 'b''{"location": "global", "tags": {}, "etag": "00000003-0000-0000-b2fc-cb001bbcd301", + "properties": {"zoneType": "Private", "registrationVirtualNetworks": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/regvnet"}], + "resolutionVirtualNetworks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/virtualNetworks/resvnet"}]}}''' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone update] + Connection: [keep-alive] + Content-Length: ['597'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 azure-mgmt-dns/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2018-03-01-preview + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000004-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":1,"registrationVirtualNetworks":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/virtualNetworks\/regvnet"}],"resolutionVirtualNetworks":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/virtualNetworks\/resvnet"}],"zoneType":"Private"}}'} + headers: + cache-control: [private] + content-length: ['947'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:20 GMT'] + etag: [00000004-0000-0000-b2fc-cb001bbcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000004-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":1}}'} + headers: + cache-control: [private] + content-length: ['440'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:25 GMT'] + etag: [00000004-0000-0000-b2fc-cb001bbcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"e943279a-6b68-4675-941a-9e9be4852b48","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:30 GMT'] + etag: [e943279a-6b68-4675-941a-9e9be4852b48] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"e943279a-6b68-4675-941a-9e9be4852b48","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['399'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:35 GMT'] + etag: [e943279a-6b68-4675-941a-9e9be4852b48] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "e943279a-6b68-4675-941a-9e9be4852b48", "properties": {"TTL": + 3600, "ARecords": [{"ipv4Address": "10.0.0.10"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Length: ['121'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"d6595ff2-96b3-4a12-b8ee-c4645150f08d","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}}'} + headers: + cache-control: [private] + content-length: ['426'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:39 GMT'] + etag: [d6595ff2-96b3-4a12-b8ee-c4645150f08d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsaalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsaalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['229'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:42 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "ARecords": [{"ipv4Address": "10.0.0.10"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Length: ['73'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsaalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsaalt","name":"myrsaalt","type":"Microsoft.Network\/dnszones\/A","etag":"5968927b-17c4-4ca0-8d30-9f6e9b171c43","properties":{"fqdn":"myrsaalt.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}}'} + headers: + cache-control: [private] + content-length: ['435'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:47 GMT'] + etag: [5968927b-17c4-4ca0-8d30-9f6e9b171c43] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"1eb1506c-fd22-472b-bfa8-df2afb2d546d","properties":{"fqdn":"myrsaaaa.myprivatezone.com.","TTL":3600,"AAAARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['417'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:50 GMT'] + etag: [1eb1506c-fd22-472b-bfa8-df2afb2d546d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"1eb1506c-fd22-472b-bfa8-df2afb2d546d","properties":{"fqdn":"myrsaaaa.myprivatezone.com.","TTL":3600,"AAAARecords":[]}}'} + headers: + cache-control: [private] + content-length: ['417'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:55 GMT'] + etag: [1eb1506c-fd22-472b-bfa8-df2afb2d546d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "1eb1506c-fd22-472b-bfa8-df2afb2d546d", "properties": {"TTL": + 3600, "AAAARecords": [{"ipv6Address": "2001:db8:0:1:1:1:1:1"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Length: ['135'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"697ee323-98fd-4170-91bb-e16e82b8f1f8","properties":{"fqdn":"myrsaaaa.myprivatezone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}}'} + headers: + cache-control: [private] + content-length: ['455'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:04:59 GMT'] + etag: [697ee323-98fd-4170-91bb-e16e82b8f1f8] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/AAAA/myrsaaaaalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsaaaaalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['232'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:03 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "AAAARecords": [{"ipv6Address": "2001:db8:0:1:1:1:1:1"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa add-record] + Connection: [keep-alive] + Content-Length: ['87'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/AAAA/myrsaaaaalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/AAAA\/myrsaaaaalt","name":"myrsaaaaalt","type":"Microsoft.Network\/dnszones\/AAAA","etag":"6c889beb-9955-4f96-aaf5-933a3f070ccf","properties":{"fqdn":"myrsaaaaalt.myprivatezone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}}'} + headers: + cache-control: [private] + content-length: ['464'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:07 GMT'] + etag: [6c889beb-9955-4f96-aaf5-933a3f070ccf] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"9ea74323-7366-4d37-8828-efe77adbdc21","properties":{"fqdn":"myrscaa.myprivatezone.com.","TTL":3600,"caaRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:12 GMT'] + etag: [9ea74323-7366-4d37-8828-efe77adbdc21] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"9ea74323-7366-4d37-8828-efe77adbdc21","properties":{"fqdn":"myrscaa.myprivatezone.com.","TTL":3600,"caaRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:15 GMT'] + etag: [9ea74323-7366-4d37-8828-efe77adbdc21] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "9ea74323-7366-4d37-8828-efe77adbdc21", "properties": {"TTL": + 3600, "caaRecords": [{"flags": 0, "tag": "foo", "value": "my value"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Length: ['142'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"189d1951-3606-4f33-9071-0d431d1aaf2c","properties":{"fqdn":"myrscaa.myprivatezone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}}'} + headers: + cache-control: [private] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:19 GMT'] + etag: [189d1951-3606-4f33-9071-0d431d1aaf2c] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CAA/myrscaaalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrscaaalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:24 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "caaRecords": [{"flags": 0, "tag": "foo", + "value": "my value"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa add-record] + Connection: [keep-alive] + Content-Length: ['94'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CAA/myrscaaalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CAA\/myrscaaalt","name":"myrscaaalt","type":"Microsoft.Network\/dnszones\/CAA","etag":"ff2fa0e1-1277-4fc0-b20b-41c263ea3a57","properties":{"fqdn":"myrscaaalt.myprivatezone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}}'} + headers: + cache-control: [private] + content-length: ['462'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:30 GMT'] + etag: [ff2fa0e1-1277-4fc0-b20b-41c263ea3a57] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"47c1df2b-95ef-4b06-bb90-25f8aa2dc957","properties":{"fqdn":"myrscname.myprivatezone.com.","TTL":3600}}'} + headers: + cache-control: [private] + content-length: ['405'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:35 GMT'] + etag: [47c1df2b-95ef-4b06-bb90-25f8aa2dc957] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"47c1df2b-95ef-4b06-bb90-25f8aa2dc957","properties":{"fqdn":"myrscname.myprivatezone.com.","TTL":3600}}'} + headers: + cache-control: [private] + content-length: ['405'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:38 GMT'] + etag: [47c1df2b-95ef-4b06-bb90-25f8aa2dc957] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "47c1df2b-95ef-4b06-bb90-25f8aa2dc957", "properties": {"TTL": + 3600, "CNAMERecord": {"cname": "mycname"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Length: ['114'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"f303aeb9-4a83-47f8-8039-c51671e5056d","properties":{"fqdn":"myrscname.myprivatezone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}}'} + headers: + cache-control: [private] + content-length: ['439'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:42 GMT'] + etag: [f303aeb9-4a83-47f8-8039-c51671e5056d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CNAME/myrscnamealt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrscnamealt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['233'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:48 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "CNAMERecord": {"cname": "mycname"}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname set-record] + Connection: [keep-alive] + Content-Length: ['66'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CNAME/myrscnamealt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CNAME\/myrscnamealt","name":"myrscnamealt","type":"Microsoft.Network\/dnszones\/CNAME","etag":"c93e94db-599a-48b0-ba2f-95ed6319a2fc","properties":{"fqdn":"myrscnamealt.myprivatezone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}}'} + headers: + cache-control: [private] + content-length: ['448'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:53 GMT'] + etag: [c93e94db-599a-48b0-ba2f-95ed6319a2fc] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"0d92e14b-15de-430d-83b8-18cc01a4f684","properties":{"fqdn":"myrsmx.myprivatezone.com.","TTL":3600,"MXRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['405'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:05:56 GMT'] + etag: [0d92e14b-15de-430d-83b8-18cc01a4f684] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"0d92e14b-15de-430d-83b8-18cc01a4f684","properties":{"fqdn":"myrsmx.myprivatezone.com.","TTL":3600,"MXRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['405'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:01 GMT'] + etag: [0d92e14b-15de-430d-83b8-18cc01a4f684] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "0d92e14b-15de-430d-83b8-18cc01a4f684", "properties": {"TTL": + 3600, "MXRecords": [{"preference": 13, "exchange": "12"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Length: ['130'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"32abfc83-9b30-40dd-961f-1004760c7551","properties":{"fqdn":"myrsmx.myprivatezone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}}'} + headers: + cache-control: [private] + content-length: ['438'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:05 GMT'] + etag: [32abfc83-9b30-40dd-961f-1004760c7551] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/MX/myrsmxalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsmxalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['230'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:09 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "MXRecords": [{"preference": 13, "exchange": + "12"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx add-record] + Connection: [keep-alive] + Content-Length: ['82'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/MX/myrsmxalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/MX\/myrsmxalt","name":"myrsmxalt","type":"Microsoft.Network\/dnszones\/MX","etag":"b3742e79-5cf5-4286-97c2-251129faf82b","properties":{"fqdn":"myrsmxalt.myprivatezone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}}'} + headers: + cache-control: [private] + content-length: ['447'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:14 GMT'] + etag: [b3742e79-5cf5-4286-97c2-251129faf82b] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"b535f4d5-962f-45b3-b5ab-cf053ae9ef7b","properties":{"fqdn":"myrsptr.myprivatezone.com.","TTL":3600,"PTRRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:18 GMT'] + etag: [b535f4d5-962f-45b3-b5ab-cf053ae9ef7b] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"b535f4d5-962f-45b3-b5ab-cf053ae9ef7b","properties":{"fqdn":"myrsptr.myprivatezone.com.","TTL":3600,"PTRRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:21 GMT'] + etag: [b535f4d5-962f-45b3-b5ab-cf053ae9ef7b] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "b535f4d5-962f-45b3-b5ab-cf053ae9ef7b", "properties": {"TTL": + 3600, "PTRRecords": [{"ptrdname": "foobar.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Length: ['121'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"913e4c96-10e9-4b28-96ab-c0a1a2153595","properties":{"fqdn":"myrsptr.myprivatezone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['436'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:25 GMT'] + etag: [913e4c96-10e9-4b28-96ab-c0a1a2153595] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/PTR/myrsptralt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsptralt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:31 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "PTRRecords": [{"ptrdname": "foobar.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr add-record] + Connection: [keep-alive] + Content-Length: ['73'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/PTR/myrsptralt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/PTR\/myrsptralt","name":"myrsptralt","type":"Microsoft.Network\/dnszones\/PTR","etag":"02e0d1cd-2416-462e-9c8f-630a9acc62bf","properties":{"fqdn":"myrsptralt.myprivatezone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['445'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:35 GMT'] + etag: [02e0d1cd-2416-462e-9c8f-630a9acc62bf] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"c24872f4-8f2f-48df-9518-188cb75dd618","properties":{"fqdn":"myrssrv.myprivatezone.com.","TTL":3600,"SRVRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:42 GMT'] + etag: [c24872f4-8f2f-48df-9518-188cb75dd618] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"c24872f4-8f2f-48df-9518-188cb75dd618","properties":{"fqdn":"myrssrv.myprivatezone.com.","TTL":3600,"SRVRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:46 GMT'] + etag: [c24872f4-8f2f-48df-9518-188cb75dd618] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "c24872f4-8f2f-48df-9518-188cb75dd618", "properties": {"TTL": + 3600, "SRVRecords": [{"priority": 1, "weight": 50, "port": 1234, "target": "target.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Length: ['162'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"ae3b67b9-06cf-427f-a01b-a388a37891a9","properties":{"fqdn":"myrssrv.myprivatezone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}}'} + headers: + cache-control: [private] + content-length: ['471'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:51 GMT'] + etag: [ae3b67b9-06cf-427f-a01b-a388a37891a9] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SRV/myrssrvalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrssrvalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:06:56 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "SRVRecords": [{"priority": 1, "weight": 50, + "port": 1234, "target": "target.com"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv add-record] + Connection: [keep-alive] + Content-Length: ['114'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SRV/myrssrvalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SRV\/myrssrvalt","name":"myrssrvalt","type":"Microsoft.Network\/dnszones\/SRV","etag":"7ccb90c9-5090-427e-a94d-00fb586d1d59","properties":{"fqdn":"myrssrvalt.myprivatezone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}}'} + headers: + cache-control: [private] + content-length: ['480'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:00 GMT'] + etag: [7ccb90c9-5090-427e-a94d-00fb586d1d59] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"TTL": 3600}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt create] + Connection: [keep-alive] + Content-Length: ['29'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"73000fc1-2ab3-4340-93aa-e37a3915bbc8","properties":{"fqdn":"myrstxt.myprivatezone.com.","TTL":3600,"TXTRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:05 GMT'] + etag: [73000fc1-2ab3-4340-93aa-e37a3915bbc8] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"73000fc1-2ab3-4340-93aa-e37a3915bbc8","properties":{"fqdn":"myrstxt.myprivatezone.com.","TTL":3600,"TXTRecords":[]}}'} + headers: + cache-control: [private] + content-length: ['411'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:16 GMT'] + etag: [73000fc1-2ab3-4340-93aa-e37a3915bbc8] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "73000fc1-2ab3-4340-93aa-e37a3915bbc8", "properties": {"TTL": + 3600, "TXTRecords": [{"value": ["some_text"]}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Length: ['119'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"4910c206-2f66-4b6f-9422-603c149466e4","properties":{"fqdn":"myrstxt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}'} + headers: + cache-control: [private] + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:21 GMT'] + etag: [4910c206-2f66-4b6f-9422-603c149466e4] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/myrstxtalt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrstxtalt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['231'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:27 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "TXTRecords": [{"value": ["some_text"]}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Length: ['71'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/myrstxtalt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxtalt","name":"myrstxtalt","type":"Microsoft.Network\/dnszones\/TXT","etag":"b076279a-19b8-47d5-9c5a-64aef2042a82","properties":{"fqdn":"myrstxtalt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}'} + headers: + cache-control: [private] + content-length: ['443'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:33 GMT'] + etag: [b076279a-19b8-47d5-9c5a-64aef2042a82] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"d6595ff2-96b3-4a12-b8ee-c4645150f08d","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}}'} + headers: + cache-control: [private] + content-length: ['426'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:36 GMT'] + etag: [d6595ff2-96b3-4a12-b8ee-c4645150f08d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "d6595ff2-96b3-4a12-b8ee-c4645150f08d", "properties": {"TTL": + 3600, "ARecords": [{"ipv4Address": "10.0.0.10"}, {"ipv4Address": "10.0.0.11"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a add-record] + Connection: [keep-alive] + Content-Length: ['151'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"59bd77fc-7b0a-4327-8521-9546d5946d8d","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['454'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:42 GMT'] + etag: [59bd77fc-7b0a-4327-8521-9546d5946d8d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set soa update] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SOA/@?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"e08c25dd-3e02-484c-a716-1e32d25cc01a","properties":{"fqdn":"myprivatezone.com.","TTL":3600,"SOARecord":{"email":"azuredns-hostmaster.microsoft.com","expireTime":2419200,"host":"internal.cloudapp.net","minimumTTL":300,"refreshTime":3600,"retryTime":300,"serialNumber":1}}}'} + headers: + cache-control: [private] + content-length: ['554'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:45 GMT'] + etag: [e08c25dd-3e02-484c-a716-1e32d25cc01a] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set soa update] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SOA/@?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"e08c25dd-3e02-484c-a716-1e32d25cc01a","properties":{"fqdn":"myprivatezone.com.","TTL":3600,"SOARecord":{"email":"azuredns-hostmaster.microsoft.com","expireTime":2419200,"host":"internal.cloudapp.net","minimumTTL":300,"refreshTime":3600,"retryTime":300,"serialNumber":1}}}'} + headers: + cache-control: [private] + content-length: ['554'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:51 GMT'] + etag: [e08c25dd-3e02-484c-a716-1e32d25cc01a] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "e08c25dd-3e02-484c-a716-1e32d25cc01a", "properties": {"TTL": + 3600, "SOARecord": {"host": "internal.cloudapp.net", "email": "foo.com", "serialNumber": + 123, "refreshTime": 60, "retryTime": 90, "expireTime": 30, "minimumTTL": 20}}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set soa update] + Connection: [keep-alive] + Content-Length: ['238'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SOA/@?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"02766f7f-ae08-48ca-923f-e5b81525f832","properties":{"fqdn":"myprivatezone.com.","TTL":3600,"SOARecord":{"email":"foo.com","expireTime":30,"host":"internal.cloudapp.net","minimumTTL":20,"refreshTime":60,"retryTime":90,"serialNumber":123}}}'} + headers: + cache-control: [private] + content-length: ['521'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:55 GMT'] + etag: [02766f7f-ae08-48ca-923f-e5b81525f832] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/longtxt?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''longtxt'' + does not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['228'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:07:58 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: '{"properties": {"TTL": 3600, "TXTRecords": [{"value": ["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234", + "56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt add-record] + Connection: [keep-alive] + Content-Length: ['566'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/longtxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/longtxt","name":"longtxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"4260aae3-88a8-48b4-a651-31ed17fcde2f","properties":{"fqdn":"longtxt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234","56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}}'} + headers: + cache-control: [private] + content-length: ['928'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:03 GMT'] + etag: [4260aae3-88a8-48b4-a651-31ed17fcde2f] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com","name":"myprivatezone.com","type":"Microsoft.Network\/dnszones","etag":"00000004-0000-0000-b2fc-cb001bbcd301","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":5000,"nameServers":null,"numberOfRecordSets":18}}'} + headers: + cache-control: [private] + content-length: ['441'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:06 GMT'] + etag: [00000004-0000-0000-b2fc-cb001bbcd301] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"59bd77fc-7b0a-4327-8521-9546d5946d8d","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['454'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:09 GMT'] + etag: [59bd77fc-7b0a-4327-8521-9546d5946d8d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/recordsets?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SOA\/@","name":"@","type":"Microsoft.Network\/dnszones\/SOA","etag":"02766f7f-ae08-48ca-923f-e5b81525f832","properties":{"fqdn":"myprivatezone.com.","TTL":3600,"SOARecord":{"email":"foo.com","expireTime":30,"host":"internal.cloudapp.net","minimumTTL":20,"refreshTime":60,"retryTime":90,"serialNumber":123}}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/longtxt","name":"longtxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"4260aae3-88a8-48b4-a651-31ed17fcde2f","properties":{"fqdn":"longtxt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234","56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"59bd77fc-7b0a-4327-8521-9546d5946d8d","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"697ee323-98fd-4170-91bb-e16e82b8f1f8","properties":{"fqdn":"myrsaaaa.myprivatezone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/AAAA\/myrsaaaaalt","name":"myrsaaaaalt","type":"Microsoft.Network\/dnszones\/AAAA","etag":"6c889beb-9955-4f96-aaf5-933a3f070ccf","properties":{"fqdn":"myrsaaaaalt.myprivatezone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsaalt","name":"myrsaalt","type":"Microsoft.Network\/dnszones\/A","etag":"5968927b-17c4-4ca0-8d30-9f6e9b171c43","properties":{"fqdn":"myrsaalt.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"189d1951-3606-4f33-9071-0d431d1aaf2c","properties":{"fqdn":"myrscaa.myprivatezone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CAA\/myrscaaalt","name":"myrscaaalt","type":"Microsoft.Network\/dnszones\/CAA","etag":"ff2fa0e1-1277-4fc0-b20b-41c263ea3a57","properties":{"fqdn":"myrscaaalt.myprivatezone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"f303aeb9-4a83-47f8-8039-c51671e5056d","properties":{"fqdn":"myrscname.myprivatezone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CNAME\/myrscnamealt","name":"myrscnamealt","type":"Microsoft.Network\/dnszones\/CNAME","etag":"c93e94db-599a-48b0-ba2f-95ed6319a2fc","properties":{"fqdn":"myrscnamealt.myprivatezone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"32abfc83-9b30-40dd-961f-1004760c7551","properties":{"fqdn":"myrsmx.myprivatezone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/MX\/myrsmxalt","name":"myrsmxalt","type":"Microsoft.Network\/dnszones\/MX","etag":"b3742e79-5cf5-4286-97c2-251129faf82b","properties":{"fqdn":"myrsmxalt.myprivatezone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"913e4c96-10e9-4b28-96ab-c0a1a2153595","properties":{"fqdn":"myrsptr.myprivatezone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/PTR\/myrsptralt","name":"myrsptralt","type":"Microsoft.Network\/dnszones\/PTR","etag":"02e0d1cd-2416-462e-9c8f-630a9acc62bf","properties":{"fqdn":"myrsptralt.myprivatezone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"ae3b67b9-06cf-427f-a01b-a388a37891a9","properties":{"fqdn":"myrssrv.myprivatezone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SRV\/myrssrvalt","name":"myrssrvalt","type":"Microsoft.Network\/dnszones\/SRV","etag":"7ccb90c9-5090-427e-a94d-00fb586d1d59","properties":{"fqdn":"myrssrvalt.myprivatezone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"4910c206-2f66-4b6f-9422-603c149466e4","properties":{"fqdn":"myrstxt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxtalt","name":"myrstxtalt","type":"Microsoft.Network\/dnszones\/TXT","etag":"b076279a-19b8-47d5-9c5a-64aef2042a82","properties":{"fqdn":"myrstxtalt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}]}'} + headers: + cache-control: [private] + content-length: ['8682'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:12 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt list] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT?api-version=2017-09-01 + response: + body: {string: '{"value":[{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/longtxt","name":"longtxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"4260aae3-88a8-48b4-a651-31ed17fcde2f","properties":{"fqdn":"longtxt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234","56789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"4910c206-2f66-4b6f-9422-603c149466e4","properties":{"fqdn":"myrstxt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}},{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxtalt","name":"myrstxtalt","type":"Microsoft.Network\/dnszones\/TXT","etag":"b076279a-19b8-47d5-9c5a-64aef2042a82","properties":{"fqdn":"myrstxtalt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}]}'} + headers: + cache-control: [private] + content-length: ['1819'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:17 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"59bd77fc-7b0a-4327-8521-9546d5946d8d","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.10"},{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['454'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:20 GMT'] + etag: [59bd77fc-7b0a-4327-8521-9546d5946d8d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: '{"etag": "59bd77fc-7b0a-4327-8521-9546d5946d8d", "properties": {"TTL": + 3600, "ARecords": [{"ipv4Address": "10.0.0.11"}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Length: ['121'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"43b735cc-ea18-4c7d-93aa-96e4af9e5c8e","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['426'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:26 GMT'] + etag: [43b735cc-ea18-4c7d-93aa-96e4af9e5c8e] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/AAAA\/myrsaaaa","name":"myrsaaaa","type":"Microsoft.Network\/dnszones\/AAAA","etag":"697ee323-98fd-4170-91bb-e16e82b8f1f8","properties":{"fqdn":"myrsaaaa.myprivatezone.com.","TTL":3600,"AAAARecords":[{"ipv6Address":"2001:db8:0:1:1:1:1:1"}]}}'} + headers: + cache-control: [private] + content-length: ['455'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:29 GMT'] + etag: [697ee323-98fd-4170-91bb-e16e82b8f1f8] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set aaaa remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/AAAA/myrsaaaa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:08:33 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CAA\/myrscaa","name":"myrscaa","type":"Microsoft.Network\/dnszones\/CAA","etag":"189d1951-3606-4f33-9071-0d431d1aaf2c","properties":{"fqdn":"myrscaa.myprivatezone.com.","TTL":3600,"caaRecords":[{"flags":0,"tag":"foo","value":"my + value"}]}}'} + headers: + cache-control: [private] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:37 GMT'] + etag: [189d1951-3606-4f33-9071-0d431d1aaf2c] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set caa remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CAA/myrscaa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:08:39 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/CNAME\/myrscname","name":"myrscname","type":"Microsoft.Network\/dnszones\/CNAME","etag":"f303aeb9-4a83-47f8-8039-c51671e5056d","properties":{"fqdn":"myrscname.myprivatezone.com.","TTL":3600,"CNAMERecord":{"cname":"mycname"}}}'} + headers: + cache-control: [private] + content-length: ['439'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:43 GMT'] + etag: [f303aeb9-4a83-47f8-8039-c51671e5056d] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set cname remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/CNAME/myrscname?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:08:47 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/MX\/myrsmx","name":"myrsmx","type":"Microsoft.Network\/dnszones\/MX","etag":"32abfc83-9b30-40dd-961f-1004760c7551","properties":{"fqdn":"myrsmx.myprivatezone.com.","TTL":3600,"MXRecords":[{"exchange":"12","preference":13}]}}'} + headers: + cache-control: [private] + content-length: ['438'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:51 GMT'] + etag: [32abfc83-9b30-40dd-961f-1004760c7551] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set mx remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/MX/myrsmx?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:08:54 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/PTR\/myrsptr","name":"myrsptr","type":"Microsoft.Network\/dnszones\/PTR","etag":"913e4c96-10e9-4b28-96ab-c0a1a2153595","properties":{"fqdn":"myrsptr.myprivatezone.com.","TTL":3600,"PTRRecords":[{"ptrdname":"foobar.com"}]}}'} + headers: + cache-control: [private] + content-length: ['436'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:08:57 GMT'] + etag: [913e4c96-10e9-4b28-96ab-c0a1a2153595] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set ptr remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/PTR/myrsptr?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:09:01 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/SRV\/myrssrv","name":"myrssrv","type":"Microsoft.Network\/dnszones\/SRV","etag":"ae3b67b9-06cf-427f-a01b-a388a37891a9","properties":{"fqdn":"myrssrv.myprivatezone.com.","TTL":3600,"SRVRecords":[{"port":1234,"priority":1,"target":"target.com","weight":50}]}}'} + headers: + cache-control: [private] + content-length: ['471'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:09:04 GMT'] + etag: [ae3b67b9-06cf-427f-a01b-a388a37891a9] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set srv remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/SRV/myrssrv?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:09:08 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/TXT\/myrstxt","name":"myrstxt","type":"Microsoft.Network\/dnszones\/TXT","etag":"4910c206-2f66-4b6f-9422-603c149466e4","properties":{"fqdn":"myrstxt.myprivatezone.com.","TTL":3600,"TXTRecords":[{"value":["some_text"]}]}}'} + headers: + cache-control: [private] + content-length: ['434'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:09:11 GMT'] + etag: [4910c206-2f66-4b6f-9422-603c149466e4] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set txt remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/TXT/myrstxt?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:09:14 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"43b735cc-ea18-4c7d-93aa-96e4af9e5c8e","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['426'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:09:19 GMT'] + etag: [43b735cc-ea18-4c7d-93aa-96e4af9e5c8e] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"id":"\/subscriptions\/a984ce58-225e-44d2-bc79-20a834ce85ae\/resourceGroups\/cli_test_dns000001\/providers\/Microsoft.Network\/dnszones\/myprivatezone.com\/A\/myrsa","name":"myrsa","type":"Microsoft.Network\/dnszones\/A","etag":"43b735cc-ea18-4c7d-93aa-96e4af9e5c8e","properties":{"fqdn":"myrsa.myprivatezone.com.","TTL":3600,"ARecords":[{"ipv4Address":"10.0.0.11"}]}}'} + headers: + cache-control: [private] + content-length: ['426'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:09:24 GMT'] + etag: [43b735cc-ea18-4c7d-93aa-96e4af9e5c8e] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a remove-record] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:09:26 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsa'' does + not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['226'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:09:30 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: ''} + headers: + cache-control: [private] + date: ['Thu, 15 Mar 2018 05:09:36 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 204, message: No Content} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns record-set a show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com/A/myrsa?api-version=2017-09-01 + response: + body: {string: '{"code":"NotFound","message":"The resource record ''myrsa'' does + not exist in resource group ''cli_test_dns000001'' of subscription ''a984ce58-225e-44d2-bc79-20a834ce85ae''."}'} + headers: + cache-control: [private] + content-length: ['226'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:09:41 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 404, message: Not Found} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsZones/myprivatezone.com?api-version=2017-09-01 + response: + body: {string: ''} + headers: + azure-asyncoperation: ['https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsOperationStatuses/delzone636566873873364939b7149d89?api-version=2017-09-01'] + cache-control: [private] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:09:47 GMT'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsOperationResults/delzone636566873873364939b7149d89?api-version=2017-09-01'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network dns zone delete] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 dnsmanagementclient/1.2.0 Azure-SDK-For-Python AZURECLI/2.0.29] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_dns000001/providers/Microsoft.Network/dnsOperationStatuses/delzone636566873873364939b7149d89?api-version=2017-09-01 + response: + body: {string: '{"status":"Succeeded"}'} + headers: + cache-control: [private] + content-length: ['22'] + content-type: [application/json; charset=utf-8] + date: ['Thu, 15 Mar 2018 05:09:53 GMT'] + server: [Microsoft-IIS/8.5] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.4 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.22 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.29] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_dns000001?api-version=2017-05-10 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Thu, 15 Mar 2018 05:09:59 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGRE5TSDdLNk5NM0xHUUdBREJCQkpWUFNLRjVTWDVLRVhHWHxCRDIwNzU0QzAyRTJFNjUzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/dns/azext_dns/tests/latest/test_dns_commands.py b/src/dns/azext_dns/tests/latest/test_dns_commands.py new file mode 100644 index 00000000000..22600a57d4b --- /dev/null +++ b/src/dns/azext_dns/tests/latest/test_dns_commands.py @@ -0,0 +1,173 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long +import os +import unittest + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +class DnsScenarioTest(ScenarioTest): + + @ResourceGroupPreparer(name_prefix='cli_test_dns') + def test_dns(self, resource_group): # pylint: disable=unused-argument + + self.kwargs['zone'] = 'myzone.com' + + self.cmd('network dns zone list') # just verify is works (no Exception raised) + self.cmd('network dns zone create -n {zone} -g {rg}') + self.cmd('network dns zone list -g {rg}', + checks=self.check('length(@)', 1)) + + base_record_sets = 2 + self.cmd('network dns zone show -n {zone} -g {rg}', + checks=self.check('numberOfRecordSets', base_record_sets)) + + args = { + 'a': '--ipv4-address 10.0.0.10', + 'aaaa': '--ipv6-address 2001:db8:0:1:1:1:1:1', + 'caa': '--flags 0 --tag foo --value "my value"', + 'cname': '--cname mycname', + 'mx': '--exchange 12 --preference 13', + 'ns': '--nsdname foobar.com', + 'ptr': '--ptrdname foobar.com', + 'soa': '--email foo.com --expire-time 30 --minimum-ttl 20 --refresh-time 60 --retry-time 90 --serial-number 123', + 'srv': '--port 1234 --priority 1 --target target.com --weight 50', + 'txt': '--value some_text' + } + + record_types = ['a', 'aaaa', 'caa', 'cname', 'mx', 'ns', 'ptr', 'srv', 'txt'] + + for t in record_types: + # test creating the record set and then adding records + self.cmd('network dns record-set {0} create -n myrs{0} -g {{rg}} --zone-name {{zone}}'.format(t)) + add_command = 'set-record' if t == 'cname' else 'add-record' + self.cmd('network dns record-set {0} {2} -g {{rg}} --zone-name {{zone}} --record-set-name myrs{0} {1}'.format(t, args[t], add_command)) + # test creating the record set at the same time you add records + self.cmd('network dns record-set {0} {2} -g {{rg}} --zone-name {{zone}} --record-set-name myrs{0}alt {1}'.format(t, args[t], add_command)) + + self.cmd('network dns record-set a add-record -g {rg} --zone-name {zone} --record-set-name myrsa --ipv4-address 10.0.0.11') + self.cmd('network dns record-set soa update -g {{rg}} --zone-name {{zone}} {0}'.format(args['soa'])) + + long_value = '0123456789' * 50 + self.cmd('network dns record-set txt add-record -g {{rg}} -z {{zone}} -n longtxt -v {0}'.format(long_value)) + + typed_record_sets = 2 * len(record_types) + 1 + self.cmd('network dns zone show -n {zone} -g {rg}', + checks=self.check('numberOfRecordSets', base_record_sets + typed_record_sets)) + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}', + checks=self.check('length(arecords)', 2)) + + # test list vs. list type + self.cmd('network dns record-set list -g {rg} -z {zone}', + checks=self.check('length(@)', base_record_sets + typed_record_sets)) + + self.cmd('network dns record-set txt list -g {rg} -z {zone}', + checks=self.check('length(@)', 3)) + + for t in record_types: + self.cmd('network dns record-set {0} remove-record -g {{rg}} --zone-name {{zone}} --record-set-name myrs{0} {1}'.format(t, args[t])) + + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}', + checks=self.check('length(arecords)', 1)) + + self.cmd('network dns record-set a remove-record -g {rg} --zone-name {zone} --record-set-name myrsa --ipv4-address 10.0.0.11') + + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}', + checks=self.is_empty()) + + self.cmd('network dns record-set a delete -n myrsa -g {rg} --zone-name {zone} -y') + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}') + + self.cmd('network dns zone delete -g {rg} -n {zone} -y', + checks=self.is_empty()) + + @ResourceGroupPreparer(name_prefix='cli_test_dns') + def test_private_dns(self, resource_group): # pylint: disable=unused-argument + + self.kwargs['zone'] = 'myprivatezone.com' + self.kwargs['regvnet'] = 'regvnet' + self.kwargs['resvnet'] = 'resvnet' + + self.cmd('network vnet create -n {regvnet} -g {rg}') + self.cmd('network vnet create -n {resvnet} -g {rg}') + + self.cmd('network dns zone list') # just verify is works (no Exception raised) + self.cmd('network dns zone create -n {zone} -g {rg} --zone-type Private --registration-vnets {regvnet} --resolution-vnets {resvnet}') + self.cmd('network dns zone list -g {rg}', + checks=self.check('length(@)', 1)) + + self.cmd('network dns zone update -n {zone} -g {rg} --zone-type Private --registration-vnets "" --resolution-vnets ""') + self.cmd('network dns zone update -n {zone} -g {rg} --zone-type Private --registration-vnets {regvnet} --resolution-vnets {resvnet}') + + base_record_sets = 1 + self.cmd('network dns zone show -n {zone} -g {rg}', + checks=self.check('numberOfRecordSets', base_record_sets)) + + args = { + 'a': '--ipv4-address 10.0.0.10', + 'aaaa': '--ipv6-address 2001:db8:0:1:1:1:1:1', + 'caa': '--flags 0 --tag foo --value "my value"', + 'cname': '--cname mycname', + 'mx': '--exchange 12 --preference 13', + 'ptr': '--ptrdname foobar.com', + 'soa': '--email foo.com --expire-time 30 --minimum-ttl 20 --refresh-time 60 --retry-time 90 --serial-number 123', + 'srv': '--port 1234 --priority 1 --target target.com --weight 50', + 'txt': '--value some_text' + } + + # Private Zones do NOT support delegation through NS records + record_types = ['a', 'aaaa', 'caa', 'cname', 'mx', 'ptr', 'srv', 'txt'] + + for t in record_types: + # test creating the record set and then adding records + self.cmd('network dns record-set {0} create -n myrs{0} -g {{rg}} --zone-name {{zone}}'.format(t)) + add_command = 'set-record' if t == 'cname' else 'add-record' + self.cmd('network dns record-set {0} {2} -g {{rg}} --zone-name {{zone}} --record-set-name myrs{0} {1}'.format(t, args[t], add_command)) + # test creating the record set at the same time you add records + self.cmd('network dns record-set {0} {2} -g {{rg}} --zone-name {{zone}} --record-set-name myrs{0}alt {1}'.format(t, args[t], add_command)) + + self.cmd('network dns record-set a add-record -g {rg} --zone-name {zone} --record-set-name myrsa --ipv4-address 10.0.0.11') + self.cmd('network dns record-set soa update -g {{rg}} --zone-name {{zone}} {0}'.format(args['soa'])) + + long_value = '0123456789' * 50 + self.cmd('network dns record-set txt add-record -g {{rg}} -z {{zone}} -n longtxt -v {0}'.format(long_value)) + + typed_record_sets = 2 * len(record_types) + 1 + self.cmd('network dns zone show -n {zone} -g {rg}', + checks=self.check('numberOfRecordSets', base_record_sets + typed_record_sets)) + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}', + checks=self.check('length(arecords)', 2)) + + # test list vs. list type + self.cmd('network dns record-set list -g {rg} -z {zone}', + checks=self.check('length(@)', base_record_sets + typed_record_sets)) + + self.cmd('network dns record-set txt list -g {rg} -z {zone}', + checks=self.check('length(@)', 3)) + + for t in record_types: + self.cmd('network dns record-set {0} remove-record -g {{rg}} --zone-name {{zone}} --record-set-name myrs{0} {1}'.format(t, args[t])) + + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}', + checks=self.check('length(arecords)', 1)) + + self.cmd('network dns record-set a remove-record -g {rg} --zone-name {zone} --record-set-name myrsa --ipv4-address 10.0.0.11') + + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}', + checks=self.is_empty()) + + self.cmd('network dns record-set a delete -n myrsa -g {rg} --zone-name {zone} -y') + self.cmd('network dns record-set a show -n myrsa -g {rg} --zone-name {zone}') + + self.cmd('network dns zone delete -g {rg} -n {zone} -y', + checks=self.is_empty()) + + +if __name__ == '__main__': + unittest.main() diff --git a/src/dns/setup.cfg b/src/dns/setup.cfg new file mode 100644 index 00000000000..3480374bc2f --- /dev/null +++ b/src/dns/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 \ No newline at end of file diff --git a/src/dns/setup.py b/src/dns/setup.py new file mode 100644 index 00000000000..e32a47dcf4d --- /dev/null +++ b/src/dns/setup.py @@ -0,0 +1,40 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from setuptools import setup, find_packages + +VERSION = "0.0.1" + +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'License :: OSI Approved :: MIT License', +] + +DEPENDENCIES = [] + +setup( + name='dns', + version=VERSION, + description='An Azure CLI Extension for DNS zones', + long_description='An Azure CLI Extension for DNS zones', + license='MIT', + author='Muhammad Waqar', + author_email='muwaqar@microsoft.com', + url='https://github.com/Azure/azure-cli-extensions', + classifiers=CLASSIFIERS, + packages=find_packages(exclude=["tests"]), + install_requires=DEPENDENCIES +) \ No newline at end of file diff --git a/src/index.json b/src/index.json index b536a29170d..a830f80d373 100644 --- a/src/index.json +++ b/src/index.json @@ -638,6 +638,51 @@ "version": "0.1.0" } } + ], + "dns": [ + { + "filename": "dns-0.0.1-py2.py3-none-any.whl", + "sha256Digest": "8eff8fdbaf7bfa21cda0d91ee238359e73e92cdb6fcf5aab6cd4d63c7b3ded0e", + "downloadUrl": "https://dnscliextension.blob.core.windows.net/cliextensions/dns-0.0.1-py2.py3-none-any.whl", + "metadata": { + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "muwaqar@microsoft.com", + "name": "Muhammad Waqar", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "dns", + "summary": "An Azure CLI Extension for DNS zones", + "version": "0.0.1" + } + } ] } } \ No newline at end of file