From 55a31676474c9549259b28f861fa805f8eb8ed0b Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Thu, 9 Apr 2020 17:33:31 +0800 Subject: [PATCH 1/4] code finish --- .../network/_client_factory.py | 4 ++ .../cli/command_modules/network/_params.py | 3 ++ .../cli/command_modules/network/commands.py | 20 +++++++- .../cli/command_modules/network/custom.py | 49 +++++++++++++++++++ 4 files changed, 75 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/_client_factory.py b/src/azure-cli/azure/cli/command_modules/network/_client_factory.py index 6eaff5b8ffb..8c169d58877 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_client_factory.py +++ b/src/azure-cli/azure/cli/command_modules/network/_client_factory.py @@ -92,6 +92,10 @@ def cf_private_endpoints(cli_ctx, _): return network_client_factory(cli_ctx).private_endpoints +def cf_private_dns_zone_groups(cli_ctx, _): + return network_client_factory(cli_ctx).private_dns_zone_groups + + def cf_private_endpoint_types(cli_ctx, _): return network_client_factory(cli_ctx).available_private_endpoint_types diff --git a/src/azure-cli/azure/cli/command_modules/network/_params.py b/src/azure-cli/azure/cli/command_modules/network/_params.py index 5c5e456f439..e6d2dc2cb7d 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_params.py +++ b/src/azure-cli/azure/cli/command_modules/network/_params.py @@ -771,6 +771,9 @@ def load_arguments(self, _): c.argument('manual_request', help='Use manual request to establish the connection', arg_type=get_three_state_flag()) c.argument('connection_name', help='Name of the private link service connection.') c.ignore('expand') + c.argument('ip_addresses', nargs='+', help='A list of private ip addresses of the private addresses.') + c.argument('fqdn', help='Fqdn that resolves to private endpoint ip address.') + c.argument('private_dns_zones', nargs='+', help='List of name or ID of the private dns zones.') # endregion # region PrivateLinkService diff --git a/src/azure-cli/azure/cli/command_modules/network/commands.py b/src/azure-cli/azure/cli/command_modules/network/commands.py index 3fc01b0da7e..7a00125f764 100644 --- a/src/azure-cli/azure/cli/command_modules/network/commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/commands.py @@ -27,7 +27,7 @@ cf_express_route_circuit_connections, cf_express_route_gateways, cf_express_route_connections, cf_express_route_ports, cf_express_route_port_locations, cf_express_route_links, cf_app_gateway_waf_policy, cf_service_tags, cf_private_link_services, cf_private_endpoint_types, cf_peer_express_route_circuit_connections, - cf_virtual_router, cf_virtual_router_peering, cf_service_aliases, cf_bastion_hosts, cf_flow_logs) + cf_virtual_router, cf_virtual_router_peering, cf_service_aliases, cf_bastion_hosts, cf_flow_logs, cf_private_dns_zone_groups) from azure.cli.command_modules.network._util import ( list_network_resource_property, get_network_resource_property_entry, delete_network_resource_property_entry) from azure.cli.command_modules.network._format import ( @@ -185,6 +185,12 @@ def load_command_table(self, _): min_api='2018-08-01' ) + network_private_endpoint_dns_zone_group_sdk = CliCommandType( + operations_tmpl='azure.mgmt.network.operations#PrivateDnsZoneGroupsOperations.{}', + client_factory=cf_private_dns_zone_groups, + min_api='2020-03-01' + ) + network_private_link_service_sdk = CliCommandType( operations_tmpl='azure.mgmt.network.operations#PrivateLinkServicesOperations.{}', client_factory=cf_private_link_services, @@ -697,6 +703,18 @@ def _make_singular(value): client_factory=cf_private_endpoint_types, min_api='2019-04-01' ) + + with self.command_group('network private-endpoint dns-configs', network_private_endpoint_sdk, min_api='2020-03-01') as g: + g.custom_command('add', 'add_private_endpoint_custom_dns_configs') + g.custom_command('remove', 'remove_private_endpoint_custom_dns_configs') + g.custom_show_command('show', 'show_private_endpoint_custom_dns_configs') + + with self.command_group('network private-endpoint dns-zone-group', network_private_endpoint_dns_zone_group_sdk, min_api='2020-03-01') as g: + g.custom_command('create', 'create_private_endpoint_private_dns_zone_group') + g.custom_command('update', 'update_private_endpoint_private_dns_zone_group') + g.command('delete', 'delete') + g.show_command('show') + g.command('list', 'list') # endregion # region PrivateLinkServices diff --git a/src/azure-cli/azure/cli/command_modules/network/custom.py b/src/azure-cli/azure/cli/command_modules/network/custom.py index 90882c6d687..bd584a18a40 100644 --- a/src/azure-cli/azure/cli/command_modules/network/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/custom.py @@ -2489,6 +2489,55 @@ def list_private_endpoints(cmd, resource_group_name=None): if resource_group_name: return client.list(resource_group_name) return client.list_by_subscription() + + +def create_private_endpoint_private_dns_zone_group(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, private_dns_zones): + client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups + PrivateDnsZoneGroup, PrivateDnsZoneConfig = cmd.get_models('PrivateDnsZoneGroup', 'PrivateDnsZoneConfig') + private_dns_zone_group = PrivateDnsZoneGroup(name=private_dns_zone_group_name, + private_dns_zone_configs=[PrivateDnsZoneConfig(private_dns_zone_id=id) for id in private_dns_zones]) + return client.create_or_update(resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name, + parameters=private_dns_zones) + + +def update_private_endpoint_private_dns_zone_group(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, private_dns_zones): + client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups + private_dns_zones_group = client.get(resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name) + private_dns_zones_group = PrivateDnsZoneGroup(name=private_dns_zone_group_name, + private_dns_zone_configs=[PrivateDnsZoneConfig(private_dns_zone_id=id) for id in private_dns_zones]) + return client.create_or_update(resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name, + parameters=private_dns_zones) + + +def add_private_endpoint_custom_dns_configs(cmd, resource_group_name, private_endpoint_name, fqdn, ip_addresses): + client = network_client_factory(cmd.cli_ctx).private_endpoints + private_endpoint = client.get(resource_group_name, private_endpoint_name) + CustomDnsConfigPropertiesFormat = cmd.get_models('CustomDnsConfigPropertiesFormat') + custom_dns_config = CustomDnsConfigPropertiesFormat(fqdn=fqdn, + ip_addresses=ip_addresses) + private_endpoint.custom_dns_configs.append(custom_dns_config) + return LongRunningOperation(cmd.cli_ctx)(client.create_or_update(resource_group_name, private_endpoint_name, private_endpoint)).custom_dns_configs + + +def remove_private_endpoint_custom_dns_configs(cmd, resource_group_name, private_endpoint_name, index): + client = network_client_factory(cmd.cli_ctx).private_endpoints + private_endpoint = client.get(resource_group_name, private_endpoint_name) + try: + private_endpoint.custom_dns_configs.pop(index) + except IndexError: + raise CLIError('Invalid index. Please input index for 0 to {}'.format(len(private_endpoint.custom_dns_configs))) + return LongRunningOperation(cmd.cli_ctx)(client.create_or_update(resource_group_name, private_endpoint_name, private_endpoint)).custom_dns_configs + + +def show_private_endpoint_custom_dns_configs(cmd, resource_group_name, private_endpoint_name): + client = network_client_factory(cmd.cli_ctx).private_endpoints + return client.get(resource_group_name, private_endpoint_name).custom_dns_configs # endregion From 70da704bf8f6aab968e21d40fa783a2092edb2ac Mon Sep 17 00:00:00 2001 From: MyronFanQiu Date: Fri, 10 Apr 2020 15:35:32 +0800 Subject: [PATCH 2/4] finish test --- .../cli/command_modules/network/_params.py | 11 +- .../command_modules/network/_validators.py | 11 + .../cli/command_modules/network/commands.py | 8 +- .../cli/command_modules/network/custom.py | 59 +- ...ivate_endpoint_private_dns_zone_group.yaml | 2305 +++++++++++++++++ .../tests/latest/test_network_commands.py | 91 + 6 files changed, 2442 insertions(+), 43 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml diff --git a/src/azure-cli/azure/cli/command_modules/network/_params.py b/src/azure-cli/azure/cli/command_modules/network/_params.py index e6d2dc2cb7d..3b449b2f79f 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_params.py +++ b/src/azure-cli/azure/cli/command_modules/network/_params.py @@ -33,7 +33,7 @@ validate_express_route_port, bandwidth_validator_factory, get_header_configuration_validator, validate_nat_gateway, validate_match_variables, validate_waf_policy, get_subscription_list_validator, validate_frontend_ip_configs, - validate_application_gateway_identity, validate_virtul_network_gateway, + validate_application_gateway_identity, validate_virtul_network_gateway, validate_private_dns_zone, NWConnectionMonitorEndpointFilterItemAction, NWConnectionMonitorTestConfigurationHTTPRequestHeaderAction) from azure.mgmt.trafficmanager.models import MonitorProtocol, ProfileStatus from azure.cli.command_modules.network._completers import ( @@ -771,9 +771,12 @@ def load_arguments(self, _): c.argument('manual_request', help='Use manual request to establish the connection', arg_type=get_three_state_flag()) c.argument('connection_name', help='Name of the private link service connection.') c.ignore('expand') - c.argument('ip_addresses', nargs='+', help='A list of private ip addresses of the private addresses.') - c.argument('fqdn', help='Fqdn that resolves to private endpoint ip address.') - c.argument('private_dns_zones', nargs='+', help='List of name or ID of the private dns zones.') + + with self.argument_context('network private-endpoint dns-zone-group') as c: + c.argument('private_dns_zone', help='Name or ID of the private dns zone.', validator=validate_private_dns_zone) + c.argument('private_dns_zone_name', options_list=['--zone-name'], help='Name of the private dns zone.') + c.argument('private_dns_zone_group_name', options_list=['--name', '-n'], help='Name of the private dns zone group.') + c.argument('private_endpoint_name', private_endpoint_name) # endregion # region PrivateLinkService diff --git a/src/azure-cli/azure/cli/command_modules/network/_validators.py b/src/azure-cli/azure/cli/command_modules/network/_validators.py index 90f4cc47b92..fd81d5d2d56 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_validators.py +++ b/src/azure-cli/azure/cli/command_modules/network/_validators.py @@ -711,6 +711,17 @@ def validate_target_listener(cmd, namespace): child_name_1=namespace.target_listener) +def validate_private_dns_zone(cmd, namespace): + from msrestazure.tools import is_valid_resource_id, resource_id + if namespace.private_dns_zone and not is_valid_resource_id(namespace.private_dns_zone): + namespace.private_dns_zone = resource_id( + subscription=get_subscription_id(cmd.cli_ctx), + resource_group=namespace.resource_group_name, + name=namespace.private_dns_zone, + namespace='Microsoft.Network', + type='privateDnsZones') + + def get_virtual_network_validator(has_type_field=False, allow_none=False, allow_new=False, default_none=False): from msrestazure.tools import is_valid_resource_id, resource_id diff --git a/src/azure-cli/azure/cli/command_modules/network/commands.py b/src/azure-cli/azure/cli/command_modules/network/commands.py index 7a00125f764..799f5b96ae8 100644 --- a/src/azure-cli/azure/cli/command_modules/network/commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/commands.py @@ -704,14 +704,10 @@ def _make_singular(value): min_api='2019-04-01' ) - with self.command_group('network private-endpoint dns-configs', network_private_endpoint_sdk, min_api='2020-03-01') as g: - g.custom_command('add', 'add_private_endpoint_custom_dns_configs') - g.custom_command('remove', 'remove_private_endpoint_custom_dns_configs') - g.custom_show_command('show', 'show_private_endpoint_custom_dns_configs') - with self.command_group('network private-endpoint dns-zone-group', network_private_endpoint_dns_zone_group_sdk, min_api='2020-03-01') as g: g.custom_command('create', 'create_private_endpoint_private_dns_zone_group') - g.custom_command('update', 'update_private_endpoint_private_dns_zone_group') + g.custom_command('add', 'add_private_endpoint_private_dns_zone') + g.custom_command('remove', 'remove_private_endpoint_private_dns_zone') g.command('delete', 'delete') g.show_command('show') g.command('list', 'list') diff --git a/src/azure-cli/azure/cli/command_modules/network/custom.py b/src/azure-cli/azure/cli/command_modules/network/custom.py index bd584a18a40..ec09544e21e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/custom.py @@ -2491,53 +2491,46 @@ def list_private_endpoints(cmd, resource_group_name=None): return client.list_by_subscription() -def create_private_endpoint_private_dns_zone_group(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, private_dns_zones): +def create_private_endpoint_private_dns_zone_group(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, + private_dns_zone_name, private_dns_zone): client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups PrivateDnsZoneGroup, PrivateDnsZoneConfig = cmd.get_models('PrivateDnsZoneGroup', 'PrivateDnsZoneConfig') private_dns_zone_group = PrivateDnsZoneGroup(name=private_dns_zone_group_name, - private_dns_zone_configs=[PrivateDnsZoneConfig(private_dns_zone_id=id) for id in private_dns_zones]) + private_dns_zone_configs=[PrivateDnsZoneConfig(private_dns_zone_id=private_dns_zone, + name=private_dns_zone_name)]) return client.create_or_update(resource_group_name=resource_group_name, private_endpoint_name=private_endpoint_name, private_dns_zone_group_name=private_dns_zone_group_name, - parameters=private_dns_zones) + parameters=private_dns_zone_group) -def update_private_endpoint_private_dns_zone_group(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, private_dns_zones): +def add_private_endpoint_private_dns_zone(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, + private_dns_zone_name, private_dns_zone): client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups - private_dns_zones_group = client.get(resource_group_name=resource_group_name, - private_endpoint_name=private_endpoint_name, - private_dns_zone_group_name=private_dns_zone_group_name) - private_dns_zones_group = PrivateDnsZoneGroup(name=private_dns_zone_group_name, - private_dns_zone_configs=[PrivateDnsZoneConfig(private_dns_zone_id=id) for id in private_dns_zones]) + PrivateDnsZoneConfig = cmd.get_models('PrivateDnsZoneConfig') + private_dns_zone_group = client.get(resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name) + private_dns_zone = PrivateDnsZoneConfig(private_dns_zone_id=private_dns_zone, name=private_dns_zone_name) + private_dns_zone_group.private_dns_zone_configs.append(private_dns_zone) return client.create_or_update(resource_group_name=resource_group_name, private_endpoint_name=private_endpoint_name, private_dns_zone_group_name=private_dns_zone_group_name, - parameters=private_dns_zones) - - -def add_private_endpoint_custom_dns_configs(cmd, resource_group_name, private_endpoint_name, fqdn, ip_addresses): - client = network_client_factory(cmd.cli_ctx).private_endpoints - private_endpoint = client.get(resource_group_name, private_endpoint_name) - CustomDnsConfigPropertiesFormat = cmd.get_models('CustomDnsConfigPropertiesFormat') - custom_dns_config = CustomDnsConfigPropertiesFormat(fqdn=fqdn, - ip_addresses=ip_addresses) - private_endpoint.custom_dns_configs.append(custom_dns_config) - return LongRunningOperation(cmd.cli_ctx)(client.create_or_update(resource_group_name, private_endpoint_name, private_endpoint)).custom_dns_configs + parameters=private_dns_zone_group) -def remove_private_endpoint_custom_dns_configs(cmd, resource_group_name, private_endpoint_name, index): - client = network_client_factory(cmd.cli_ctx).private_endpoints - private_endpoint = client.get(resource_group_name, private_endpoint_name) - try: - private_endpoint.custom_dns_configs.pop(index) - except IndexError: - raise CLIError('Invalid index. Please input index for 0 to {}'.format(len(private_endpoint.custom_dns_configs))) - return LongRunningOperation(cmd.cli_ctx)(client.create_or_update(resource_group_name, private_endpoint_name, private_endpoint)).custom_dns_configs - - -def show_private_endpoint_custom_dns_configs(cmd, resource_group_name, private_endpoint_name): - client = network_client_factory(cmd.cli_ctx).private_endpoints - return client.get(resource_group_name, private_endpoint_name).custom_dns_configs +def remove_private_endpoint_private_dns_zone(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, + private_dns_zone_name): + client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups + private_dns_zone_group = client.get(resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name) + private_dns_zone_configs = [item for item in private_dns_zone_group.private_dns_zone_configs if item.name != private_dns_zone_name] + private_dns_zone_group.private_dns_zone_configs = private_dns_zone_configs + return client.create_or_update(resource_group_name=resource_group_name, + private_endpoint_name=private_endpoint_name, + private_dns_zone_group_name=private_dns_zone_group_name, + parameters=private_dns_zone_group) # endregion diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml new file mode 100644 index 00000000000..856393fb593 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml @@ -0,0 +1,2305 @@ +interactions: +- request: + body: '{"location": "CentralUSEuap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "cli-subnet-000004"}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '229' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g -l --subnet-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n + \ \"etag\": \"W/\\\"804b8b9c-3f13-4f13-9356-9959ed4522dd\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"65adc6bb-1327-4b8f-8d83-1af91558bd79\",\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 {\r\n \"name\": \"cli-subnet-000004\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n + \ \"etag\": \"W/\\\"804b8b9c-3f13-4f13-9356-9959ed4522dd\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2006adc6-13ce-42b3-aa3e-debab9639455?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '1535' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:03:32 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-arm-service-request-id: + - dafcf245-c2fa-4c09-9d84-b94914ca89a4 + 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 vnet create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --subnet-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2006adc6-13ce-42b3-aa3e-debab9639455?api-version=2020-03-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: + - Fri, 10 Apr 2020 07:03:36 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 + x-ms-arm-service-request-id: + - ae34c32b-bbf3-4744-a2f0-6e7156cc4974 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --subnet-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n + \ \"etag\": \"W/\\\"249dfeed-1e38-4f06-b63d-8aa983f2560a\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"65adc6bb-1327-4b8f-8d83-1af91558bd79\",\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 {\r\n \"name\": \"cli-subnet-000004\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n + \ \"etag\": \"W/\\\"249dfeed-1e38-4f06-b63d-8aa983f2560a\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1537' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:03:36 GMT + etag: + - W/"249dfeed-1e38-4f06-b63d-8aa983f2560a" + 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 + x-ms-arm-service-request-id: + - c439fb19-f41a-4132-b619-2581d97fffb1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n + \ \"etag\": \"W/\\\"249dfeed-1e38-4f06-b63d-8aa983f2560a\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:03:38 GMT + etag: + - W/"249dfeed-1e38-4f06-b63d-8aa983f2560a" + 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 + x-ms-arm-service-request-id: + - 10a57d19-ff02-4211-862b-962f5842ca85 + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "cli-subnet-000004"}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + Content-Length: + - '451' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n + \ \"etag\": \"W/\\\"ffbe6bfd-cf59-4b4b-86d1-1f27193c6cb9\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/e8f1ee87-f5ea-4e47-ad89-8daf2ed8db02?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:03:39 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 + x-ms-arm-service-request-id: + - 3ba41fa7-5bae-4667-b948-5c950cfee586 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/e8f1ee87-f5ea-4e47-ad89-8daf2ed8db02?api-version=2020-03-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: + - Fri, 10 Apr 2020 07:03:44 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 + x-ms-arm-service-request-id: + - b760d646-cb99-4c76-b59f-59f4cfdd70a0 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n + \ \"etag\": \"W/\\\"1882d11a-80a2-433f-85de-3734401f7954\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '640' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:03:45 GMT + etag: + - W/"1882d11a-80a2-433f-85de-3734401f7954" + 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 + x-ms-arm-service-request-id: + - 1a69f783-a85a-4c61-9999-776005cd2070 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - storage account private-link-resource list + Connection: + - keep-alive + ParameterSetName: + - --account-name -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateLinkResources?api-version=2019-06-01 + response: + body: + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateLinkResources/blob","name":"blob","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"blob","requiredMembers":["blob"],"requiredZoneNames":["privatelink.blob.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateLinkResources/table","name":"table","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"table","requiredMembers":["table"],"requiredZoneNames":["privatelink.table.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateLinkResources/queue","name":"queue","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"queue","requiredMembers":["queue"],"requiredZoneNames":["privatelink.queue.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateLinkResources/file","name":"file","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"file","requiredMembers":["file"],"requiredZoneNames":["privatelink.file.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateLinkResources/web","name":"web","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"web","requiredMembers":["web"],"requiredZoneNames":["privatelink.web.core.windows.net"]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateLinkResources/dfs","name":"dfs","type":"Microsoft.Storage/storageAccounts/privateLinkResources","properties":{"groupId":"dfs","requiredMembers":["dfs"],"requiredZoneNames":["privatelink.dfs.core.windows.net"]}}]}' + headers: + cache-control: + - no-cache + content-length: + - '2663' + content-type: + - application/json + date: + - Fri, 10 Apr 2020 07:03:45 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,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: + - storage account show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002?api-version=2019-06-01 + response: + body: + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","name":"saplr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-04-10T07:03:01.0743209Z","primaryEndpoints":{"dfs":"https://saplr000002.dfs.core.windows.net/","web":"https://saplr000002.z22.web.core.windows.net/","blob":"https://saplr000002.blob.core.windows.net/","queue":"https://saplr000002.queue.core.windows.net/","table":"https://saplr000002.table.core.windows.net/","file":"https://saplr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}' + headers: + cache-control: + - no-cache + content-length: + - '1391' + content-type: + - application/json + date: + - Fri, 10 Apr 2020 07:03:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,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: 'b''b\''{"location": "CentralUSEuap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002", + "groupIds": ["blob"]}, "name": "cli-pec-000006"}]}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '661' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n + \ \"etag\": \"W/\\\"5b38e148-deed-4c6e-bc82-928edc48b58c\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"84106fc5-0b38-408c-bc6e-26f4d96f6306\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n + \ \"etag\": \"W/\\\"5b38e148-deed-4c6e-bc82-928edc48b58c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e47dbf84-efa1-40c6-ae76-7cca00f7611b\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/5ff96ac3-8063-487d-94de-e962336ee12b?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '2320' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:03:55 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-arm-service-request-id: + - 2d7ce50d-f8ce-4acf-b132-76a2ae6b8086 + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/5ff96ac3-8063-487d-94de-e962336ee12b?api-version=2020-03-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: + - Fri, 10 Apr 2020 07:04:07 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 + x-ms-arm-service-request-id: + - d0989776-e2b6-4a72-82d8-37d7532c6c3c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n + \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"84106fc5-0b38-408c-bc6e-26f4d96f6306\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n + \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e47dbf84-efa1-40c6-ae76-7cca00f7611b\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"saplr000002.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n + \ ]\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2484' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:04:08 GMT + etag: + - W/"22b7b789-4a85-4430-93ef-ed7b65f0a50c" + 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 + x-ms-arm-service-request-id: + - b431963d-1cf6-432d-892e-478af6f8183e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - storage account show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002?api-version=2019-06-01 + response: + body: + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","name":"saplr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-04-10T07:03:01.0743209Z","primaryEndpoints":{"dfs":"https://saplr000002.dfs.core.windows.net/","web":"https://saplr000002.z22.web.core.windows.net/","blob":"https://saplr000002.blob.core.windows.net/","queue":"https://saplr000002.queue.core.windows.net/","table":"https://saplr000002.table.core.windows.net/","file":"https://saplr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}' + headers: + cache-control: + - no-cache + content-length: + - '2240' + content-type: + - application/json + date: + - Fri, 10 Apr 2020 07:04:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,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: + - storage account private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --account-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095?api-version=2019-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' + headers: + cache-control: + - no-cache + content-length: + - '849' + content-type: + - application/json + date: + - Fri, 10 Apr 2020 07:04:11 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,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: + - storage account private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --account-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095?api-version=2019-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' + headers: + cache-control: + - no-cache + content-length: + - '849' + content-type: + - application/json + date: + - Fri, 10 Apr 2020 07:04:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,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: '{"properties": {"privateEndpoint": {}, "privateLinkServiceConnectionState": + {"status": "Approved", "actionRequired": "None"}, "provisioningState": "Succeeded"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - storage account private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --account-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095?api-version=2019-06-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' + headers: + cache-control: + - no-cache + content-length: + - '849' + content-type: + - application/json + date: + - Fri, 10 Apr 2020 07:04:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-Azure-Storage-Resource-Provider/1.0,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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n + \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"centraluseuap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"84106fc5-0b38-408c-bc6e-26f4d96f6306\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n + \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e47dbf84-efa1-40c6-ae76-7cca00f7611b\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"saplr000002.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n + \ ]\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2484' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:04:15 GMT + etag: + - W/"22b7b789-4a85-4430-93ef-ed7b65f0a50c" + 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 + x-ms-arm-service-request-id: + - 93b4ae13-a1fa-4232-92d3-0a20b3ea25d9 + status: + code: 200 + message: OK +- request: + body: '{"location": "global"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-dns zone create + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json; charset=utf-8 + If-None-Match: + - '*' + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com?api-version=2018-09-01 + response: + body: + string: '{}' + headers: + azure-asyncoperation: + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTthZDdlM2VlOC03YWM1LTQyZjUtOWI4ZS04NzFiOGE2YzhjOGU=?api-version=2018-09-01 + cache-control: + - private + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:04:25 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTthZDdlM2VlOC03YWM1LTQyZjUtOWI4ZS04NzFiOGE2YzhjOGU=?api-version=2018-09-01 + server: + - Microsoft-IIS/10.0 + 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 private-dns zone create + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTthZDdlM2VlOC03YWM1LTQyZjUtOWI4ZS04NzFiOGE2YzhjOGU=?api-version=2018-09-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - private + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:04:56 GMT + server: + - Microsoft-IIS/10.0 + 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: + - '499' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-dns zone create + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com?api-version=2018-09-01 + response: + body: + string: '{"id":"\/subscriptions\/e05dbbce-79c2-45a2-a7ef-f1058856feb3\/resourceGroups\/fanqiu_cli_test_network_private_endpoints000001\/providers\/Microsoft.Network\/privateDnsZones\/www.clizone1.com","name":"www.clizone1.com","type":"Microsoft.Network\/privateDnsZones","etag":"d782c88d-ffb8-415b-aa9e-6483c1cadfd1","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + headers: + cache-control: + - private + content-length: + - '627' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:04:56 GMT + etag: + - d782c88d-ffb8-415b-aa9e-6483c1cadfd1 + server: + - Microsoft-IIS/10.0 + 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: + - '499' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "global"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-dns zone create + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json; charset=utf-8 + If-None-Match: + - '*' + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com?api-version=2018-09-01 + response: + body: + string: '{}' + headers: + azure-asyncoperation: + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtiNmM4OWNmMy1kMjA5LTQzZTItOTk3ZC01YzFhZDRmNWNlMmU=?api-version=2018-09-01 + cache-control: + - private + content-length: + - '2' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:05:05 GMT + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtiNmM4OWNmMy1kMjA5LTQzZTItOTk3ZC01YzFhZDRmNWNlMmU=?api-version=2018-09-01 + server: + - Microsoft-IIS/10.0 + 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 private-dns zone create + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtiNmM4OWNmMy1kMjA5LTQzZTItOTk3ZC01YzFhZDRmNWNlMmU=?api-version=2018-09-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - private + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:05:36 GMT + server: + - Microsoft-IIS/10.0 + 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: + - '498' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-dns zone create + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com?api-version=2018-09-01 + response: + body: + string: '{"id":"\/subscriptions\/e05dbbce-79c2-45a2-a7ef-f1058856feb3\/resourceGroups\/fanqiu_cli_test_network_private_endpoints000001\/providers\/Microsoft.Network\/privateDnsZones\/www.clizone2.com","name":"www.clizone2.com","type":"Microsoft.Network\/privateDnsZones","etag":"e959e6a4-e527-466f-a123-e2a51bfd277f","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + headers: + cache-control: + - private + content-length: + - '627' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:05:37 GMT + etag: + - e959e6a4-e527-466f-a123-e2a51bfd277f + server: + - Microsoft-IIS/10.0 + 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: + - '499' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: 'b''{"name": "clidnsgroup", "properties": {"privateDnsZoneConfigs": [{"name": + "clizone1", "properties": {"privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com"}}]}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group create + Connection: + - keep-alive + Content-Length: + - '331' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --endpoint-name -g -n --zone-name --private-dns-zone + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"072a3496-acf1-4136-8ed0-11b211d54ce6\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"072a3496-acf1-4136-8ed0-11b211d54ce6\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c03901a5-de85-4465-9a89-46cba6da4458?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '1365' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:05:39 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-arm-service-request-id: + - 02b07568-140e-4633-b95d-78e733f93b6c + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group create + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name --private-dns-zone + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c03901a5-de85-4465-9a89-46cba6da4458?api-version=2020-03-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: + - Fri, 10 Apr 2020 07:05:51 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 + x-ms-arm-service-request-id: + - 31559e0f-1038-4c65-80f9-743b4ddf3a5b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group create + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name --private-dns-zone + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1367' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:05:52 GMT + etag: + - W/"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca" + 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 + x-ms-arm-service-request-id: + - 54ee48a1-917c-4c34-b628-d1ee9b5947ce + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group add + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name --private-dns-zone + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1367' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:05:53 GMT + etag: + - W/"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca" + 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 + x-ms-arm-service-request-id: + - 0acbe659-aa75-43b2-a4c2-42ceb0856250 + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup", + "name": "clidnsgroup", "properties": {"privateDnsZoneConfigs": [{"name": "clizone1", + "properties": {"privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com"}}, + {"name": "clizone2", "properties": {"privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com"}}]}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group add + Connection: + - keep-alive + Content-Length: + - '851' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --endpoint-name -g -n --zone-name --private-dns-zone + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"e3964f4d-3fad-49b9-b827-066f96db0ffb\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"e3964f4d-3fad-49b9-b827-066f96db0ffb\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": + \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n + \ \"etag\": \"W/\\\"e3964f4d-3fad-49b9-b827-066f96db0ffb\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/39c944bd-0751-4e15-b972-16e25c8e518d?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '2215' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:05:54 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 + x-ms-arm-service-request-id: + - 8fe9b8d3-cdcd-4a7c-8696-2a7813f98094 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group add + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name --private-dns-zone + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/39c944bd-0751-4e15-b972-16e25c8e518d?api-version=2020-03-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: + - Fri, 10 Apr 2020 07:06:05 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 + x-ms-arm-service-request-id: + - 3ca596e2-a0a3-4eae-a162-8ae8ac36cee9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group add + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name --private-dns-zone + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": + \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2218' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:06:06 GMT + etag: + - W/"a5e25ffa-078f-4a28-a261-fca3a3dd2253" + 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 + x-ms-arm-service-request-id: + - a443342a-d1d2-4012-a5ef-049458fd946a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group show + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": + \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2218' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:06:09 GMT + etag: + - W/"a5e25ffa-078f-4a28-a261-fca3a3dd2253" + 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 + x-ms-arm-service-request-id: + - b62940b4-882f-456d-a158-084093f4a431 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group list + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups?api-version=2020-03-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"clidnsgroup\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n + \ \"name\": \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n + \ }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2375' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:06:12 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 + x-ms-arm-service-request-id: + - 173af3c6-baff-4c97-8a5d-4ac3e521be57 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group remove + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": + \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n + \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2218' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:06:14 GMT + etag: + - W/"a5e25ffa-078f-4a28-a261-fca3a3dd2253" + 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 + x-ms-arm-service-request-id: + - 778871ab-d334-4fd6-85e5-412b4e62636c + status: + code: 200 + message: OK +- request: + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup", + "name": "clidnsgroup", "properties": {"privateDnsZoneConfigs": [{"name": "clizone1", + "properties": {"privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com"}}]}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group remove + Connection: + - keep-alive + Content-Length: + - '586' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --endpoint-name -g -n --zone-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"f581e5d1-12dc-4ae8-826b-00bb8359cd08\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"f581e5d1-12dc-4ae8-826b-00bb8359cd08\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/916d0511-f951-47ba-a58b-13a3c31d4d79?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '1365' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:06:14 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 + x-ms-arm-service-request-id: + - 81f2c8f6-76b8-4921-902d-9743b8b047f4 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group remove + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/916d0511-f951-47ba-a58b-13a3c31d4d79?api-version=2020-03-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: + - Fri, 10 Apr 2020 07:06:26 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 + x-ms-arm-service-request-id: + - 4e6206de-c61a-4d32-9fb7-c438a0cdb9ad + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group remove + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n --zone-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1367' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:06:27 GMT + etag: + - W/"f4d32be3-1ad4-4643-a27b-f4484b82d0b9" + 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 + x-ms-arm-service-request-id: + - d0d42c0b-8279-40b9-8785-c5846040b772 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group show + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n + \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": + [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n + \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n + \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1367' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 10 Apr 2020 07:06:30 GMT + etag: + - W/"f4d32be3-1ad4-4643-a27b-f4484b82d0b9" + 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 + x-ms-arm-service-request-id: + - 363826f8-92f5-4a1e-b4f2-8409c4e72c40 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --endpoint-name -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/235c7840-2120-4119-9451-7691597662b0?api-version=2020-03-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 10 Apr 2020 07:06:32 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/235c7840-2120-4119-9451-7691597662b0?api-version=2020-03-01 + 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-arm-service-request-id: + - fa9dfa5d-13d7-49c2-bf40-71be18e1d8ff + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint dns-zone-group delete + Connection: + - keep-alive + ParameterSetName: + - --endpoint-name -g -n + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 + Azure-SDK-For-Python AZURECLI/2.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/235c7840-2120-4119-9451-7691597662b0?api-version=2020-03-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: + - Fri, 10 Apr 2020 07:06:43 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 + x-ms-arm-service-request-id: + - cd0d9b3b-3ed1-48a4-aa66-3b6696558263 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py index 7182812a6d6..10f90205f95 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -133,6 +133,97 @@ def test_network_private_endpoints(self, resource_group): ]) self.cmd('network private-endpoint delete -g {rg} -n {pe}') + @ResourceGroupPreparer(name_prefix='fanqiu_cli_test_network_private_endpoints', location='CentralUSEuap') + @StorageAccountPreparer(name_prefix='saplr', kind='StorageV2') + def test_network_private_endpoint_private_dns_zone_group(self, resource_group, storage_account): + from msrestazure.azure_exceptions import CloudError + self.kwargs.update({ + 'sa': storage_account, + 'loc': 'CentralUSEuap', + 'vnet': self.create_random_name('cli-vnet-', 24), + 'subnet': self.create_random_name('cli-subnet-', 24), + 'pe': self.create_random_name('cli-pe-', 24), + 'pe_connection': self.create_random_name('cli-pec-', 24), + 'zone_name1': 'www.clizone1.com', + 'zone_name2': 'www.clizone2.com', + 'private_dns_zone_group_name': 'clidnsgroup', + 'private_zone_name1': 'clizone1', + 'private_zone_name2': 'clizone2' + }) + + # Prepare network + self.cmd('network vnet create -n {vnet} -g {rg} -l {loc} --subnet-name {subnet}', + checks=self.check('length(newVNet.subnets)', 1)) + self.cmd('network vnet subnet update -n {subnet} --vnet-name {vnet} -g {rg} ' + '--disable-private-endpoint-network-policies true', + checks=self.check('privateEndpointNetworkPolicies', 'Disabled')) + + # Create a private endpoint connection + pr = self.cmd('storage account private-link-resource list --account-name {sa} -g {rg}').get_output_in_json() + self.kwargs['group_id'] = pr[0]['groupId'] + + storage = self.cmd('storage account show -n {sa} -g {rg}').get_output_in_json() + self.kwargs['sa_id'] = storage['id'] + private_endpoint = self.cmd( + 'network private-endpoint create -g {rg} -n {pe} --vnet-name {vnet} --subnet {subnet} -l {loc} ' + '--connection-name {pe_connection} --private-connection-resource-id {sa_id} ' + '--group-ids blob').get_output_in_json() + self.assertEqual(private_endpoint['name'], self.kwargs['pe']) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], self.kwargs['pe_connection']) + self.assertEqual( + private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], + 'Approved') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], self.kwargs['group_id']) + self.kwargs['pe_id'] = private_endpoint['privateLinkServiceConnections'][0]['id'] + + # Show the connection at storage account + storage = self.cmd('storage account show -n {sa} -g {rg}').get_output_in_json() + self.assertIn('privateEndpointConnections', storage) + self.assertEqual(len(storage['privateEndpointConnections']), 1) + self.assertEqual(storage['privateEndpointConnections'][0]['privateLinkServiceConnectionState']['status'], + 'Approved') + + self.kwargs['sa_pec_id'] = storage['privateEndpointConnections'][0]['id'] + self.kwargs['sa_pec_name'] = storage['privateEndpointConnections'][0]['name'] + + self.cmd('storage account private-endpoint-connection show --account-name {sa} -g {rg} --name {sa_pec_name}', + checks=self.check('id', '{sa_pec_id}')) + + self.cmd('storage account private-endpoint-connection approve --account-name {sa} -g {rg} --name {sa_pec_name}', + checks=[self.check('privateLinkServiceConnectionState.status', 'Approved')]) + + self.cmd('network private-endpoint show -g {rg} -n {pe}', checks=[ + self.check('length(customDnsConfigs)', 1) + ]) + self.cmd('network private-dns zone create -n {zone_name1} -g {rg}') + self.cmd('network private-dns zone create -n {zone_name2} -g {rg}') + + self.cmd('network private-endpoint dns-zone-group create --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name} ' + '--zone-name {private_zone_name1} --private-dns-zone {zone_name1}', checks=[ + self.check('name', '{private_dns_zone_group_name}') + ]) + + self.cmd('network private-endpoint dns-zone-group add --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name} ' + '--zone-name {private_zone_name2} --private-dns-zone {zone_name2}', checks=[ + self.check('length(privateDnsZoneConfigs)', 2) + ]) + + self.cmd('network private-endpoint dns-zone-group show --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name}', checks=[ + self.check('length(privateDnsZoneConfigs)', 2) + ]) + self.cmd('network private-endpoint dns-zone-group list --endpoint-name {pe} -g {rg}', checks=[ + self.check('length(@)', 1) + ]) + self.cmd('network private-endpoint dns-zone-group remove --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name} ' + '--zone-name {private_zone_name2}', checks=[ + self.check('length(privateDnsZoneConfigs)', 1) + ]) + self.cmd('network private-endpoint dns-zone-group show --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name}', checks=[ + self.check('length(privateDnsZoneConfigs)', 1) + ]) + self.cmd('network private-endpoint dns-zone-group delete --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name}') + class NetworkPrivateLinkService(ScenarioTest): From bd9bdf8cb8cef580d6a04d7802b3f8f73e03e31f Mon Sep 17 00:00:00 2001 From: Myron Date: Thu, 16 Apr 2020 11:48:09 +0800 Subject: [PATCH 3/4] fix style and linter --- .../cli/command_modules/network/_help.py | 45 +++++++++++++++++++ .../cli/command_modules/network/_params.py | 2 +- .../cli/command_modules/network/custom.py | 15 ++++--- .../tests/latest/test_network_commands.py | 21 +++++---- 4 files changed, 67 insertions(+), 16 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/_help.py b/src/azure-cli/azure/cli/command_modules/network/_help.py index d6480f38265..0d9e61590ae 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_help.py +++ b/src/azure-cli/azure/cli/command_modules/network/_help.py @@ -3640,6 +3640,51 @@ text: az network private-endpoint update -g MyResourceGroup -n MyPE --request-message "test" --tags mytag=hello """ +helps['network private-endpoint dns-zone-group'] = """ +type: group +short-summary: Manage private endpoint dns zone group. +""" + +helps['network private-endpoint dns-zone-group create'] = """ +type: command +short-summary: Create a private endpoint dns zone group. +examples: + - name: Create a private endpoint dns zone group. + text: az network private-endpoint dns-zone-group create --endpoint-name MyPE -g MyRG -n MyZoneGroup --zone-name Zone1 --private-dns-zone PrivateDNSZone1 + +""" + +helps['network private-endpoint dns-zone-group add'] = """ +type: command +short-summary: Add a private endpoint dns zone into a dns zone group. +examples: + - name: Add a private endpoint dns zone group. + text: az network private-endpoint dns-zone-group add --endpoint-name MyPE -g MyRG -n MyZoneGroup --zone-name Zone1 --private-dns-zone PrivateDNSZone1 +""" + +helps['network private-endpoint dns-zone-group remove'] = """ +type: command +short-summary: Remove a private endpoint dns zone into a dns zone group. +examples: + - name: Remove a private endpoint dns zone group. + text: az network private-endpoint dns-zone-group remove --endpoint-name MyPE -g MyRG -n MyZoneGroup --zone-name Zone1 +""" + +helps['network private-endpoint dns-zone-group delete'] = """ +type: command +short-summary: Delete a private endpoint dns zone group. +""" + +helps['network private-endpoint dns-zone-group list'] = """ +type: command +short-summary: List all private endpoint dns zone groups. +""" + +helps['network private-endpoint dns-zone-group show'] = """ +type: command +short-summary: Show a private endpoint dns zone group. +""" + helps['network private-link-service'] = """ type: group short-summary: Manage private link services. diff --git a/src/azure-cli/azure/cli/command_modules/network/_params.py b/src/azure-cli/azure/cli/command_modules/network/_params.py index 3b449b2f79f..13b23353be6 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_params.py +++ b/src/azure-cli/azure/cli/command_modules/network/_params.py @@ -776,7 +776,7 @@ def load_arguments(self, _): c.argument('private_dns_zone', help='Name or ID of the private dns zone.', validator=validate_private_dns_zone) c.argument('private_dns_zone_name', options_list=['--zone-name'], help='Name of the private dns zone.') c.argument('private_dns_zone_group_name', options_list=['--name', '-n'], help='Name of the private dns zone group.') - c.argument('private_endpoint_name', private_endpoint_name) + c.argument('private_endpoint_name', private_endpoint_name, id_part=None) # endregion # region PrivateLinkService diff --git a/src/azure-cli/azure/cli/command_modules/network/custom.py b/src/azure-cli/azure/cli/command_modules/network/custom.py index ec09544e21e..d72d758694d 100644 --- a/src/azure-cli/azure/cli/command_modules/network/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/custom.py @@ -2491,20 +2491,22 @@ def list_private_endpoints(cmd, resource_group_name=None): return client.list_by_subscription() -def create_private_endpoint_private_dns_zone_group(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, +def create_private_endpoint_private_dns_zone_group(cmd, resource_group_name, private_endpoint_name, + private_dns_zone_group_name, private_dns_zone_name, private_dns_zone): client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups PrivateDnsZoneGroup, PrivateDnsZoneConfig = cmd.get_models('PrivateDnsZoneGroup', 'PrivateDnsZoneConfig') private_dns_zone_group = PrivateDnsZoneGroup(name=private_dns_zone_group_name, - private_dns_zone_configs=[PrivateDnsZoneConfig(private_dns_zone_id=private_dns_zone, - name=private_dns_zone_name)]) + private_dns_zone_configs=[PrivateDnsZoneConfig(private_dns_zone_id=private_dns_zone, # pylint: disable=line-too-long + name=private_dns_zone_name)]) # pylint: disable=line-too-long return client.create_or_update(resource_group_name=resource_group_name, private_endpoint_name=private_endpoint_name, private_dns_zone_group_name=private_dns_zone_group_name, parameters=private_dns_zone_group) -def add_private_endpoint_private_dns_zone(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, +def add_private_endpoint_private_dns_zone(cmd, resource_group_name, private_endpoint_name, + private_dns_zone_group_name, private_dns_zone_name, private_dns_zone): client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups PrivateDnsZoneConfig = cmd.get_models('PrivateDnsZoneConfig') @@ -2519,13 +2521,14 @@ def add_private_endpoint_private_dns_zone(cmd, resource_group_name, private_endp parameters=private_dns_zone_group) -def remove_private_endpoint_private_dns_zone(cmd, resource_group_name, private_endpoint_name, private_dns_zone_group_name, +def remove_private_endpoint_private_dns_zone(cmd, resource_group_name, private_endpoint_name, + private_dns_zone_group_name, private_dns_zone_name): client = network_client_factory(cmd.cli_ctx).private_dns_zone_groups private_dns_zone_group = client.get(resource_group_name=resource_group_name, private_endpoint_name=private_endpoint_name, private_dns_zone_group_name=private_dns_zone_group_name) - private_dns_zone_configs = [item for item in private_dns_zone_group.private_dns_zone_configs if item.name != private_dns_zone_name] + private_dns_zone_configs = [item for item in private_dns_zone_group.private_dns_zone_configs if item.name != private_dns_zone_name] # pylint: disable=line-too-long private_dns_zone_group.private_dns_zone_configs = private_dns_zone_configs return client.create_or_update(resource_group_name=resource_group_name, private_endpoint_name=private_endpoint_name, diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py index 10f90205f95..daef9aecfd0 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py @@ -200,14 +200,16 @@ def test_network_private_endpoint_private_dns_zone_group(self, resource_group, s self.cmd('network private-dns zone create -n {zone_name2} -g {rg}') self.cmd('network private-endpoint dns-zone-group create --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name} ' - '--zone-name {private_zone_name1} --private-dns-zone {zone_name1}', checks=[ - self.check('name', '{private_dns_zone_group_name}') - ]) + '--zone-name {private_zone_name1} --private-dns-zone {zone_name1}', + checks=[ + self.check('name', '{private_dns_zone_group_name}') + ]) self.cmd('network private-endpoint dns-zone-group add --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name} ' - '--zone-name {private_zone_name2} --private-dns-zone {zone_name2}', checks=[ - self.check('length(privateDnsZoneConfigs)', 2) - ]) + '--zone-name {private_zone_name2} --private-dns-zone {zone_name2}', + checks=[ + self.check('length(privateDnsZoneConfigs)', 2) + ]) self.cmd('network private-endpoint dns-zone-group show --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name}', checks=[ self.check('length(privateDnsZoneConfigs)', 2) @@ -216,9 +218,10 @@ def test_network_private_endpoint_private_dns_zone_group(self, resource_group, s self.check('length(@)', 1) ]) self.cmd('network private-endpoint dns-zone-group remove --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name} ' - '--zone-name {private_zone_name2}', checks=[ - self.check('length(privateDnsZoneConfigs)', 1) - ]) + '--zone-name {private_zone_name2}', + checks=[ + self.check('length(privateDnsZoneConfigs)', 1) + ]) self.cmd('network private-endpoint dns-zone-group show --endpoint-name {pe} -g {rg} -n {private_dns_zone_group_name}', checks=[ self.check('length(privateDnsZoneConfigs)', 1) ]) From 496f15be21f8802f3de88d08be06c76de2673b42 Mon Sep 17 00:00:00 2001 From: Myron Date: Thu, 16 Apr 2020 12:12:02 +0800 Subject: [PATCH 4/4] rerun the test --- ...ivate_endpoint_private_dns_zone_group.yaml | 496 +++++++++--------- 1 file changed, 248 insertions(+), 248 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml index 856393fb593..6f96e52882e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_private_dns_zone_group.yaml @@ -19,8 +19,8 @@ interactions: ParameterSetName: - -n -g -l --subnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -28,15 +28,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"804b8b9c-3f13-4f13-9356-9959ed4522dd\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a7ec1f03-7055-4502-a6fd-bacd8b4164a1\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"65adc6bb-1327-4b8f-8d83-1af91558bd79\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"bce5e5c0-a09d-4a82-83c0-2f3f500ff352\",\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 {\r\n \"name\": \"cli-subnet-000004\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"804b8b9c-3f13-4f13-9356-9959ed4522dd\\\"\",\r\n + \ \"etag\": \"W/\\\"a7ec1f03-7055-4502-a6fd-bacd8b4164a1\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -47,7 +47,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2006adc6-13ce-42b3-aa3e-debab9639455?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/54cf56df-8c77-4b44-8b4a-ddf57f26e9d3?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -55,7 +55,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:32 GMT + - Thu, 16 Apr 2020 04:02:38 GMT expires: - '-1' pragma: @@ -68,9 +68,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dafcf245-c2fa-4c09-9d84-b94914ca89a4 + - 1a5fc731-53c7-42a4-ac7f-1c9b2df482cc x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -88,10 +88,10 @@ interactions: ParameterSetName: - -n -g -l --subnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2006adc6-13ce-42b3-aa3e-debab9639455?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/54cf56df-8c77-4b44-8b4a-ddf57f26e9d3?api-version=2020-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -103,7 +103,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:36 GMT + - Thu, 16 Apr 2020 04:02:42 GMT expires: - '-1' pragma: @@ -120,7 +120,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ae34c32b-bbf3-4744-a2f0-6e7156cc4974 + - 748ef208-9e60-4cfd-8a1b-8d6770c351c3 status: code: 200 message: OK @@ -138,22 +138,22 @@ interactions: ParameterSetName: - -n -g -l --subnet-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2020-03-01 response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"249dfeed-1e38-4f06-b63d-8aa983f2560a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"22ce96f2-5741-4275-8804-14aff8a7cf8d\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"65adc6bb-1327-4b8f-8d83-1af91558bd79\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"bce5e5c0-a09d-4a82-83c0-2f3f500ff352\",\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 {\r\n \"name\": \"cli-subnet-000004\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"249dfeed-1e38-4f06-b63d-8aa983f2560a\\\"\",\r\n + \ \"etag\": \"W/\\\"22ce96f2-5741-4275-8804-14aff8a7cf8d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -168,9 +168,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:36 GMT + - Thu, 16 Apr 2020 04:02:44 GMT etag: - - W/"249dfeed-1e38-4f06-b63d-8aa983f2560a" + - W/"22ce96f2-5741-4275-8804-14aff8a7cf8d" expires: - '-1' pragma: @@ -187,7 +187,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c439fb19-f41a-4132-b619-2581d97fffb1 + - 236c2f16-4da5-4111-abf6-66025b76872e status: code: 200 message: OK @@ -205,8 +205,8 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -214,7 +214,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"249dfeed-1e38-4f06-b63d-8aa983f2560a\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"22ce96f2-5741-4275-8804-14aff8a7cf8d\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -227,9 +227,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:38 GMT + - Thu, 16 Apr 2020 04:02:46 GMT etag: - - W/"249dfeed-1e38-4f06-b63d-8aa983f2560a" + - W/"22ce96f2-5741-4275-8804-14aff8a7cf8d" expires: - '-1' pragma: @@ -246,7 +246,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 10a57d19-ff02-4211-862b-962f5842ca85 + - af31df15-1b6f-41f8-9345-299d28433dba status: code: 200 message: OK @@ -270,8 +270,8 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -279,14 +279,14 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"ffbe6bfd-cf59-4b4b-86d1-1f27193c6cb9\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"364e9ae3-d037-4fff-80d4-46b60842d249\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/e8f1ee87-f5ea-4e47-ad89-8daf2ed8db02?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/30289894-8bbd-4e03-ace6-e18b00125f23?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -294,7 +294,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:39 GMT + - Thu, 16 Apr 2020 04:02:47 GMT expires: - '-1' pragma: @@ -311,9 +311,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3ba41fa7-5bae-4667-b948-5c950cfee586 + - 68e50ef3-b343-4bba-a813-385d848c95bc x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -331,10 +331,10 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/e8f1ee87-f5ea-4e47-ad89-8daf2ed8db02?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/30289894-8bbd-4e03-ace6-e18b00125f23?api-version=2020-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -346,7 +346,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:44 GMT + - Thu, 16 Apr 2020 04:02:51 GMT expires: - '-1' pragma: @@ -363,7 +363,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b760d646-cb99-4c76-b59f-59f4cfdd70a0 + - 223d6d79-de9b-45c6-ad54-8823c919de83 status: code: 200 message: OK @@ -381,14 +381,14 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2020-03-01 response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"1882d11a-80a2-433f-85de-3734401f7954\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"c440fa1f-8343-4068-8800-e650573a50e6\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -401,9 +401,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:45 GMT + - Thu, 16 Apr 2020 04:02:52 GMT etag: - - W/"1882d11a-80a2-433f-85de-3734401f7954" + - W/"c440fa1f-8343-4068-8800-e650573a50e6" expires: - '-1' pragma: @@ -420,7 +420,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1a69f783-a85a-4c61-9999-776005cd2070 + - 44279763-f72e-4126-8175-dd9af7e940c1 status: code: 200 message: OK @@ -438,8 +438,8 @@ interactions: ParameterSetName: - --account-name -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -455,7 +455,7 @@ interactions: content-type: - application/json date: - - Fri, 10 Apr 2020 07:03:45 GMT + - Thu, 16 Apr 2020 04:02:54 GMT expires: - '-1' pragma: @@ -487,24 +487,24 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","name":"saplr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-04-10T07:03:01.0743209Z","primaryEndpoints":{"dfs":"https://saplr000002.dfs.core.windows.net/","web":"https://saplr000002.z22.web.core.windows.net/","blob":"https://saplr000002.blob.core.windows.net/","queue":"https://saplr000002.queue.core.windows.net/","table":"https://saplr000002.table.core.windows.net/","file":"https://saplr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","name":"saplr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-16T04:02:06.9174177Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-16T04:02:06.9174177Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-04-16T04:02:06.8393304Z","primaryEndpoints":{"dfs":"https://saplr000002.dfs.core.windows.net/","web":"https://saplr000002.z22.web.core.windows.net/","blob":"https://saplr000002.blob.core.windows.net/","queue":"https://saplr000002.queue.core.windows.net/","table":"https://saplr000002.table.core.windows.net/","file":"https://saplr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}' headers: cache-control: - no-cache content-length: - - '1391' + - '1412' content-type: - application/json date: - - Fri, 10 Apr 2020 07:03:47 GMT + - Thu, 16 Apr 2020 04:02:56 GMT expires: - '-1' pragma: @@ -543,8 +543,8 @@ interactions: - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id --group-ids User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -552,12 +552,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"5b38e148-deed-4c6e-bc82-928edc48b58c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a60e89ba-d10d-48e9-9ea9-e7214ff1eeb3\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"84106fc5-0b38-408c-bc6e-26f4d96f6306\",\r\n \"privateLinkServiceConnections\": + \"41df8fd9-6fb7-4de7-b918-bdb02e92030a\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"5b38e148-deed-4c6e-bc82-928edc48b58c\\\"\",\r\n + \ \"etag\": \"W/\\\"a60e89ba-d10d-48e9-9ea9-e7214ff1eeb3\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002\",\r\n \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": @@ -566,13 +566,13 @@ interactions: \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e47dbf84-efa1-40c6-ae76-7cca00f7611b\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.5ed5a9f7-d6e6-4610-859d-69a2a93c28bc\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/5ff96ac3-8063-487d-94de-e962336ee12b?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/ed174732-e95d-458c-8da6-d3a6e15d153f?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -580,7 +580,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:03:55 GMT + - Thu, 16 Apr 2020 04:03:02 GMT expires: - '-1' pragma: @@ -593,9 +593,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2d7ce50d-f8ce-4acf-b132-76a2ae6b8086 + - f7631b9e-f4b8-4596-bc52-656007ac976e x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 201 message: Created @@ -614,10 +614,10 @@ interactions: - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id --group-ids User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/5ff96ac3-8063-487d-94de-e962336ee12b?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/ed174732-e95d-458c-8da6-d3a6e15d153f?api-version=2020-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -629,7 +629,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:04:07 GMT + - Thu, 16 Apr 2020 04:03:14 GMT expires: - '-1' pragma: @@ -646,7 +646,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d0989776-e2b6-4a72-82d8-37d7532c6c3c + - 4051a03d-54d3-4298-8861-302b70bef4cd status: code: 200 message: OK @@ -665,19 +665,19 @@ interactions: - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id --group-ids User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2020-03-01 response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"8a6979f4-63c7-4158-b317-27da9f72a519\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"84106fc5-0b38-408c-bc6e-26f4d96f6306\",\r\n \"privateLinkServiceConnections\": + \"41df8fd9-6fb7-4de7-b918-bdb02e92030a\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n + \ \"etag\": \"W/\\\"8a6979f4-63c7-4158-b317-27da9f72a519\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002\",\r\n \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": @@ -686,7 +686,7 @@ interactions: \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e47dbf84-efa1-40c6-ae76-7cca00f7611b\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.5ed5a9f7-d6e6-4610-859d-69a2a93c28bc\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": \"saplr000002.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n \ ]\r\n }\r\n ]\r\n }\r\n}" @@ -698,9 +698,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:04:08 GMT + - Thu, 16 Apr 2020 04:03:15 GMT etag: - - W/"22b7b789-4a85-4430-93ef-ed7b65f0a50c" + - W/"8a6979f4-63c7-4158-b317-27da9f72a519" expires: - '-1' pragma: @@ -717,7 +717,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b431963d-1cf6-432d-892e-478af6f8183e + - fd9ca5da-4f23-4858-81eb-62b6087273fe status: code: 200 message: OK @@ -735,24 +735,24 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","name":"saplr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-10T07:03:01.1524428Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-04-10T07:03:01.0743209Z","primaryEndpoints":{"dfs":"https://saplr000002.dfs.core.windows.net/","web":"https://saplr000002.z22.web.core.windows.net/","blob":"https://saplr000002.blob.core.windows.net/","queue":"https://saplr000002.queue.core.windows.net/","table":"https://saplr000002.table.core.windows.net/","file":"https://saplr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}' + string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002","name":"saplr000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","name":"saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"isHnsEnabled":false,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-16T04:02:06.9174177Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-16T04:02:06.9174177Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-04-16T04:02:06.8393304Z","primaryEndpoints":{"dfs":"https://saplr000002.dfs.core.windows.net/","web":"https://saplr000002.z22.web.core.windows.net/","blob":"https://saplr000002.blob.core.windows.net/","queue":"https://saplr000002.queue.core.windows.net/","table":"https://saplr000002.table.core.windows.net/","file":"https://saplr000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}' headers: cache-control: - no-cache content-length: - - '2240' + - '2261' content-type: - application/json date: - - Fri, 10 Apr 2020 07:04:10 GMT + - Thu, 16 Apr 2020 04:03:17 GMT expires: - '-1' pragma: @@ -784,15 +784,15 @@ interactions: ParameterSetName: - --account-name -g --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","name":"saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: - no-cache @@ -801,7 +801,7 @@ interactions: content-type: - application/json date: - - Fri, 10 Apr 2020 07:04:11 GMT + - Thu, 16 Apr 2020 04:03:18 GMT expires: - '-1' pragma: @@ -833,15 +833,15 @@ interactions: ParameterSetName: - --account-name -g --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","name":"saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: - no-cache @@ -850,7 +850,7 @@ interactions: content-type: - application/json date: - - Fri, 10 Apr 2020 07:04:13 GMT + - Thu, 16 Apr 2020 04:03:19 GMT expires: - '-1' pragma: @@ -887,15 +887,15 @@ interactions: ParameterSetName: - --account-name -g --name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-storage/9.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-storage/9.0.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","name":"saplr000002.e99ffc0b-8bcb-439a-be09-17e0b7499095","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002/privateEndpointConnections/saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","name":"saplr000002.7018878f-5229-408a-a76e-c4796ed7aa0a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: - no-cache @@ -904,7 +904,7 @@ interactions: content-type: - application/json date: - - Fri, 10 Apr 2020 07:04:14 GMT + - Thu, 16 Apr 2020 04:03:20 GMT expires: - '-1' pragma: @@ -920,7 +920,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -938,8 +938,8 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -947,12 +947,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"8a6979f4-63c7-4158-b317-27da9f72a519\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"84106fc5-0b38-408c-bc6e-26f4d96f6306\",\r\n \"privateLinkServiceConnections\": + \"41df8fd9-6fb7-4de7-b918-bdb02e92030a\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"22b7b789-4a85-4430-93ef-ed7b65f0a50c\\\"\",\r\n + \ \"etag\": \"W/\\\"8a6979f4-63c7-4158-b317-27da9f72a519\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Storage/storageAccounts/saplr000002\",\r\n \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": @@ -961,7 +961,7 @@ interactions: \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.e47dbf84-efa1-40c6-ae76-7cca00f7611b\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.5ed5a9f7-d6e6-4610-859d-69a2a93c28bc\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": \"saplr000002.blob.core.windows.net\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n \ ]\r\n }\r\n ]\r\n }\r\n}" @@ -973,9 +973,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:04:15 GMT + - Thu, 16 Apr 2020 04:03:22 GMT etag: - - W/"22b7b789-4a85-4430-93ef-ed7b65f0a50c" + - W/"8a6979f4-63c7-4158-b317-27da9f72a519" expires: - '-1' pragma: @@ -992,7 +992,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 93b4ae13-a1fa-4232-92d3-0a20b3ea25d9 + - 53d981e6-a084-47c1-915b-8c7202e4b272 status: code: 200 message: OK @@ -1016,8 +1016,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -1027,7 +1027,7 @@ interactions: string: '{}' headers: azure-asyncoperation: - - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTthZDdlM2VlOC03YWM1LTQyZjUtOWI4ZS04NzFiOGE2YzhjOGU=?api-version=2018-09-01 + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTswODk1MDU1OS1iM2E3LTRkNzUtYjdlYi0xYmE3MzgzNGY0YjM=?api-version=2018-09-01 cache-control: - private content-length: @@ -1035,9 +1035,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:04:25 GMT + - Thu, 16 Apr 2020 04:03:31 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTthZDdlM2VlOC03YWM1LTQyZjUtOWI4ZS04NzFiOGE2YzhjOGU=?api-version=2018-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTswODk1MDU1OS1iM2E3LTRkNzUtYjdlYi0xYmE3MzgzNGY0YjM=?api-version=2018-09-01 server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1067,10 +1067,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTthZDdlM2VlOC03YWM1LTQyZjUtOWI4ZS04NzFiOGE2YzhjOGU=?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTswODk1MDU1OS1iM2E3LTRkNzUtYjdlYi0xYmE3MzgzNGY0YjM=?api-version=2018-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1082,7 +1082,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:04:56 GMT + - Thu, 16 Apr 2020 04:04:02 GMT server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1116,13 +1116,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com?api-version=2018-09-01 response: body: - string: '{"id":"\/subscriptions\/e05dbbce-79c2-45a2-a7ef-f1058856feb3\/resourceGroups\/fanqiu_cli_test_network_private_endpoints000001\/providers\/Microsoft.Network\/privateDnsZones\/www.clizone1.com","name":"www.clizone1.com","type":"Microsoft.Network\/privateDnsZones","etag":"d782c88d-ffb8-415b-aa9e-6483c1cadfd1","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + string: '{"id":"\/subscriptions\/e05dbbce-79c2-45a2-a7ef-f1058856feb3\/resourceGroups\/fanqiu_cli_test_network_private_endpoints000001\/providers\/Microsoft.Network\/privateDnsZones\/www.clizone1.com","name":"www.clizone1.com","type":"Microsoft.Network\/privateDnsZones","etag":"ae7e19e4-c30a-4d0b-bb08-36c3a613d4f4","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' headers: cache-control: - private @@ -1131,9 +1131,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:04:56 GMT + - Thu, 16 Apr 2020 04:04:03 GMT etag: - - d782c88d-ffb8-415b-aa9e-6483c1cadfd1 + - ae7e19e4-c30a-4d0b-bb08-36c3a613d4f4 server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1173,8 +1173,8 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -1184,7 +1184,7 @@ interactions: string: '{}' headers: azure-asyncoperation: - - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtiNmM4OWNmMy1kMjA5LTQzZTItOTk3ZC01YzFhZDRmNWNlMmU=?api-version=2018-09-01 + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkZTFmZTk5MS03ZmNmLTRjY2UtOWRlNi1iYTMwMTNhZjJjZWQ=?api-version=2018-09-01 cache-control: - private content-length: @@ -1192,9 +1192,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:05 GMT + - Thu, 16 Apr 2020 04:04:12 GMT location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtiNmM4OWNmMy1kMjA5LTQzZTItOTk3ZC01YzFhZDRmNWNlMmU=?api-version=2018-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationResults/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkZTFmZTk5MS03ZmNmLTRjY2UtOWRlNi1iYTMwMTNhZjJjZWQ=?api-version=2018-09-01 server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1204,7 +1204,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '11998' + - '11999' x-powered-by: - ASP.NET status: @@ -1224,10 +1224,10 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtiNmM4OWNmMy1kMjA5LTQzZTItOTk3ZC01YzFhZDRmNWNlMmU=?api-version=2018-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsOperationStatuses/RnJvbnRFbmRBc3luY09wZXJhdGlvbjtVcHNlcnRQcml2YXRlRG5zWm9uZTtkZTFmZTk5MS03ZmNmLTRjY2UtOWRlNi1iYTMwMTNhZjJjZWQ=?api-version=2018-09-01 response: body: string: '{"status":"Succeeded"}' @@ -1239,7 +1239,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:36 GMT + - Thu, 16 Apr 2020 04:04:43 GMT server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1253,7 +1253,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '498' + - '499' x-powered-by: - ASP.NET status: @@ -1273,13 +1273,13 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-privatedns/0.1.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-privatedns/0.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com?api-version=2018-09-01 response: body: - string: '{"id":"\/subscriptions\/e05dbbce-79c2-45a2-a7ef-f1058856feb3\/resourceGroups\/fanqiu_cli_test_network_private_endpoints000001\/providers\/Microsoft.Network\/privateDnsZones\/www.clizone2.com","name":"www.clizone2.com","type":"Microsoft.Network\/privateDnsZones","etag":"e959e6a4-e527-466f-a123-e2a51bfd277f","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' + string: '{"id":"\/subscriptions\/e05dbbce-79c2-45a2-a7ef-f1058856feb3\/resourceGroups\/fanqiu_cli_test_network_private_endpoints000001\/providers\/Microsoft.Network\/privateDnsZones\/www.clizone2.com","name":"www.clizone2.com","type":"Microsoft.Network\/privateDnsZones","etag":"8c6360a4-7827-4cb9-afa2-c82f51302617","location":"global","properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":1,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}' headers: cache-control: - private @@ -1288,9 +1288,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:37 GMT + - Thu, 16 Apr 2020 04:04:44 GMT etag: - - e959e6a4-e527-466f-a123-e2a51bfd277f + - 8c6360a4-7827-4cb9-afa2-c82f51302617 server: - Microsoft-IIS/10.0 strict-transport-security: @@ -1329,8 +1329,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name --private-dns-zone User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -1338,18 +1338,18 @@ interactions: response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"072a3496-acf1-4136-8ed0-11b211d54ce6\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a5a54ec9-e621-441c-905b-0bb65a60333e\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"072a3496-acf1-4136-8ed0-11b211d54ce6\\\"\",\r\n + \ \"etag\": \"W/\\\"a5a54ec9-e621-441c-905b-0bb65a60333e\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c03901a5-de85-4465-9a89-46cba6da4458?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/a8cc3f9a-308f-4d67-a136-95487b82249e?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -1357,7 +1357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:39 GMT + - Thu, 16 Apr 2020 04:04:46 GMT expires: - '-1' pragma: @@ -1370,9 +1370,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 02b07568-140e-4633-b95d-78e733f93b6c + - b76e81a7-ecee-4223-87ab-d6ece54dbfc6 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -1390,10 +1390,10 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name --private-dns-zone User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c03901a5-de85-4465-9a89-46cba6da4458?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/a8cc3f9a-308f-4d67-a136-95487b82249e?api-version=2020-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1405,7 +1405,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:51 GMT + - Thu, 16 Apr 2020 04:04:58 GMT expires: - '-1' pragma: @@ -1422,7 +1422,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 31559e0f-1038-4c65-80f9-743b4ddf3a5b + - 14011965-4c95-4b23-ab23-858076284d4a status: code: 200 message: OK @@ -1440,18 +1440,18 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name --private-dns-zone User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"7546f150-95bd-4b9e-b929-4f2b79eef5c1\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n + \ \"etag\": \"W/\\\"7546f150-95bd-4b9e-b929-4f2b79eef5c1\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n @@ -1464,9 +1464,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:52 GMT + - Thu, 16 Apr 2020 04:04:58 GMT etag: - - W/"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca" + - W/"7546f150-95bd-4b9e-b929-4f2b79eef5c1" expires: - '-1' pragma: @@ -1483,7 +1483,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 54ee48a1-917c-4c34-b628-d1ee9b5947ce + - f51a85bd-0507-4b99-97ee-ec3691dc3d57 status: code: 200 message: OK @@ -1501,8 +1501,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name --private-dns-zone User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -1510,11 +1510,11 @@ interactions: response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"7546f150-95bd-4b9e-b929-4f2b79eef5c1\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca\\\"\",\r\n + \ \"etag\": \"W/\\\"7546f150-95bd-4b9e-b929-4f2b79eef5c1\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n @@ -1527,9 +1527,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:53 GMT + - Thu, 16 Apr 2020 04:05:01 GMT etag: - - W/"ff8cddd1-40e2-4a6f-ad85-db9813a4b4ca" + - W/"7546f150-95bd-4b9e-b929-4f2b79eef5c1" expires: - '-1' pragma: @@ -1546,7 +1546,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0acbe659-aa75-43b2-a4c2-42ceb0856250 + - de8ae0a6-8d91-48e1-86a5-4771a2a79322 status: code: 200 message: OK @@ -1571,8 +1571,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name --private-dns-zone User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -1580,24 +1580,24 @@ interactions: response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"e3964f4d-3fad-49b9-b827-066f96db0ffb\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"3d861494-d647-4573-8418-9e2f3999cc38\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"e3964f4d-3fad-49b9-b827-066f96db0ffb\\\"\",\r\n + \ \"etag\": \"W/\\\"3d861494-d647-4573-8418-9e2f3999cc38\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n - \ \"etag\": \"W/\\\"e3964f4d-3fad-49b9-b827-066f96db0ffb\\\"\",\r\n + \ \"etag\": \"W/\\\"3d861494-d647-4573-8418-9e2f3999cc38\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/39c944bd-0751-4e15-b972-16e25c8e518d?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c2ce7378-5178-47f6-bb8a-5829c67c6941?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -1605,7 +1605,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:05:54 GMT + - Thu, 16 Apr 2020 04:05:02 GMT expires: - '-1' pragma: @@ -1622,9 +1622,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8fe9b8d3-cdcd-4a7c-8696-2a7813f98094 + - f877cead-7c56-41e8-a581-8555d23237ec x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1642,10 +1642,10 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name --private-dns-zone User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/39c944bd-0751-4e15-b972-16e25c8e518d?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c2ce7378-5178-47f6-bb8a-5829c67c6941?api-version=2020-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1657,7 +1657,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:05 GMT + - Thu, 16 Apr 2020 04:05:13 GMT expires: - '-1' pragma: @@ -1674,7 +1674,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3ca596e2-a0a3-4eae-a162-8ae8ac36cee9 + - dbe38b39-7951-4d1f-ab87-c981c08fa372 status: code: 200 message: OK @@ -1692,24 +1692,24 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name --private-dns-zone User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n @@ -1722,9 +1722,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:06 GMT + - Thu, 16 Apr 2020 04:05:14 GMT etag: - - W/"a5e25ffa-078f-4a28-a261-fca3a3dd2253" + - W/"679870f1-75f4-4482-8435-8c7efba30e8f" expires: - '-1' pragma: @@ -1741,7 +1741,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a443342a-d1d2-4012-a5ef-049458fd946a + - 32688604-15f1-400c-b56f-a6a0c9691f57 status: code: 200 message: OK @@ -1759,8 +1759,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -1768,17 +1768,17 @@ interactions: response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n @@ -1791,9 +1791,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:09 GMT + - Thu, 16 Apr 2020 04:05:17 GMT etag: - - W/"a5e25ffa-078f-4a28-a261-fca3a3dd2253" + - W/"679870f1-75f4-4482-8435-8c7efba30e8f" expires: - '-1' pragma: @@ -1810,7 +1810,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b62940b4-882f-456d-a158-084093f4a431 + - e6d0f7fd-d1cd-4cbd-8642-7f4d7780282a status: code: 200 message: OK @@ -1828,8 +1828,8 @@ interactions: ParameterSetName: - --endpoint-name -g User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -1838,18 +1838,18 @@ interactions: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"clidnsgroup\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \ \"name\": \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n @@ -1863,7 +1863,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:12 GMT + - Thu, 16 Apr 2020 04:05:19 GMT expires: - '-1' pragma: @@ -1880,7 +1880,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 173af3c6-baff-4c97-8a5d-4ac3e521be57 + - 2c3197df-68af-45e5-ad18-218d7eb07337 status: code: 200 message: OK @@ -1898,8 +1898,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -1907,17 +1907,17 @@ interactions: response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n \ \"recordSets\": []\r\n }\r\n },\r\n {\r\n \"name\": \"clizone2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone2\",\r\n - \ \"etag\": \"W/\\\"a5e25ffa-078f-4a28-a261-fca3a3dd2253\\\"\",\r\n + \ \"etag\": \"W/\\\"679870f1-75f4-4482-8435-8c7efba30e8f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone2.com\",\r\n @@ -1930,9 +1930,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:14 GMT + - Thu, 16 Apr 2020 04:05:20 GMT etag: - - W/"a5e25ffa-078f-4a28-a261-fca3a3dd2253" + - W/"679870f1-75f4-4482-8435-8c7efba30e8f" expires: - '-1' pragma: @@ -1949,7 +1949,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 778871ab-d334-4fd6-85e5-412b4e62636c + - 7cf071f7-42e5-48ed-95e1-9b61c46b618f status: code: 200 message: OK @@ -1973,8 +1973,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: PUT @@ -1982,18 +1982,18 @@ interactions: response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"f581e5d1-12dc-4ae8-826b-00bb8359cd08\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a23e01af-2f11-4570-aed4-e222daac90b9\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"f581e5d1-12dc-4ae8-826b-00bb8359cd08\\\"\",\r\n + \ \"etag\": \"W/\\\"a23e01af-2f11-4570-aed4-e222daac90b9\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n \ \"recordSets\": []\r\n }\r\n }\r\n ]\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/916d0511-f951-47ba-a58b-13a3c31d4d79?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/ba0e048f-8252-41ec-9bbc-0d6a77b03e70?api-version=2020-03-01 cache-control: - no-cache content-length: @@ -2001,7 +2001,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:14 GMT + - Thu, 16 Apr 2020 04:05:21 GMT expires: - '-1' pragma: @@ -2018,7 +2018,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 81f2c8f6-76b8-4921-902d-9743b8b047f4 + - b97acf93-9b3b-438a-acc9-b454caee7edf x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2038,10 +2038,10 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/916d0511-f951-47ba-a58b-13a3c31d4d79?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/ba0e048f-8252-41ec-9bbc-0d6a77b03e70?api-version=2020-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2053,7 +2053,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:26 GMT + - Thu, 16 Apr 2020 04:05:32 GMT expires: - '-1' pragma: @@ -2070,7 +2070,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4e6206de-c61a-4d32-9fb7-c438a0cdb9ad + - f40eeae1-87a1-4461-89a3-c972ac5ade61 status: code: 200 message: OK @@ -2088,18 +2088,18 @@ interactions: ParameterSetName: - --endpoint-name -g -n --zone-name User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup?api-version=2020-03-01 response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"02f67f81-2d5f-4b71-9c87-e89e1b85cf1f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n + \ \"etag\": \"W/\\\"02f67f81-2d5f-4b71-9c87-e89e1b85cf1f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n @@ -2112,9 +2112,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:27 GMT + - Thu, 16 Apr 2020 04:05:33 GMT etag: - - W/"f4d32be3-1ad4-4643-a27b-f4484b82d0b9" + - W/"02f67f81-2d5f-4b71-9c87-e89e1b85cf1f" expires: - '-1' pragma: @@ -2131,7 +2131,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d0d42c0b-8279-40b9-8785-c5846040b772 + - 61c3d518-5596-42cd-8207-85848fb4aea2 status: code: 200 message: OK @@ -2149,8 +2149,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: GET @@ -2158,11 +2158,11 @@ interactions: response: body: string: "{\r\n \"name\": \"clidnsgroup\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup\",\r\n - \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"02f67f81-2d5f-4b71-9c87-e89e1b85cf1f\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateDnsZoneConfigs\": [\r\n {\r\n \"name\": \"clizone1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateDnsZoneGroups/clidnsgroup/privateDnsZoneConfigs/clizone1\",\r\n - \ \"etag\": \"W/\\\"f4d32be3-1ad4-4643-a27b-f4484b82d0b9\\\"\",\r\n + \ \"etag\": \"W/\\\"02f67f81-2d5f-4b71-9c87-e89e1b85cf1f\\\"\",\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateDnsZoneGroups/privateDnsZoneConfigs\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateDnsZoneId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/fanqiu_cli_test_network_private_endpoints000001/providers/Microsoft.Network/privateDnsZones/www.clizone1.com\",\r\n @@ -2175,9 +2175,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:30 GMT + - Thu, 16 Apr 2020 04:05:36 GMT etag: - - W/"f4d32be3-1ad4-4643-a27b-f4484b82d0b9" + - W/"02f67f81-2d5f-4b71-9c87-e89e1b85cf1f" expires: - '-1' pragma: @@ -2194,7 +2194,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 363826f8-92f5-4a1e-b4f2-8409c4e72c40 + - 73ab73e3-e701-4680-aa2d-b372ffc81de0 status: code: 200 message: OK @@ -2214,8 +2214,8 @@ interactions: ParameterSetName: - --endpoint-name -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 accept-language: - en-US method: DELETE @@ -2225,17 +2225,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/235c7840-2120-4119-9451-7691597662b0?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/858267e6-c4b7-4384-944e-f5b5bd92e51f?api-version=2020-03-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 10 Apr 2020 07:06:32 GMT + - Thu, 16 Apr 2020 04:05:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/235c7840-2120-4119-9451-7691597662b0?api-version=2020-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/858267e6-c4b7-4384-944e-f5b5bd92e51f?api-version=2020-03-01 pragma: - no-cache server: @@ -2246,9 +2246,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fa9dfa5d-13d7-49c2-bf40-71be18e1d8ff + - cd4bda9e-1325-4699-8824-63342c0b7886 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -2266,10 +2266,10 @@ interactions: ParameterSetName: - --endpoint-name -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.9 msrest_azure/0.6.3 azure-mgmt-network/10.0.0 - Azure-SDK-For-Python AZURECLI/2.3.1 + - python/3.8.0 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.3 + azure-mgmt-network/10.1.0 Azure-SDK-For-Python AZURECLI/2.3.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/235c7840-2120-4119-9451-7691597662b0?api-version=2020-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/858267e6-c4b7-4384-944e-f5b5bd92e51f?api-version=2020-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2281,7 +2281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 10 Apr 2020 07:06:43 GMT + - Thu, 16 Apr 2020 04:05:49 GMT expires: - '-1' pragma: @@ -2298,7 +2298,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd0d9b3b-3ed1-48a4-aa66-3b6696558263 + - 02143e7e-789b-4d7e-bc5b-d0b3955ded3f status: code: 200 message: OK