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 d600f518fd2..55f82e9b7e1 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_help.py +++ b/src/azure-cli/azure/cli/command_modules/network/_help.py @@ -6163,7 +6163,7 @@ examples: - name: Create a route server. text: | - az network routeserver create --resource-group myresourcegroup --name myrouteserver --hosted-subnet my_subnet_id + az network routeserver create --resource-group myresourcegroup --name myrouteserver --hosted-subnet my_subnet_id --public-ip-address my_public_ip """ helps['network routeserver update'] = """ 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 12331de3e90..193e3fc84be 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_params.py +++ b/src/azure-cli/azure/cli/command_modules/network/_params.py @@ -2083,6 +2083,10 @@ def load_arguments(self, _): c.argument('hosted_subnet', help='The ID of a subnet where Route Server would be deployed') c.argument('allow_branch_to_branch_traffic', options_list=['--allow-b2b-traffic'], arg_type=get_three_state_flag(), help='Allow branch to branch traffic.') + c.argument('public_ip_address', validator=get_public_ip_validator(), + help='The name or ID of the public IP address.', + completer=get_resource_name_completion_list('Microsoft.Network/publicIPAddresses'), + min_api='2021-02-01') with self.argument_context('network routeserver create') as c: c.argument('virtual_hub_name', id_part=None) 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 b0f3a222bc0..d7306f646e4 100644 --- a/src/azure-cli/azure/cli/command_modules/network/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/custom.py @@ -6989,7 +6989,8 @@ def remove_vnet_gateway_nat_rule(cmd, resource_group_name, gateway_name, name, n def create_virtual_hub(cmd, client, resource_group_name, virtual_hub_name, - hosted_subnet=None, + hosted_subnet, + public_ip_address=None, location=None, tags=None): from azure.core.exceptions import HttpResponseError @@ -7012,7 +7013,10 @@ def create_virtual_hub(cmd, client, vhub_poller = client.begin_create_or_update(resource_group_name, virtual_hub_name, hub) LongRunningOperation(cmd.cli_ctx)(vhub_poller) - ip_config = HubIpConfiguration(subnet=SubResource(id=hosted_subnet)) + ip_config = HubIpConfiguration( + subnet=SubResource(id=hosted_subnet), + public_ip_address=SubResource(id=public_ip_address) if public_ip_address else None, + ) vhub_ip_config_client = network_client_factory(cmd.cli_ctx).virtual_hub_ip_configuration try: vhub_ip_poller = vhub_ip_config_client.begin_create_or_update( @@ -7046,8 +7050,11 @@ def update_virtual_hub(cmd, instance, def delete_virtual_hub(cmd, client, resource_group_name, virtual_hub_name, no_wait=False): from azure.cli.core.commands import LongRunningOperation vhub_ip_config_client = network_client_factory(cmd.cli_ctx).virtual_hub_ip_configuration - poller = vhub_ip_config_client.begin_delete(resource_group_name, virtual_hub_name, 'Default') - LongRunningOperation(cmd.cli_ctx)(poller) + ip_configs = list(vhub_ip_config_client.list(resource_group_name, virtual_hub_name)) + if ip_configs: + ip_config = ip_configs[0] # There will always be only 1 + poller = vhub_ip_config_client.begin_delete(resource_group_name, virtual_hub_name, ip_config.name) + LongRunningOperation(cmd.cli_ctx)(poller) return sdk_no_wait(no_wait, client.begin_delete, resource_group_name, virtual_hub_name) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_hub_router_scenario.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_hub_router_scenario.yaml index 5283bf1e79e..7bb8322160e 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_hub_router_scenario.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_virtual_hub_router_scenario.yaml @@ -20,21 +20,21 @@ interactions: ParameterSetName: - -g -n --location --subnet-name --address-prefix User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2\",\r\n - \ \"etag\": \"W/\\\"d146afbf-3bf5-4ce1-8601-5530c0eb90d6\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"1a7367e6-c638-435f-9706-4876cafda486\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"5e6f27ac-ab67-4f76-91c2-8227408e7cd6\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"eb082751-7eb5-4b40-aad9-c4644f94be15\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/24\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"RouteServerSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\",\r\n - \ \"etag\": \"W/\\\"d146afbf-3bf5-4ce1-8601-5530c0eb90d6\\\"\",\r\n + \ \"etag\": \"W/\\\"1a7367e6-c638-435f-9706-4876cafda486\\\"\",\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\": @@ -45,7 +45,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/b1f0514f-c1dd-4980-b5a4-d7a6b4a6689e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/841c799b-9345-43e8-a760-ce205bde8768?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -53,7 +53,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:08 GMT + - Thu, 01 Jul 2021 03:27:25 GMT expires: - '-1' pragma: @@ -66,9 +66,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 332c29fc-7850-4f6c-b837-8ce8ae3351c7 + - ff405685-12f2-454c-b075-966328d8e71f x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: code: 201 message: Created @@ -86,9 +86,58 @@ interactions: ParameterSetName: - -g -n --location --subnet-name --address-prefix User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/841c799b-9345-43e8-a760-ce205bde8768?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:27:28 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: + - 1a067fed-8068-4ac0-9d82-c20fab897c40 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -g -n --location --subnet-name --address-prefix + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/b1f0514f-c1dd-4980-b5a4-d7a6b4a6689e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/841c799b-9345-43e8-a760-ce205bde8768?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -100,7 +149,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:11 GMT + - Thu, 01 Jul 2021 03:27:39 GMT expires: - '-1' pragma: @@ -117,7 +166,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4b5e2938-8d91-4361-aca4-4dc654a01ee1 + - 976ae976-07bf-42e4-a2f8-3fedebaa3f87 status: code: 200 message: OK @@ -135,21 +184,21 @@ interactions: ParameterSetName: - -g -n --location --subnet-name --address-prefix User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2\",\r\n - \ \"etag\": \"W/\\\"4c786cf0-62eb-4a8f-b50b-5d1ff08e884c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"fb50231c-1866-4dcd-b3ad-e5582a41df69\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"5e6f27ac-ab67-4f76-91c2-8227408e7cd6\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"eb082751-7eb5-4b40-aad9-c4644f94be15\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/24\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"RouteServerSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\",\r\n - \ \"etag\": \"W/\\\"4c786cf0-62eb-4a8f-b50b-5d1ff08e884c\\\"\",\r\n + \ \"etag\": \"W/\\\"fb50231c-1866-4dcd-b3ad-e5582a41df69\\\"\",\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\": @@ -164,9 +213,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:11 GMT + - Thu, 01 Jul 2021 03:27:39 GMT etag: - - W/"4c786cf0-62eb-4a8f-b50b-5d1ff08e884c" + - W/"fb50231c-1866-4dcd-b3ad-e5582a41df69" expires: - '-1' pragma: @@ -183,7 +232,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4d63c979-f067-4260-94a6-0725b6d3b316 + - 4056bb92-bd8a-4d4d-a797-2dd1df15bec7 status: code: 200 message: OK @@ -201,13 +250,13 @@ interactions: ParameterSetName: - -g --vnet-name -n --remove User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"RouteServerSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\",\r\n - \ \"etag\": \"W/\\\"4c786cf0-62eb-4a8f-b50b-5d1ff08e884c\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"fb50231c-1866-4dcd-b3ad-e5582a41df69\\\"\",\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\": @@ -220,9 +269,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:12 GMT + - Thu, 01 Jul 2021 03:27:41 GMT etag: - - W/"4c786cf0-62eb-4a8f-b50b-5d1ff08e884c" + - W/"fb50231c-1866-4dcd-b3ad-e5582a41df69" expires: - '-1' pragma: @@ -239,7 +288,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c2f209cf-a877-4610-98b4-b3dab044f9db + - 67ae5da9-1213-4c15-af45-64798eb6d100 status: code: 200 message: OK @@ -264,20 +313,20 @@ interactions: ParameterSetName: - -g --vnet-name -n --remove User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"RouteServerSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\",\r\n - \ \"etag\": \"W/\\\"ee194b20-bcfd-4568-9145-b6fae9605405\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"7052e1bf-d0cf-40dd-a021-0f3fc2dbed86\\\"\",\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: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/e2f34e5d-b895-4949-b1ea-2460fa986e57?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/b9e48f25-fa42-4c72-b5ef-9df361a97984?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -285,7 +334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:13 GMT + - Thu, 01 Jul 2021 03:27:42 GMT expires: - '-1' pragma: @@ -302,9 +351,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7dc05e72-e41d-4399-a201-2cb09335088b + - 68160f65-b3df-4e66-b124-2a47891f2f36 x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1199' status: code: 200 message: OK @@ -322,9 +371,9 @@ interactions: ParameterSetName: - -g --vnet-name -n --remove User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/e2f34e5d-b895-4949-b1ea-2460fa986e57?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/b9e48f25-fa42-4c72-b5ef-9df361a97984?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -336,7 +385,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:44 GMT + - Thu, 01 Jul 2021 03:28:13 GMT expires: - '-1' pragma: @@ -353,7 +402,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d1fc63ad-bf75-42de-927c-04b52f27894e + - 42e93973-f1c9-43cc-8820-7297d2ef0402 status: code: 200 message: OK @@ -371,13 +420,13 @@ interactions: ParameterSetName: - -g --vnet-name -n --remove User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"RouteServerSubnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\",\r\n - \ \"etag\": \"W/\\\"ee194b20-bcfd-4568-9145-b6fae9605405\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"7052e1bf-d0cf-40dd-a021-0f3fc2dbed86\\\"\",\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\": @@ -390,9 +439,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:44 GMT + - Thu, 01 Jul 2021 03:28:13 GMT etag: - - W/"ee194b20-bcfd-4568-9145-b6fae9605405" + - W/"7052e1bf-d0cf-40dd-a021-0f3fc2dbed86" expires: - '-1' pragma: @@ -409,7 +458,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2d5af06f-bfbe-49a1-b4b9-ceac5362454d + - bd11067c-50f5-4dfb-9dfa-c36043760bb9 status: code: 200 message: OK @@ -427,21 +476,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2\",\r\n - \ \"etag\": \"W/\\\"ee194b20-bcfd-4568-9145-b6fae9605405\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"7052e1bf-d0cf-40dd-a021-0f3fc2dbed86\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centraluseuap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"5e6f27ac-ab67-4f76-91c2-8227408e7cd6\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"eb082751-7eb5-4b40-aad9-c4644f94be15\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/24\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"RouteServerSubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\",\r\n - \ \"etag\": \"W/\\\"ee194b20-bcfd-4568-9145-b6fae9605405\\\"\",\r\n + \ \"etag\": \"W/\\\"7052e1bf-d0cf-40dd-a021-0f3fc2dbed86\\\"\",\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\": @@ -456,9 +505,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:45 GMT + - Thu, 01 Jul 2021 03:28:14 GMT etag: - - W/"ee194b20-bcfd-4568-9145-b6fae9605405" + - W/"7052e1bf-d0cf-40dd-a021-0f3fc2dbed86" expires: - '-1' pragma: @@ -475,7 +524,219 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7a307e61-b075-4541-8663-641c86c51da2 + - e210fe14-54e6-4472-bda6-1f6b9fe0b19f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_virtual_hub_router000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001","name":"cli_test_virtual_hub_router000001","type":"Microsoft.Resources/resourceGroups","location":"centraluseuap","tags":{"product":"azurecli","cause":"automation","date":"2021-07-01T03:27:05Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '435' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:28:15 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "centraluseuap", "properties": {"publicIPAllocationMethod": + "Dynamic", "publicIPAddressVersion": "IPv4", "idleTimeoutInMinutes": 4}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + Content-Length: + - '145' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"vhrip1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1\",\r\n + \ \"etag\": \"W/\\\"13b46b0e-6aed-4750-9a20-55f4a4664e8f\\\"\",\r\n \"location\": + \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"41337782-02ee-448e-9bf4-659602390fa5\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\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/ca83f59f-30b6-4d51-8bc4-145b15a6b5b7?api-version=2021-02-01 + cache-control: + - no-cache + content-length: + - '692' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:28:24 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: + - 3b8ceb4c-4337-4d3e-85df-c2ec91d935c9 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/ca83f59f-30b6-4d51-8bc4-145b15a6b5b7?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:28:25 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ce608c19-543e-432b-b2d8-ab44b1310d70 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"vhrip1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1\",\r\n + \ \"etag\": \"W/\\\"c5a919b2-750a-4c71-92b6-287112a7e293\\\"\",\r\n \"location\": + \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"41337782-02ee-448e-9bf4-659602390fa5\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '693' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:28:25 GMT + etag: + - W/"c5a919b2-750a-4c71-92b6-287112a7e293" + 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: + - f8a8be46-e2f6-4f43-b9c6-fae14dd2a0bc status: code: 200 message: OK @@ -491,9 +752,9 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: @@ -509,7 +770,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:46 GMT + - Thu, 01 Jul 2021 03:28:26 GMT expires: - '-1' pragma: @@ -539,15 +800,15 @@ interactions: Content-Type: - application/json ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"afc28613-c72b-4c0e-a900-da4475d98bcb\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"75ce19cc-b940-4323-8297-0af1658c43f4\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": @@ -558,7 +819,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/13c3ca5c-694d-417a-b4e2-51e07e244a1e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/8282dc30-035f-452f-8f0c-a29ed03d2842?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -566,7 +827,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:01:55 GMT + - Thu, 01 Jul 2021 03:28:34 GMT expires: - '-1' pragma: @@ -579,9 +840,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1b26e474-1bb7-4b1c-967f-1ccfcf8a7a4b + - 5dc6f221-8e42-4eec-936f-e5f670ef9a41 x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1199' status: code: 201 message: Created @@ -597,11 +858,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/13c3ca5c-694d-417a-b4e2-51e07e244a1e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/8282dc30-035f-452f-8f0c-a29ed03d2842?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -613,7 +874,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:02:25 GMT + - Thu, 01 Jul 2021 03:29:06 GMT expires: - '-1' pragma: @@ -630,7 +891,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3e999cee-22b1-4d80-bc54-73abd5d36260 + - 50c00db1-c210-4cfc-a1f3-c42561c10c8a status: code: 200 message: OK @@ -646,15 +907,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"afc28613-c72b-4c0e-a900-da4475d98bcb\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"75ce19cc-b940-4323-8297-0af1658c43f4\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": 0,\r\n \"virtualRouterIps\": [],\r\n \"routeTable\": @@ -669,7 +930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:02:26 GMT + - Thu, 01 Jul 2021 03:29:06 GMT expires: - '-1' pragma: @@ -686,12 +947,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a35f8dca-cbc1-4812-8dde-ee652a0f4bfb + - 11054bc5-287b-47f1-96ef-f7bc4ab3be05 status: code: 200 message: OK - request: - body: '{"properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet"}}}' + body: '{"properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1"}}}' headers: Accept: - application/json @@ -702,34 +964,35 @@ interactions: Connection: - keep-alive Content-Length: - - '256' + - '482' Content-Type: - application/json ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/ipConfigurations/Default?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"Default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/ipConfigurations/Default\",\r\n - \ \"etag\": \"W/\\\"d0cea4b2-2233-4e73-bcef-f29d0053d273\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"2fd09c1f-866c-4b74-a57b-e065e76a6269\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs/ipConfigurations\",\r\n \"properties\": {\r\n \ \"provisioningState\": \"Updating\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\"\r\n + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\"\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/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 cache-control: - no-cache content-length: - - '738' + - '983' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:02:27 GMT + - Thu, 01 Jul 2021 03:29:07 GMT expires: - '-1' pragma: @@ -742,9 +1005,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 29b0bdf9-559a-499a-98e9-ade606302021 + - 907d2dbd-4313-4cbd-8a68-f33c2c7fe639 x-ms-ratelimit-remaining-subscription-writes: - - '1182' + - '1199' status: code: 201 message: Created @@ -760,11 +1023,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -776,7 +1039,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:02:37 GMT + - Thu, 01 Jul 2021 03:29:17 GMT expires: - '-1' pragma: @@ -793,7 +1056,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f522a86-a37a-465b-baff-b3ae1f139ae0 + - d58103ea-c2b2-4ea1-bd3e-d2ce2d5f2f06 status: code: 200 message: OK @@ -809,11 +1072,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -825,7 +1088,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:02:47 GMT + - Thu, 01 Jul 2021 03:29:28 GMT expires: - '-1' pragma: @@ -842,7 +1105,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 301fac7e-c3f1-47ed-aa18-85ac1c32143a + - ab40bbbb-955e-4e6a-8ba1-c873675e15bb status: code: 200 message: OK @@ -858,11 +1121,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -874,7 +1137,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:03:08 GMT + - Thu, 01 Jul 2021 03:29:48 GMT expires: - '-1' pragma: @@ -891,7 +1154,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2c43e5f7-6d9a-4781-91a5-579a266bf1b5 + - d8aed662-9243-4ec3-8429-b40a01bfeb50 status: code: 200 message: OK @@ -907,11 +1170,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -923,7 +1186,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:03:49 GMT + - Thu, 01 Jul 2021 03:30:28 GMT expires: - '-1' pragma: @@ -940,7 +1203,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a1e8f84-9096-49c7-9bb4-1d0bdba2b722 + - 4058f88a-475b-4888-b48d-704217be4f8a status: code: 200 message: OK @@ -956,11 +1219,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -972,7 +1235,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:05:09 GMT + - Thu, 01 Jul 2021 03:31:49 GMT expires: - '-1' pragma: @@ -989,7 +1252,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5a27999d-9499-4e7d-bbcc-341a52f8dd75 + - b2e17558-e2ac-4f24-b456-bbc2d5ece084 status: code: 200 message: OK @@ -1005,11 +1268,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1021,7 +1284,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:07:50 GMT + - Thu, 01 Jul 2021 03:34:30 GMT expires: - '-1' pragma: @@ -1038,7 +1301,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 34be41e4-581a-4c79-b624-4320d5aa3a6b + - a5b06110-b1d9-4cb6-a79f-d720578ee9b5 status: code: 200 message: OK @@ -1054,11 +1317,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1070,7 +1333,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:09:31 GMT + - Thu, 01 Jul 2021 03:36:11 GMT expires: - '-1' pragma: @@ -1087,7 +1350,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d3bcb2c8-ff08-4695-8e0b-d0f56668504a + - 0e20082a-6d5a-4b25-b5e5-f37dabae5a71 status: code: 200 message: OK @@ -1103,11 +1366,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1119,7 +1382,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:11:12 GMT + - Thu, 01 Jul 2021 03:37:52 GMT expires: - '-1' pragma: @@ -1136,7 +1399,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cb2701a9-f4ef-4570-8761-4d8f4e4c0100 + - efae2e23-f5ac-41b4-b74e-bb70beacf210 status: code: 200 message: OK @@ -1152,11 +1415,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1168,7 +1431,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:12:52 GMT + - Thu, 01 Jul 2021 03:39:33 GMT expires: - '-1' pragma: @@ -1185,7 +1448,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 25c36d1f-68da-496f-b8ac-d673e252dc4e + - e1732941-33f8-4c44-bd5c-aad8ff5af164 status: code: 200 message: OK @@ -1201,11 +1464,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1217,7 +1480,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:14:33 GMT + - Thu, 01 Jul 2021 03:41:13 GMT expires: - '-1' pragma: @@ -1234,7 +1497,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a81e15f6-6e07-4258-b9d1-70400e2f7523 + - 9e7b1218-a3f5-4cb8-b549-9e963ed84f32 status: code: 200 message: OK @@ -1250,11 +1513,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1266,7 +1529,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:16:14 GMT + - Thu, 01 Jul 2021 03:42:54 GMT expires: - '-1' pragma: @@ -1283,7 +1546,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f4dd6660-a609-4f9c-8eec-bbfd377788cb + - 8c9e2e49-7382-4d87-bee8-ea4263afc798 status: code: 200 message: OK @@ -1299,11 +1562,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1315,7 +1578,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:17:55 GMT + - Thu, 01 Jul 2021 03:44:35 GMT expires: - '-1' pragma: @@ -1332,7 +1595,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c454d0fb-674a-4d47-8732-6965745ee080 + - ac7aee1e-44a3-4eaa-bd91-43f98f17fd44 status: code: 200 message: OK @@ -1348,11 +1611,11 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/81aed340-bdeb-47e0-923b-6acf45e07df2?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bf0870cf-2266-4d61-8893-c2ae79818f58?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1364,7 +1627,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:19:35 GMT + - Thu, 01 Jul 2021 03:46:14 GMT expires: - '-1' pragma: @@ -1381,7 +1644,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 001b2372-4c0e-4c8f-9eb9-3dc80269174b + - 632d4e9d-5b21-49f1-a487-a74888facb0a status: code: 200 message: OK @@ -1397,30 +1660,31 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/ipConfigurations/Default?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"Default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/ipConfigurations/Default\",\r\n - \ \"etag\": \"W/\\\"1108f8a9-7294-42cc-9832-ed0a905c9a31\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"52f8b659-7a24-4684-a06e-a2fe7e7fc95c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs/ipConfigurations\",\r\n \"properties\": {\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": - \"Dynamic\",\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\"\r\n + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\"\r\n \ }\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '739' + - '984' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:19:36 GMT + - Thu, 01 Jul 2021 03:46:15 GMT etag: - - W/"1108f8a9-7294-42cc-9832-ed0a905c9a31" + - W/"52f8b659-7a24-4684-a06e-a2fe7e7fc95c" expires: - '-1' pragma: @@ -1437,7 +1701,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3cb1bda9-2596-4f11-8a6c-5e5fe4ffd16e + - 5ad0d83c-81ac-4719-bcf3-09076e780993 status: code: 200 message: OK @@ -1453,15 +1717,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -g -l -n --hosted-subnet + - -g -l -n --hosted-subnet --public-ip-address User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"1108f8a9-7294-42cc-9832-ed0a905c9a31\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"52f8b659-7a24-4684-a06e-a2fe7e7fc95c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": 65515,\r\n \"virtualRouterIps\": [\r\n @@ -1477,7 +1741,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:19:37 GMT + - Thu, 01 Jul 2021 03:46:17 GMT expires: - '-1' pragma: @@ -1494,7 +1758,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f25f1c40-14d1-4204-92e6-0479a9044c74 + - c9b6eddf-05fc-4f80-aa29-58ce92cfe1b3 status: code: 200 message: OK @@ -1512,13 +1776,13 @@ interactions: ParameterSetName: - -g --name --allow-b2b-traffic User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"1108f8a9-7294-42cc-9832-ed0a905c9a31\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"52f8b659-7a24-4684-a06e-a2fe7e7fc95c\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": 65515,\r\n \"virtualRouterIps\": [\r\n @@ -1534,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:19:39 GMT + - Thu, 01 Jul 2021 03:46:19 GMT expires: - '-1' pragma: @@ -1551,7 +1815,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 63d3fd0d-4638-4548-9ffa-bbe7fd0efae1 + - 22ba2d75-36a6-427f-8be2-15574436e4aa status: code: 200 message: OK @@ -1577,13 +1841,13 @@ interactions: ParameterSetName: - -g --name --allow-b2b-traffic User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"8fcee070-c148-4179-835c-3ae43c361cb4\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ed57cf48-356c-49c5-b0f1-2df6f93eb7e2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": 65515,\r\n \"virtualRouterIps\": [\r\n @@ -1593,7 +1857,7 @@ interactions: \"ExpressRoute\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/4bc0561d-650b-4cb1-99c7-66e29abf349e?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/092749d5-7e58-4955-acd6-d1a5d9246de5?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -1601,7 +1865,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:19:40 GMT + - Thu, 01 Jul 2021 03:46:20 GMT expires: - '-1' pragma: @@ -1618,9 +1882,58 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - afe19912-c218-4ec9-aebd-ebc7fbc1c0c6 + - c5ac187d-a8fc-4e06-bc28-70920bc019bf x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network routeserver update + Connection: + - keep-alive + ParameterSetName: + - -g --name --allow-b2b-traffic + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/092749d5-7e58-4955-acd6-d1a5d9246de5?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:46:31 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: + - 743e7b93-de9c-4653-a038-1ceca553d470 status: code: 200 message: OK @@ -1638,9 +1951,9 @@ interactions: ParameterSetName: - -g --name --allow-b2b-traffic User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/4bc0561d-650b-4cb1-99c7-66e29abf349e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/092749d5-7e58-4955-acd6-d1a5d9246de5?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1652,7 +1965,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:19:50 GMT + - Thu, 01 Jul 2021 03:46:41 GMT expires: - '-1' pragma: @@ -1669,7 +1982,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 338b7f06-e7b0-4f30-9ee7-7936c899ddfe + - a05c18af-93ff-41fb-8dc2-1d02707e61bc status: code: 200 message: OK @@ -1687,9 +2000,9 @@ interactions: ParameterSetName: - -g --name --allow-b2b-traffic User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/4bc0561d-650b-4cb1-99c7-66e29abf349e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/092749d5-7e58-4955-acd6-d1a5d9246de5?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1701,7 +2014,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:10 GMT + - Thu, 01 Jul 2021 03:47:01 GMT expires: - '-1' pragma: @@ -1718,7 +2031,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5c245ddb-aa18-49f1-b1dd-167f80497eab + - f5aeb82b-8507-478b-9ec8-76eabb5fd20e status: code: 200 message: OK @@ -1736,9 +2049,58 @@ interactions: ParameterSetName: - -g --name --allow-b2b-traffic User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/4bc0561d-650b-4cb1-99c7-66e29abf349e?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/092749d5-7e58-4955-acd6-d1a5d9246de5?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:47:42 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: + - 5e98b9a5-cfd5-4aad-a6a1-9b14ce58e863 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network routeserver update + Connection: + - keep-alive + ParameterSetName: + - -g --name --allow-b2b-traffic + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/092749d5-7e58-4955-acd6-d1a5d9246de5?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1750,7 +2112,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:50 GMT + - Thu, 01 Jul 2021 03:49:03 GMT expires: - '-1' pragma: @@ -1767,7 +2129,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - baa53a26-5e98-48f9-81ce-cd6278954f56 + - 2051b386-0a6a-4ab2-8866-94f331cfc933 status: code: 200 message: OK @@ -1785,13 +2147,13 @@ interactions: ParameterSetName: - -g --name --allow-b2b-traffic User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"dbbed23c-3886-4f9a-99f4-a92f8595158b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"1cae4918-c217-4bf7-8ab1-d3bc1b79c7c3\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": 65515,\r\n \"virtualRouterIps\": [\r\n @@ -1807,7 +2169,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:51 GMT + - Thu, 01 Jul 2021 03:49:03 GMT expires: - '-1' pragma: @@ -1824,7 +2186,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 04ef4849-ae77-45f2-ad52-b3aecebb8284 + - 4f61af3a-8ca2-4ada-a248-d9953f9d1d4d status: code: 200 message: OK @@ -1842,14 +2204,14 @@ interactions: ParameterSetName: - -g User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs?api-version=2021-02-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"dbbed23c-3886-4f9a-99f4-a92f8595158b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"1cae4918-c217-4bf7-8ab1-d3bc1b79c7c3\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": @@ -1866,7 +2228,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:52 GMT + - Thu, 01 Jul 2021 03:49:04 GMT expires: - '-1' pragma: @@ -1883,7 +2245,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6fe537a7-4010-48da-ad8c-b003de6c7ed7 + - d74c4aee-5496-49c7-bbfe-8e3b88b2ee06 status: code: 200 message: OK @@ -1901,13 +2263,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vrouter2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2\",\r\n - \ \"etag\": \"W/\\\"dbbed23c-3886-4f9a-99f4-a92f8595158b\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"1cae4918-c217-4bf7-8ab1-d3bc1b79c7c3\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs\",\r\n \"location\": \"centraluseuap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"virtualHubRouteTableV2s\": [],\r\n \"virtualRouterAsn\": 65515,\r\n \"virtualRouterIps\": [\r\n @@ -1923,7 +2285,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:53 GMT + - Thu, 01 Jul 2021 03:49:06 GMT expires: - '-1' pragma: @@ -1940,7 +2302,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2c44166d-f37d-45aa-9119-7207ddc42af6 + - 2db419b1-1f63-4034-8509-df590c9bf447 status: code: 200 message: OK @@ -1962,19 +2324,19 @@ interactions: ParameterSetName: - -g --routeserver -n --peer-asn --peer-ip User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"peer1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1\",\r\n - \ \"etag\": \"W/\\\"e6463f65-44b5-49b7-8f80-fb0f14facdcc\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"31e96d2f-c4ac-4a4e-a694-51f6943c0e71\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs/bgpConnections\",\r\n \"properties\": {\r\n \ \"provisioningState\": \"Updating\",\r\n \"peerIp\": \"10.0.0.120\",\r\n \ \"peerAsn\": 11000\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/62a640ea-ad89-4804-b4fe-96969bb4bbe0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bbeb5fac-2713-4219-9dab-d36ba1220379?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -1982,7 +2344,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:20:54 GMT + - Thu, 01 Jul 2021 03:49:07 GMT expires: - '-1' pragma: @@ -1995,9 +2357,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d564a7e-98c0-4f60-95b0-7aaadd338489 + - 34d5f2a4-7b0e-43f4-a5bf-2aab6d3b99f1 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -2015,9 +2377,9 @@ interactions: ParameterSetName: - -g --routeserver -n --peer-asn --peer-ip User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/62a640ea-ad89-4804-b4fe-96969bb4bbe0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bbeb5fac-2713-4219-9dab-d36ba1220379?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2029,7 +2391,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:21:04 GMT + - Thu, 01 Jul 2021 03:49:17 GMT expires: - '-1' pragma: @@ -2046,7 +2408,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f48a36a4-7704-4181-9b02-58097cd3fdc9 + - b71274ba-634e-410a-843b-c63a43f8a334 status: code: 200 message: OK @@ -2064,9 +2426,9 @@ interactions: ParameterSetName: - -g --routeserver -n --peer-asn --peer-ip User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/62a640ea-ad89-4804-b4fe-96969bb4bbe0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bbeb5fac-2713-4219-9dab-d36ba1220379?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2078,7 +2440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:21:14 GMT + - Thu, 01 Jul 2021 03:49:27 GMT expires: - '-1' pragma: @@ -2095,7 +2457,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 93ce1ad5-185c-4de5-8984-ab1661f4f780 + - 8464528f-a89e-4c1f-a0c5-4d2ad3be6b7c status: code: 200 message: OK @@ -2113,9 +2475,9 @@ interactions: ParameterSetName: - -g --routeserver -n --peer-asn --peer-ip User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/62a640ea-ad89-4804-b4fe-96969bb4bbe0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bbeb5fac-2713-4219-9dab-d36ba1220379?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2127,7 +2489,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:21:35 GMT + - Thu, 01 Jul 2021 03:49:49 GMT expires: - '-1' pragma: @@ -2144,7 +2506,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3807cba7-4b0e-4497-bd44-e6568b88ac88 + - 8a680a50-00dc-4ab7-827a-1db0abceb66e status: code: 200 message: OK @@ -2162,9 +2524,9 @@ interactions: ParameterSetName: - -g --routeserver -n --peer-asn --peer-ip User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/62a640ea-ad89-4804-b4fe-96969bb4bbe0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/bbeb5fac-2713-4219-9dab-d36ba1220379?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2176,7 +2538,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:18 GMT + - Thu, 01 Jul 2021 03:50:29 GMT expires: - '-1' pragma: @@ -2193,7 +2555,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 91423133-3c9b-4070-bfb8-06dbbba7bcb2 + - e322573d-00ed-4546-aecf-69263dfcbc84 status: code: 200 message: OK @@ -2211,13 +2573,13 @@ interactions: ParameterSetName: - -g --routeserver -n --peer-asn --peer-ip User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"peer1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1\",\r\n - \ \"etag\": \"W/\\\"fb7fe762-16a7-4e2f-bd5c-5bff7ccc3ef5\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"03368935-a8de-4c13-806c-496568d4a05f\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs/bgpConnections\",\r\n \"properties\": {\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"peerIp\": \"10.0.0.120\",\r\n \ \"peerAsn\": 11000\r\n }\r\n}" @@ -2229,9 +2591,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:18 GMT + - Thu, 01 Jul 2021 03:50:29 GMT etag: - - W/"fb7fe762-16a7-4e2f-bd5c-5bff7ccc3ef5" + - W/"03368935-a8de-4c13-806c-496568d4a05f" expires: - '-1' pragma: @@ -2248,7 +2610,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f164c208-e4b5-4aba-859e-e11322002f1f + - 4bd889dc-7ce2-491e-bfb0-ca657313fbf4 status: code: 200 message: OK @@ -2266,14 +2628,14 @@ interactions: ParameterSetName: - -g --routeserver User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections?api-version=2021-02-01 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"peer1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1\",\r\n - \ \"etag\": \"W/\\\"fb7fe762-16a7-4e2f-bd5c-5bff7ccc3ef5\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"03368935-a8de-4c13-806c-496568d4a05f\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs/bgpConnections\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"peerIp\": \"10.0.0.120\",\r\n \"peerAsn\": 11000\r\n }\r\n }\r\n ]\r\n}" @@ -2285,7 +2647,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:20 GMT + - Thu, 01 Jul 2021 03:50:31 GMT expires: - '-1' pragma: @@ -2302,7 +2664,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 93820ef9-6795-4525-955f-c4b2fae8b2ae + - 73515f4f-1421-4d80-974a-84c4f22191cd status: code: 200 message: OK @@ -2320,13 +2682,13 @@ interactions: ParameterSetName: - -g --routeserver -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"peer1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1\",\r\n - \ \"etag\": \"W/\\\"fb7fe762-16a7-4e2f-bd5c-5bff7ccc3ef5\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"03368935-a8de-4c13-806c-496568d4a05f\\\"\",\r\n \"type\": \"Microsoft.Network/virtualHubs/bgpConnections\",\r\n \"properties\": {\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"peerIp\": \"10.0.0.120\",\r\n \ \"peerAsn\": 11000\r\n }\r\n}" @@ -2338,9 +2700,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:21 GMT + - Thu, 01 Jul 2021 03:50:32 GMT etag: - - W/"fb7fe762-16a7-4e2f-bd5c-5bff7ccc3ef5" + - W/"03368935-a8de-4c13-806c-496568d4a05f" expires: - '-1' pragma: @@ -2357,7 +2719,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8c80fe8b-ab36-499e-a133-2d506f837092 + - 2bdc77fc-17ae-4782-8bf1-98b386e5af6d status: code: 200 message: OK @@ -2377,7 +2739,7 @@ interactions: ParameterSetName: - -g --routeserver -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1/advertisedRoutes?api-version=2021-02-01 response: @@ -2391,11 +2753,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:22 GMT + - Thu, 01 Jul 2021 03:50:32 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/ce1666af-58ce-4248-9ad9-f0822eb05784?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/02b25b08-c20e-4c7a-b6f1-9f1a1d61b156?api-version=2021-02-01 pragma: - no-cache server: @@ -2406,7 +2768,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5172513b-57bb-4e7c-bf32-742c77ee30b6 + - 94b7dc57-938b-42ab-a296-8694a68b4695 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2426,9 +2788,9 @@ interactions: ParameterSetName: - -g --routeserver -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/ce1666af-58ce-4248-9ad9-f0822eb05784?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/02b25b08-c20e-4c7a-b6f1-9f1a1d61b156?api-version=2021-02-01 response: body: string: "{\r\n \"RouteServiceRole_IN_0\": [],\r\n \"RouteServiceRole_IN_1\": @@ -2441,11 +2803,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:32 GMT + - Thu, 01 Jul 2021 03:50:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/ce1666af-58ce-4248-9ad9-f0822eb05784?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/02b25b08-c20e-4c7a-b6f1-9f1a1d61b156?api-version=2021-02-01 pragma: - no-cache server: @@ -2460,7 +2822,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5172513b-57bb-4e7c-bf32-742c77ee30b6 + - 94b7dc57-938b-42ab-a296-8694a68b4695 status: code: 200 message: OK @@ -2480,7 +2842,7 @@ interactions: ParameterSetName: - -g --routeserver -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1/learnedRoutes?api-version=2021-02-01 response: @@ -2494,11 +2856,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:34 GMT + - Thu, 01 Jul 2021 03:50:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/e3bc25a0-28aa-4ab6-b397-b58ba0be52d6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/51453fc6-1f55-4b63-861d-a774a069479c?api-version=2021-02-01 pragma: - no-cache server: @@ -2509,9 +2871,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f517f732-5f68-4cc6-a2c7-1403ddf5b1ad + - 1e7854d4-7499-4893-a044-ffd1e01733f6 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -2529,9 +2891,9 @@ interactions: ParameterSetName: - -g --routeserver -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/e3bc25a0-28aa-4ab6-b397-b58ba0be52d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/51453fc6-1f55-4b63-861d-a774a069479c?api-version=2021-02-01 response: body: string: "{\r\n \"RouteServiceRole_IN_0\": [],\r\n \"RouteServiceRole_IN_1\": @@ -2544,11 +2906,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:44 GMT + - Thu, 01 Jul 2021 03:50:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/e3bc25a0-28aa-4ab6-b397-b58ba0be52d6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/51453fc6-1f55-4b63-861d-a774a069479c?api-version=2021-02-01 pragma: - no-cache server: @@ -2563,7 +2925,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f517f732-5f68-4cc6-a2c7-1403ddf5b1ad + - 1e7854d4-7499-4893-a044-ffd1e01733f6 status: code: 200 message: OK @@ -2583,7 +2945,7 @@ interactions: ParameterSetName: - -g --routeserver -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/bgpConnections/peer1?api-version=2021-02-01 response: @@ -2591,17 +2953,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c89bab13-08d6-4031-8489-040308a3fac9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/84dd5021-ddd0-4fe0-ba4d-2f2c9c4915cc?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 14 May 2021 07:22:45 GMT + - Thu, 01 Jul 2021 03:50:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/c89bab13-08d6-4031-8489-040308a3fac9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/84dd5021-ddd0-4fe0-ba4d-2f2c9c4915cc?api-version=2021-02-01 pragma: - no-cache server: @@ -2612,9 +2974,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ebaf72d2-b4ea-4a60-9909-a878952f3a85 + - c8296ae3-1cf0-4832-882a-d494ad1e58e6 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -2632,9 +2994,9 @@ interactions: ParameterSetName: - -g --routeserver -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c89bab13-08d6-4031-8489-040308a3fac9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/84dd5021-ddd0-4fe0-ba4d-2f2c9c4915cc?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2646,7 +3008,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:22:56 GMT + - Thu, 01 Jul 2021 03:51:07 GMT expires: - '-1' pragma: @@ -2663,7 +3025,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 51eab228-5b43-4128-8a3b-ac64466ff5e8 + - 40e1f291-820d-49d1-b7a5-a31db8de176c status: code: 200 message: OK @@ -2681,9 +3043,9 @@ interactions: ParameterSetName: - -g --routeserver -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c89bab13-08d6-4031-8489-040308a3fac9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/84dd5021-ddd0-4fe0-ba4d-2f2c9c4915cc?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2695,7 +3057,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:23:06 GMT + - Thu, 01 Jul 2021 03:51:17 GMT expires: - '-1' pragma: @@ -2712,7 +3074,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 690626bc-826f-42a2-9469-9f58be4afe9a + - b4c9edf0-bb58-4eb6-8c60-c7ac3dc2c023 status: code: 200 message: OK @@ -2730,9 +3092,9 @@ interactions: ParameterSetName: - -g --routeserver -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c89bab13-08d6-4031-8489-040308a3fac9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/84dd5021-ddd0-4fe0-ba4d-2f2c9c4915cc?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2744,7 +3106,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:23:26 GMT + - Thu, 01 Jul 2021 03:51:37 GMT expires: - '-1' pragma: @@ -2761,7 +3123,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3e8efc99-a57f-41fd-8661-134d2516aca6 + - 9468c412-a59e-42fb-9b51-4d8b92aed1c3 status: code: 200 message: OK @@ -2779,9 +3141,9 @@ interactions: ParameterSetName: - -g --routeserver -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/c89bab13-08d6-4031-8489-040308a3fac9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/84dd5021-ddd0-4fe0-ba4d-2f2c9c4915cc?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2793,7 +3155,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:24:06 GMT + - Thu, 01 Jul 2021 03:52:18 GMT expires: - '-1' pragma: @@ -2810,7 +3172,63 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f7c72c93-dca5-49a8-8f71-68ca2b4d409c + - 261b4cb7-1af5-492d-a029-61a97d7739ea + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network routeserver delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -y + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/ipConfigurations?api-version=2021-02-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"Default\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/ipConfigurations/Default\",\r\n + \ \"etag\": \"W/\\\"0e73d090-2634-4da4-99c8-39b5a4f37686\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualHubs/ipConfigurations\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/publicIPAddresses/vhrip1\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/RouteServerSubnet\"\r\n + \ }\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1073' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:52:19 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: + - ba88f9d0-e161-40c2-8a0a-e913eac7de11 status: code: 200 message: OK @@ -2830,7 +3248,7 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2/ipConfigurations/Default?api-version=2021-02-01 response: @@ -2838,17 +3256,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/9fde87fa-425e-4e0f-b13f-544d7c60a078?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 14 May 2021 07:24:08 GMT + - Thu, 01 Jul 2021 03:52:20 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/9fde87fa-425e-4e0f-b13f-544d7c60a078?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 pragma: - no-cache server: @@ -2859,9 +3277,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6019893b-5647-48bf-a534-eb0aeabd6e0b + - 54862677-5d10-4118-bc1e-c796da795f1f x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -2879,9 +3297,58 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 01 Jul 2021 03:52:31 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: + - bb70bc78-cfa3-49e4-bc5f-1ece8273139a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network routeserver delete + Connection: + - keep-alive + ParameterSetName: + - -g -n -y + User-Agent: + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/9fde87fa-425e-4e0f-b13f-544d7c60a078?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2893,7 +3360,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:24:18 GMT + - Thu, 01 Jul 2021 03:52:41 GMT expires: - '-1' pragma: @@ -2910,7 +3377,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d579fcb0-8781-4d3f-b5d3-b8afe773f53b + - 48db056f-13ce-4b38-b94d-5a46add8ae08 status: code: 200 message: OK @@ -2928,9 +3395,9 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/9fde87fa-425e-4e0f-b13f-544d7c60a078?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2942,7 +3409,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:24:29 GMT + - Thu, 01 Jul 2021 03:53:01 GMT expires: - '-1' pragma: @@ -2959,7 +3426,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 233836d8-0447-44bd-85e0-415e95181015 + - 26be7b11-4b01-4d9c-830f-d9221028dd55 status: code: 200 message: OK @@ -2977,9 +3444,9 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/9fde87fa-425e-4e0f-b13f-544d7c60a078?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2991,7 +3458,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:24:50 GMT + - Thu, 01 Jul 2021 03:53:41 GMT expires: - '-1' pragma: @@ -3008,7 +3475,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0d15fdbf-8def-4726-8102-a46e36268f7d + - 77817353-8b5f-481b-943d-0867b8316c00 status: code: 200 message: OK @@ -3026,9 +3493,9 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/9fde87fa-425e-4e0f-b13f-544d7c60a078?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -3040,7 +3507,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:25:30 GMT + - Thu, 01 Jul 2021 03:55:03 GMT expires: - '-1' pragma: @@ -3057,7 +3524,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a34a5cc3-8cb4-4847-a00c-f2356764fb42 + - 23b007c8-c1a0-4244-902c-81eb8996d8c1 status: code: 200 message: OK @@ -3075,9 +3542,9 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/9fde87fa-425e-4e0f-b13f-544d7c60a078?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/51f3d70c-0444-40b9-8093-64ab84d8952b?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3089,7 +3556,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:26:50 GMT + - Thu, 01 Jul 2021 03:57:45 GMT expires: - '-1' pragma: @@ -3106,7 +3573,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6f40576f-4f54-4d99-a38b-400613fc7cd1 + - 3a7a999a-9408-4462-b865-e29bc73c1324 status: code: 200 message: OK @@ -3126,7 +3593,7 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_virtual_hub_router000001/providers/Microsoft.Network/virtualHubs/vrouter2?api-version=2021-02-01 response: @@ -3136,17 +3603,17 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/43e05d9b-2aac-4bb7-956c-3a648f8f3d94?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2ee5d8aa-431e-4ec0-bbed-be22aaa86204?api-version=2021-02-01 cache-control: - no-cache content-length: - '0' date: - - Fri, 14 May 2021 07:26:53 GMT + - Thu, 01 Jul 2021 03:57:47 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/43e05d9b-2aac-4bb7-956c-3a648f8f3d94?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/2ee5d8aa-431e-4ec0-bbed-be22aaa86204?api-version=2021-02-01 pragma: - no-cache server: @@ -3157,9 +3624,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8ce7d4d2-caa0-4286-99a1-7fa01b3a079d + - 1ec05607-a897-466b-9459-ab8e926b5f0f x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14999' status: code: 202 message: Accepted @@ -3177,9 +3644,9 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/43e05d9b-2aac-4bb7-956c-3a648f8f3d94?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/2ee5d8aa-431e-4ec0-bbed-be22aaa86204?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3191,7 +3658,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:27:03 GMT + - Thu, 01 Jul 2021 03:57:58 GMT expires: - '-1' pragma: @@ -3208,7 +3675,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e9ab3810-b030-4d0e-9519-d09d7516e29a + - 3bee6800-daf8-4c20-82fd-65f6f1e4bb49 status: code: 200 message: OK 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 410baff4e26..3f4c2a231b1 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 @@ -3847,6 +3847,7 @@ def test_network_virtual_hub_router_scenario(self, resource_group, resource_grou 'rg': resource_group, 'location': resource_group_location, 'vnet': 'vnet2', + 'vhr_ip1': 'vhrip1', 'subnet1': 'RouteServerSubnet', 'vrouter': 'vrouter2', 'peer': 'peer1' @@ -3861,13 +3862,14 @@ def test_network_virtual_hub_router_scenario(self, resource_group, resource_grou # which will block subnet is assigned to the virtual router self.cmd('network vnet subnet update -g {rg} --vnet-name {vnet} -n {subnet1} --remove networkSecurityGroup') vnet = self.cmd('network vnet show -g {rg} -n {vnet}').get_output_in_json() + self.cmd('network public-ip create -g {rg} -n {vhr_ip1}') self.kwargs.update({ 'subnet1_id': vnet['subnets'][0]['id'] }) self.cmd('network routeserver create -g {rg} -l {location} -n {vrouter} ' - '--hosted-subnet {subnet1_id}', + '--hosted-subnet {subnet1_id} --public-ip-address {vhr_ip1}', checks=[ self.check('type', 'Microsoft.Network/virtualHubs'), self.check('ipConfigurations', None),