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 dc9e6b30409..e1f752b9b58 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_help.py +++ b/src/azure-cli/azure/cli/command_modules/network/_help.py @@ -5566,6 +5566,14 @@ text: az network vnet-gateway list-learned-routes -g MyResourceGroup -n MyVnetGateway """ +helps['network vnet-gateway show-supported-devices'] = """ +type: command +short-summary: Get a xml format representation for supported vpn devices. +examples: + - name: Get a xml format representation for supported vpn devices. + text: az network vnet-gateway show-supported-devices -g MyResourceGroup -n MyVnetGateway +""" + helps['network vnet-gateway reset'] = """ type: command short-summary: Reset a virtual network gateway. @@ -5819,6 +5827,14 @@ text: az network vpn-connection list -g MyResourceGroup """ +helps['network vpn-connection list-ike-sas'] = """ +type: command +short-summary: List IKE Security Associations for a VPN connection. +examples: + - name: List IKE Security Associations for a VPN connection. + text: az network vpn-connection list-ike-sas -g MyResourceGroup -n MyConnection +""" + helps['network vpn-connection shared-key'] = """ type: group short-summary: Manage VPN shared keys. @@ -5880,6 +5896,35 @@ crafted: true """ +helps['network vpn-connection show-device-config-script'] = """ +type: command +short-summary: Get a XML format representation for VPN connection device configuration script. +examples: + - name: Get a XML format representation for VPN connection device configuration script. + text: az network vpn-connection show-device-config-script -g MyResourceGroup -n MyConnection --vendor "Cisco" --device-family "Cisco-ISR(IOS)" --firmware-version "Cisco-ISR-15.x--IKEv2+BGP" +""" + +helps['network vpn-connection packet-capture'] = """ +type: group +short-summary: Manage packet capture on a VPN connection. +""" + +helps['network vpn-connection packet-capture start'] = """ +type: command +short-summary: Start packet capture on a VPN connection. +examples: + - name: Start packet capture on a VPN connection. + text: az network vpn-connection packet-capture start -g MyResourceGroup -n MyConnection +""" + +helps['network vpn-connection packet-capture stop'] = """ +type: command +short-summary: Stop packet capture on a VPN connection. +examples: + - name: Stop packet capture on a VPN connection. + text: az network vpn-connection packet-capture stop -g MyResourceGroup -n MyConnection --sas-url https://myStorageAct.blob.azure.com/artifacts?st=2019-04-10T22%3A12Z&se=2019-04-11T09%3A12Z&sp=rl&sv=2018-03-28&sr=c&sig=0000000000 +""" + helps['network vrouter'] = """ type: group short-summary: Manage the virtual router. This feature supports both VirtualHub and VirtualRouter. Considering VirtualRouter is deprecated, we recommend to create VirtualRouter with --hosted-subnet instead 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 5db8fe572cb..495faed2123 100644 --- a/src/azure-cli/azure/cli/command_modules/network/_params.py +++ b/src/azure-cli/azure/cli/command_modules/network/_params.py @@ -1980,6 +1980,18 @@ def load_arguments(self, _): c.argument('key_length', type=int, help='The virtual network connection reset shared key length, should between 1 and 128.') c.argument('value', help='The virtual network connection shared key value.') + with self.argument_context('network vpn-connection show-device-config-script') as c: + c.argument('vendor', help='The vendor for the VPN device.') + c.argument('device_family', help='The device family for the vpn device.') + c.argument('firmware_version', help='The firmware version for the vpn device.') + + with self.argument_context('network vpn-connection packet-capture start') as c: + c.argument('filter_data', options_list=['--filter'], help='Data filter.') + + with self.argument_context('network vpn-connection packet-capture stop') as c: + c.argument('sas_url', options_list=['--sas-url'], + help='The SAS url to be used for packet capture on VPN connection.') + with self.argument_context('network vrouter') as c: c.argument('virtual_router_name', options_list=['--name', '-n'], help='The name of the Virtual Router.') c.argument('hosted_gateway', diff --git a/src/azure-cli/azure/cli/command_modules/network/commands.py b/src/azure-cli/azure/cli/command_modules/network/commands.py index fc07b67cf95..e9b85a87e9a 100644 --- a/src/azure-cli/azure/cli/command_modules/network/commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/commands.py @@ -1333,6 +1333,7 @@ def _make_singular(value): g.command('list-bgp-peer-status', 'begin_get_bgp_peer_status', table_transformer=transform_vnet_gateway_bgp_peer_table) g.command('list-advertised-routes', 'begin_get_advertised_routes', table_transformer=transform_vnet_gateway_routes_table) g.command('list-learned-routes', 'begin_get_learned_routes', table_transformer=transform_vnet_gateway_routes_table) + g.command('show-supported-devices', 'supported_vpn_devices', is_preview=True, min_api='2017-09-01') with self.command_group('network vnet-gateway vpn-client', network_vgw_sdk, client_factory=cf_virtual_network_gateways) as g: g.custom_command('generate', 'generate_vpn_client') @@ -1364,8 +1365,10 @@ def _make_singular(value): g.show_command('show', 'get', transform=transform_vpn_connection) g.command('list', 'list', transform=transform_vpn_connection_list) g.generic_update_command('update', setter_name='begin_create_or_update', custom_func_name='update_vpn_connection') + g.command('list-ike-sas', 'begin_get_ike_sas', is_preview=True, min_api='2020-08-01') + g.custom_command('show-device-config-script', 'show_vpn_connection_device_config_script', client_factory=cf_virtual_network_gateways, is_preview=True, min_api='2017-09-01') - with self.command_group('network vpn-connection shared-key', network_vpn_sdk) as g: + with self.command_group('network vpn-connection shared-key', network_vpn_sdk, client_factory=cf_virtual_network_gateway_connections) as g: g.show_command('show', 'get_shared_key') g.custom_command('reset', 'reset_shared_key') g.generic_update_command('update', @@ -1373,10 +1376,15 @@ def _make_singular(value): custom_func_name='update_shared_key', setter_name='begin_set_shared_key') - with self.command_group('network vpn-connection ipsec-policy', network_vpn_sdk, min_api='2017-03-01') as g: + with self.command_group('network vpn-connection ipsec-policy', network_vpn_sdk, client_factory=cf_virtual_network_gateway_connections, min_api='2017-03-01') as g: g.custom_command('add', 'add_vpn_conn_ipsec_policy', supports_no_wait=True, doc_string_source='IpsecPolicy') g.custom_command('list', 'list_vpn_conn_ipsec_policies') g.custom_command('clear', 'clear_vpn_conn_ipsec_policies', supports_no_wait=True) + + with self.command_group('network vpn-connection packet-capture', network_vpn_sdk, client_factory=cf_virtual_network_gateway_connections, is_preview=True, min_api='2019-07-01') as g: + g.custom_command('start', 'start_vpn_conn_package_capture', supports_no_wait=True) + g.custom_command('stop', 'stop_vpn_conn_package_capture', supports_no_wait=True) + # endregion # region VirtualRouter 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 57402343463..e093dc2f333 100644 --- a/src/azure-cli/azure/cli/command_modules/network/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/custom.py @@ -6567,6 +6567,35 @@ def update_vpn_connection(cmd, instance, routing_weight=None, shared_key=None, t gateway2_id['resource_group'], gateway2_id['name']) return instance + + +def start_vpn_conn_package_capture(cmd, client, resource_group_name, virtual_network_gateway_connection_name, + filter_data=None, no_wait=False): + VpnPacketCaptureStartParameters = cmd.get_models('VpnPacketCaptureStartParameters') + parameters = VpnPacketCaptureStartParameters(filter_data=filter_data) + return sdk_no_wait(no_wait, client.begin_start_packet_capture, resource_group_name, + virtual_network_gateway_connection_name, parameters=parameters) + + +def stop_vpn_conn_package_capture(cmd, client, resource_group_name, virtual_network_gateway_connection_name, + sas_url, no_wait=False): + VpnPacketCaptureStopParameters = cmd.get_models('VpnPacketCaptureStopParameters') + parameters = VpnPacketCaptureStopParameters(sas_url=sas_url) + return sdk_no_wait(no_wait, client.begin_stop_packet_capture, resource_group_name, + virtual_network_gateway_connection_name, parameters=parameters) + + +def show_vpn_connection_device_config_script(cmd, client, resource_group_name, virtual_network_gateway_connection_name, + vendor, device_family, firmware_version): + VpnDeviceScriptParameters = cmd.get_models('VpnDeviceScriptParameters') + parameters = VpnDeviceScriptParameters( + vendor=vendor, + device_family=device_family, + firmware_version=firmware_version + ) + return client.vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, + parameters=parameters) + # endregion @@ -6620,7 +6649,7 @@ def list_vnet_gateway_ipsec_policies(cmd, resource_group_name, gateway_name): raise CLIError('VPN client configuration must first be set through `az network vnet-gateway create/update`.') -def add_vpn_conn_ipsec_policy(cmd, resource_group_name, connection_name, +def add_vpn_conn_ipsec_policy(cmd, client, resource_group_name, connection_name, sa_life_time_seconds, sa_data_size_kilobytes, ipsec_encryption, ipsec_integrity, ike_encryption, ike_integrity, dh_group, pfs_group, no_wait=False): @@ -6634,31 +6663,28 @@ def add_vpn_conn_ipsec_policy(cmd, resource_group_name, connection_name, dh_group=dh_group, pfs_group=pfs_group) - ncf = network_client_factory(cmd.cli_ctx).virtual_network_gateway_connections - conn = ncf.get(resource_group_name, connection_name) + conn = client.get(resource_group_name, connection_name) if conn.ipsec_policies: conn.ipsec_policies.append(new_policy) else: conn.ipsec_policies = [new_policy] - return sdk_no_wait(no_wait, ncf.begin_create_or_update, resource_group_name, connection_name, conn) + return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, connection_name, conn) -def clear_vpn_conn_ipsec_policies(cmd, resource_group_name, connection_name, no_wait=False): - ncf = network_client_factory(cmd.cli_ctx).virtual_network_gateway_connections - conn = ncf.get(resource_group_name, connection_name) +def clear_vpn_conn_ipsec_policies(cmd, client, resource_group_name, connection_name, no_wait=False): + conn = client.get(resource_group_name, connection_name) conn.ipsec_policies = None conn.use_policy_based_traffic_selectors = False if no_wait: - return sdk_no_wait(no_wait, ncf.begin_create_or_update, resource_group_name, connection_name, conn) + return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, connection_name, conn) from azure.cli.core.commands import LongRunningOperation - poller = sdk_no_wait(no_wait, ncf.begin_create_or_update, resource_group_name, connection_name, conn) + poller = sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name, connection_name, conn) return LongRunningOperation(cmd.cli_ctx)(poller).ipsec_policies -def list_vpn_conn_ipsec_policies(cmd, resource_group_name, connection_name): - ncf = network_client_factory(cmd.cli_ctx).virtual_network_gateway_connections - return ncf.get(resource_group_name, connection_name).ipsec_policies +def list_vpn_conn_ipsec_policies(cmd, client, resource_group_name, connection_name): + return client.get(resource_group_name, connection_name).ipsec_policies def assign_vnet_gateway_aad(cmd, resource_group_name, gateway_name, @@ -7188,10 +7214,9 @@ def list_security_partner_provider(cmd, resource_group_name=None): # region network gateway connection -def reset_shared_key(cmd, virtual_network_gateway_connection_name, key_length, resource_group_name=None): +def reset_shared_key(cmd, client, virtual_network_gateway_connection_name, key_length, resource_group_name=None): ConnectionResetSharedKey = cmd.get_models('ConnectionResetSharedKey') shared_key = ConnectionResetSharedKey(key_length=key_length) - client = network_client_factory(cmd.cli_ctx).virtual_network_gateway_connections return client.begin_reset_shared_key(resource_group_name=resource_group_name, virtual_network_gateway_connection_name=virtual_network_gateway_connection_name, # pylint: disable=line-too-long parameters=shared_key) diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet_gateway_ipsec.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet_gateway_ipsec.yaml index 9242b2365fb..a6d82830b24 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet_gateway_ipsec.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_vnet_gateway_ipsec.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnet_gateway_ipsec000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001","name":"cli_test_vnet_gateway_ipsec000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-04T08:07:58Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001","name":"cli_test_vnet_gateway_ipsec000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-12T08:52:30Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:00 GMT + - Mon, 12 Apr 2021 08:52:38 GMT expires: - '-1' pragma: @@ -64,21 +64,21 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"ddbfd4f7-f0f6-4a1a-aa2b-3dcaca601ff7\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"82324d42-c3a3-478f-bab5-90977800020e\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"4a118cbe-f474-4c30-9488-ae06946dcb8f\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"e99e18c1-d688-4712-938b-67faba6e787b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"ddbfd4f7-f0f6-4a1a-aa2b-3dcaca601ff7\\\"\",\r\n + \ \"etag\": \"W/\\\"82324d42-c3a3-478f-bab5-90977800020e\\\"\",\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\": @@ -89,7 +89,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/52bc95ab-3afc-45f7-b23e-283e9378e923?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4875d1db-aac5-41d9-8fc3-af57aa4dc3e7?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -97,7 +97,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:05 GMT + - Mon, 12 Apr 2021 08:52:44 GMT expires: - '-1' pragma: @@ -110,9 +110,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6babf0b3-2113-421c-853c-b9953d3ce8ed + - 61e16fd9-32c9-4a4e-9d55-a0c750da4903 x-ms-ratelimit-remaining-subscription-writes: - - '1183' + - '1199' status: code: 201 message: Created @@ -130,9 +130,9 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/52bc95ab-3afc-45f7-b23e-283e9378e923?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4875d1db-aac5-41d9-8fc3-af57aa4dc3e7?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -144,7 +144,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:09 GMT + - Mon, 12 Apr 2021 08:52:48 GMT expires: - '-1' pragma: @@ -161,7 +161,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4330e61a-aa42-447a-b7da-e751877e68f6 + - aeeba739-e49b-427e-b1ab-fe8ec12f90a6 status: code: 200 message: OK @@ -179,21 +179,21 @@ interactions: ParameterSetName: - -g -n --subnet-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworks/vnet1\",\r\n - \ \"etag\": \"W/\\\"050ee222-06a1-4f17-9af8-2b3b9c8d9574\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"40de08c9-34ac-4b35-a3c2-f48b8baef0c7\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"4a118cbe-f474-4c30-9488-ae06946dcb8f\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"e99e18c1-d688-4712-938b-67faba6e787b\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"GatewaySubnet\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet\",\r\n - \ \"etag\": \"W/\\\"050ee222-06a1-4f17-9af8-2b3b9c8d9574\\\"\",\r\n + \ \"etag\": \"W/\\\"40de08c9-34ac-4b35-a3c2-f48b8baef0c7\\\"\",\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\": @@ -208,9 +208,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:10 GMT + - Mon, 12 Apr 2021 08:52:48 GMT etag: - - W/"050ee222-06a1-4f17-9af8-2b3b9c8d9574" + - W/"40de08c9-34ac-4b35-a3c2-f48b8baef0c7" expires: - '-1' pragma: @@ -227,7 +227,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5cf0a477-71c8-4aef-bab2-050e8ff78277 + - e62e8d2e-d681-40d4-8c13-8f2dd6d59572 status: code: 200 message: OK @@ -245,15 +245,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnet_gateway_ipsec000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001","name":"cli_test_vnet_gateway_ipsec000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-04T08:07:58Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001","name":"cli_test_vnet_gateway_ipsec000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-12T08:52:30Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -262,7 +262,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:10 GMT + - Mon, 12 Apr 2021 08:52:48 GMT expires: - '-1' pragma: @@ -295,15 +295,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/publicIPAddresses/pip1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"pip1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/publicIPAddresses/pip1\",\r\n - \ \"etag\": \"W/\\\"099ef5e8-1b21-44b4-b1ae-d3b78a788410\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"7efa44c9-9f47-46af-b2ed-8f6cf64f510c\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"68a72a10-48cf-4bc4-bbcc-4d72dd03a5ba\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"7b53a44f-eed6-468a-a0ef-afec17eef5ec\",\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 @@ -312,7 +312,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/02f72b52-194f-4053-9d2c-d83ec2a3f3c6?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a5f141bb-d54c-4745-ae88-bf185f240cd3?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -320,7 +320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:16 GMT + - Mon, 12 Apr 2021 08:52:54 GMT expires: - '-1' pragma: @@ -333,9 +333,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 25d0d9fd-80c8-4bf5-86c6-875b38041429 + - 8f54cec3-9446-4799-a18e-42c9755d475b x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1199' status: code: 201 message: Created @@ -353,9 +353,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/02f72b52-194f-4053-9d2c-d83ec2a3f3c6?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a5f141bb-d54c-4745-ae88-bf185f240cd3?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -367,7 +367,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:17 GMT + - Mon, 12 Apr 2021 08:52:56 GMT expires: - '-1' pragma: @@ -384,7 +384,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b93e9995-1b04-44ac-a41b-fcc98a1d3650 + - c547f9e0-3ad7-4708-8da5-f2e028636473 status: code: 200 message: OK @@ -402,15 +402,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/publicIPAddresses/pip1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"pip1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/publicIPAddresses/pip1\",\r\n - \ \"etag\": \"W/\\\"c9d0a10a-9614-4e99-85d0-360cefc0e2f6\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"336fcf39-d389-4f34-830c-818de450ee8f\\\"\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"68a72a10-48cf-4bc4-bbcc-4d72dd03a5ba\",\r\n \"publicIPAddressVersion\": + \ \"resourceGuid\": \"7b53a44f-eed6-468a-a0ef-afec17eef5ec\",\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 @@ -423,9 +423,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:17 GMT + - Mon, 12 Apr 2021 08:52:56 GMT etag: - - W/"c9d0a10a-9614-4e99-85d0-360cefc0e2f6" + - W/"336fcf39-d389-4f34-830c-818de450ee8f" expires: - '-1' pragma: @@ -442,7 +442,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9b0671b2-b923-4229-923f-10fd59f134c9 + - 66a6bc2a-3ba9-4950-b553-a20ffdfd6d9e status: code: 200 message: OK @@ -461,15 +461,15 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.20.0 + - python/3.8.8 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vnet_gateway_ipsec000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001","name":"cli_test_vnet_gateway_ipsec000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-03-04T08:07:58Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001","name":"cli_test_vnet_gateway_ipsec000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-12T08:52:30Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -478,7 +478,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:18 GMT + - Mon, 12 Apr 2021 08:52:57 GMT expires: - '-1' pragma: @@ -517,20 +517,20 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"e64313c5-c4d1-452c-bce4-d8f31be3dab0\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a94a61f1-38bd-4048-8379-0a09292ba431\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"e64313c5-c4d1-452c-bce4-d8f31be3dab0\\\"\",\r\n + \ \"etag\": \"W/\\\"a94a61f1-38bd-4048-8379-0a09292ba431\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -557,7 +557,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 cache-control: - no-cache content-length: @@ -565,7 +565,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:24 GMT + - Mon, 12 Apr 2021 08:53:03 GMT expires: - '-1' pragma: @@ -578,9 +578,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f5fdfc0f-0d2a-4faa-9f52-1ce67cd6007c + - f3c51706-cede-40d9-bdc4-33df744eced8 x-ms-ratelimit-remaining-subscription-writes: - - '1181' + - '1199' status: code: 201 message: Created @@ -599,9 +599,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -613,7 +613,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:35 GMT + - Mon, 12 Apr 2021 08:53:14 GMT expires: - '-1' pragma: @@ -630,7 +630,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b2290a5a-34d1-47cc-aeab-3fd158ba1210 + - d86bc029-7c14-4e5c-a7a4-3c8e83df43ec status: code: 200 message: OK @@ -649,9 +649,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -663,7 +663,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:08:45 GMT + - Mon, 12 Apr 2021 08:53:24 GMT expires: - '-1' pragma: @@ -680,7 +680,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e32b0d5a-15b6-4167-8769-66106f61029d + - 57419ce8-e81e-440b-af74-734a26f88020 status: code: 200 message: OK @@ -699,9 +699,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -713,7 +713,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:09:05 GMT + - Mon, 12 Apr 2021 08:53:44 GMT expires: - '-1' pragma: @@ -730,7 +730,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6ddccae2-ec03-4a2a-84c6-d799fea690f9 + - 51da2452-afe5-418b-8f72-8f01b0a24a76 status: code: 200 message: OK @@ -749,9 +749,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -763,7 +763,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:09:26 GMT + - Mon, 12 Apr 2021 08:54:04 GMT expires: - '-1' pragma: @@ -780,7 +780,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ba15afb2-8c3d-4073-adca-8f26375129c0 + - 063ea588-2d1a-4efd-97fb-8922cd5709cc status: code: 200 message: OK @@ -799,9 +799,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -813,7 +813,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:10:06 GMT + - Mon, 12 Apr 2021 08:54:45 GMT expires: - '-1' pragma: @@ -830,7 +830,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 19fbe261-f960-4a40-b393-e25f5b9b87db + - 7c0e9517-a56e-4248-8655-cbdcfb35449f status: code: 200 message: OK @@ -849,9 +849,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -863,7 +863,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:10:47 GMT + - Mon, 12 Apr 2021 08:55:25 GMT expires: - '-1' pragma: @@ -880,7 +880,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 25d40313-dfab-4d27-86a7-3ae28da9e9a4 + - 1af5bd1b-919d-41d2-8fa2-91e4168986ec status: code: 200 message: OK @@ -899,9 +899,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -913,7 +913,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:12:07 GMT + - Mon, 12 Apr 2021 08:56:46 GMT expires: - '-1' pragma: @@ -930,7 +930,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 052f09f3-7840-497b-ba3c-3a328bc58d33 + - 3fa583e4-9432-4e5a-aefe-f8fbba7906d8 status: code: 200 message: OK @@ -949,9 +949,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -963,7 +963,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:14:48 GMT + - Mon, 12 Apr 2021 08:59:26 GMT expires: - '-1' pragma: @@ -980,7 +980,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3d314316-e20a-4481-9a95-9a06c7cdfbe9 + - b5b5b941-5b41-4f2d-8d35-50e22701e8fb status: code: 200 message: OK @@ -999,9 +999,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1013,7 +1013,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:16:29 GMT + - Mon, 12 Apr 2021 09:01:06 GMT expires: - '-1' pragma: @@ -1030,7 +1030,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 691d38f6-215d-44ad-9e2a-7b60668dbcb6 + - 51623c82-04c5-4d5d-9c33-4f10424493da status: code: 200 message: OK @@ -1049,9 +1049,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1063,7 +1063,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:18:09 GMT + - Mon, 12 Apr 2021 09:02:47 GMT expires: - '-1' pragma: @@ -1080,7 +1080,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6b23ffbe-b417-47ff-914f-4b25b99228dd + - e7828dc8-ea60-4c13-9286-9b4bf3b13342 status: code: 200 message: OK @@ -1099,9 +1099,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1113,7 +1113,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:19:50 GMT + - Mon, 12 Apr 2021 09:04:27 GMT expires: - '-1' pragma: @@ -1130,7 +1130,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 72201ea1-835b-4abc-b7e1-a89adb855831 + - 6ecde3a1-3ff7-41c6-a068-54d80bae50c7 status: code: 200 message: OK @@ -1149,9 +1149,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1163,7 +1163,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:21:33 GMT + - Mon, 12 Apr 2021 09:06:08 GMT expires: - '-1' pragma: @@ -1180,7 +1180,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 584f5952-e423-4bc1-b894-9715445e40f1 + - 206a4e9d-269d-4da6-b1fc-3db3fad29cb9 status: code: 200 message: OK @@ -1199,9 +1199,9 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1213,7 +1213,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:23:13 GMT + - Mon, 12 Apr 2021 09:07:48 GMT expires: - '-1' pragma: @@ -1230,7 +1230,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 43e2d018-2725-47e3-a76e-d80fb34ee2c1 + - 26b902cd-eb75-4dee-bbbd-be7aac2d2f97 status: code: 200 message: OK @@ -1249,9 +1249,59 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3c379294-7d0f-4bae-a375-6bd4e11c1441?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-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: + - Mon, 12 Apr 2021 09:09: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: + - cdd54586-721d-4715-8cd7-80f5e6f93974 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet-gateway create + Connection: + - keep-alive + ParameterSetName: + - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix + --client-protocol --radius-secret --radius-server + User-Agent: + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b6eeeef9-794d-45b8-8ed6-21649e2029dd?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1263,7 +1313,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:24:54 GMT + - Mon, 12 Apr 2021 09:11:08 GMT expires: - '-1' pragma: @@ -1280,7 +1330,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 18c8e6bd-61f8-4cd2-9a53-0981277b668e + - c29f77f3-d94e-434e-826c-43fd12739aef status: code: 200 message: OK @@ -1299,20 +1349,20 @@ interactions: - -g -n --public-ip-address --vnet --sku --gateway-type --vpn-type --address-prefix --client-protocol --radius-secret --radius-server User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"8bad1e22-5d73-4577-bcc7-6c8afb605892\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"e27608cd-1e83-40ae-8604-108d83d60289\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"8bad1e22-5d73-4577-bcc7-6c8afb605892\\\"\",\r\n + \ \"etag\": \"W/\\\"e27608cd-1e83-40ae-8604-108d83d60289\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1337,17 +1387,17 @@ interactions: \ \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3374' + - '3375' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:24:56 GMT + - Mon, 12 Apr 2021 09:11:09 GMT expires: - '-1' pragma: @@ -1364,7 +1414,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bfc73f3e-34dc-4e4c-aa45-2843cc6f3939 + - b726dd34-1473-4fac-ac14-1b23a550bff7 status: code: 200 message: OK @@ -1383,20 +1433,20 @@ interactions: - -g --gateway-name --ike-encryption --ike-integrity --dh-group --ipsec-encryption --ipsec-integrity --pfs-group --sa-lifetime --sa-max-size User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"8bad1e22-5d73-4577-bcc7-6c8afb605892\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"e27608cd-1e83-40ae-8604-108d83d60289\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"8bad1e22-5d73-4577-bcc7-6c8afb605892\\\"\",\r\n + \ \"etag\": \"W/\\\"e27608cd-1e83-40ae-8604-108d83d60289\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1421,17 +1471,17 @@ interactions: \ \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3374' + - '3375' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:24:57 GMT + - Mon, 12 Apr 2021 09:11:11 GMT expires: - '-1' pragma: @@ -1448,7 +1498,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 05ded714-d022-4444-85cb-8e89e86d3318 + - 98b5031a-7521-4644-9fb5-70600c3317f4 status: code: 200 message: OK @@ -1487,20 +1537,20 @@ interactions: - -g --gateway-name --ike-encryption --ike-integrity --dh-group --ipsec-encryption --ipsec-integrity --pfs-group --sa-lifetime --sa-max-size User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"ea6c77f8-7d3e-4b54-b521-8cdffb1e5a18\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"242498d6-461e-4e67-b279-f56459cfebd2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"ea6c77f8-7d3e-4b54-b521-8cdffb1e5a18\\\"\",\r\n + \ \"etag\": \"W/\\\"242498d6-461e-4e67-b279-f56459cfebd2\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1527,19 +1577,19 @@ interactions: [\r\n {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fc2c0bd2-54de-4a83-aaaf-f37c03f3f7fa?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/754077fb-a776-448f-a6ea-b4970312a017?api-version=2020-11-01 cache-control: - no-cache content-length: - - '3531' + - '3532' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:25:01 GMT + - Mon, 12 Apr 2021 09:11:14 GMT expires: - '-1' pragma: @@ -1556,9 +1606,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - fcb496c4-4edc-4801-8cc4-ed31e0b96242 + - 5615d879-b106-4da7-bc78-c6803152c0dc x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -1577,9 +1627,9 @@ interactions: - -g --gateway-name --ike-encryption --ike-integrity --dh-group --ipsec-encryption --ipsec-integrity --pfs-group --sa-lifetime --sa-max-size User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fc2c0bd2-54de-4a83-aaaf-f37c03f3f7fa?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/754077fb-a776-448f-a6ea-b4970312a017?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1591,7 +1641,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:25:11 GMT + - Mon, 12 Apr 2021 09:11:24 GMT expires: - '-1' pragma: @@ -1608,7 +1658,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b0fe0e6b-8168-4406-8a6b-4efc2afdebce + - 41166b0c-3103-4547-864b-3718b6dc68bb status: code: 200 message: OK @@ -1627,9 +1677,9 @@ interactions: - -g --gateway-name --ike-encryption --ike-integrity --dh-group --ipsec-encryption --ipsec-integrity --pfs-group --sa-lifetime --sa-max-size User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fc2c0bd2-54de-4a83-aaaf-f37c03f3f7fa?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/754077fb-a776-448f-a6ea-b4970312a017?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1641,7 +1691,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:25:31 GMT + - Mon, 12 Apr 2021 09:11:45 GMT expires: - '-1' pragma: @@ -1658,7 +1708,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c0e141ff-64fb-4cbd-a8ad-aa06270c01e9 + - 9041c4f6-df12-4cd8-8755-b01d393ac32e status: code: 200 message: OK @@ -1677,9 +1727,9 @@ interactions: - -g --gateway-name --ike-encryption --ike-integrity --dh-group --ipsec-encryption --ipsec-integrity --pfs-group --sa-lifetime --sa-max-size User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fc2c0bd2-54de-4a83-aaaf-f37c03f3f7fa?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/754077fb-a776-448f-a6ea-b4970312a017?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1691,7 +1741,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:26:11 GMT + - Mon, 12 Apr 2021 09:12:25 GMT expires: - '-1' pragma: @@ -1708,7 +1758,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1a4ea308-d00f-471d-aee2-3b180c65c06d + - b80b3e38-13ff-4839-9bde-b182dfa68dac status: code: 200 message: OK @@ -1727,9 +1777,9 @@ interactions: - -g --gateway-name --ike-encryption --ike-integrity --dh-group --ipsec-encryption --ipsec-integrity --pfs-group --sa-lifetime --sa-max-size User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fc2c0bd2-54de-4a83-aaaf-f37c03f3f7fa?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/754077fb-a776-448f-a6ea-b4970312a017?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1741,7 +1791,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:27:32 GMT + - Mon, 12 Apr 2021 09:13:45 GMT expires: - '-1' pragma: @@ -1758,7 +1808,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 34830510-9089-468a-bba1-19d4d01ef2b9 + - 6b7eb45f-a8a2-4278-b672-98049cde47dc status: code: 200 message: OK @@ -1777,20 +1827,20 @@ interactions: - -g --gateway-name --ike-encryption --ike-integrity --dh-group --ipsec-encryption --ipsec-integrity --pfs-group --sa-lifetime --sa-max-size User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"cb5f0799-d76d-4bec-af70-87e8be025b45\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"003f2e77-8d9b-463d-81a6-b451428b431e\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"cb5f0799-d76d-4bec-af70-87e8be025b45\\\"\",\r\n + \ \"etag\": \"W/\\\"003f2e77-8d9b-463d-81a6-b451428b431e\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1819,17 +1869,17 @@ interactions: [\r\n {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3708' + - '3709' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:27:33 GMT + - Mon, 12 Apr 2021 09:13:46 GMT expires: - '-1' pragma: @@ -1846,7 +1896,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 21fe4379-726d-460d-acf9-74285ef72b3b + - 15c9d280-55e6-4c07-96d4-e1ed8d3c4a7d status: code: 200 message: OK @@ -1864,20 +1914,20 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"cb5f0799-d76d-4bec-af70-87e8be025b45\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"003f2e77-8d9b-463d-81a6-b451428b431e\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"cb5f0799-d76d-4bec-af70-87e8be025b45\\\"\",\r\n + \ \"etag\": \"W/\\\"003f2e77-8d9b-463d-81a6-b451428b431e\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1906,17 +1956,17 @@ interactions: [\r\n {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3708' + - '3709' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:27:34 GMT + - Mon, 12 Apr 2021 09:13:48 GMT expires: - '-1' pragma: @@ -1933,7 +1983,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a52a5bdd-56e9-470f-aaac-ef60c208a833 + - 4a626089-7266-4e95-a1fe-0aaaec61a45a status: code: 200 message: OK @@ -1951,20 +2001,20 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"cb5f0799-d76d-4bec-af70-87e8be025b45\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"003f2e77-8d9b-463d-81a6-b451428b431e\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"cb5f0799-d76d-4bec-af70-87e8be025b45\\\"\",\r\n + \ \"etag\": \"W/\\\"003f2e77-8d9b-463d-81a6-b451428b431e\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1993,17 +2043,17 @@ interactions: [\r\n {\r\n \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3708' + - '3709' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:27:36 GMT + - Mon, 12 Apr 2021 09:13:49 GMT expires: - '-1' pragma: @@ -2020,7 +2070,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9c6ee9c3-73da-4616-9f19-4be9fa405630 + - 4ae14e16-26b3-455b-b121-c340d9de330b status: code: 200 message: OK @@ -2055,20 +2105,20 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"2c2076f4-c1a1-4799-9151-a07a6bb4515c\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"7bfb9385-0e31-40c7-9648-cc0b71866c31\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"2c2076f4-c1a1-4799-9151-a07a6bb4515c\\\"\",\r\n + \ \"etag\": \"W/\\\"7bfb9385-0e31-40c7-9648-cc0b71866c31\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -2091,19 +2141,19 @@ interactions: \ \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/60af378e-c5c1-4a62-9ac4-9133bc06f2d8?api-version=2020-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/16252557-1843-4a5e-8c5c-19ae35521776?api-version=2020-11-01 cache-control: - no-cache content-length: - - '3197' + - '3198' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:27:39 GMT + - Mon, 12 Apr 2021 09:13:51 GMT expires: - '-1' pragma: @@ -2120,9 +2170,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 77f5c031-daa5-4cd2-8891-ae5abcc58a1c + - cc9e61a7-b9ab-43a9-8422-08243200cfbc x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -2140,9 +2190,9 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/60af378e-c5c1-4a62-9ac4-9133bc06f2d8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/16252557-1843-4a5e-8c5c-19ae35521776?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2154,7 +2204,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:27:49 GMT + - Mon, 12 Apr 2021 09:14:02 GMT expires: - '-1' pragma: @@ -2171,7 +2221,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 523827f2-77d4-4500-9608-c14e1dc0aaf5 + - a01b2e93-66a2-44ff-aa15-d005bb38ca86 status: code: 200 message: OK @@ -2189,9 +2239,9 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/60af378e-c5c1-4a62-9ac4-9133bc06f2d8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/16252557-1843-4a5e-8c5c-19ae35521776?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2203,7 +2253,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:28:09 GMT + - Mon, 12 Apr 2021 09:14:22 GMT expires: - '-1' pragma: @@ -2220,7 +2270,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - dce39980-af61-44b5-9089-0bad37f427de + - 58bc2ca9-a5e2-4b20-83b1-428d2e8afcb3 status: code: 200 message: OK @@ -2238,9 +2288,9 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/60af378e-c5c1-4a62-9ac4-9133bc06f2d8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/16252557-1843-4a5e-8c5c-19ae35521776?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -2252,7 +2302,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:28:49 GMT + - Mon, 12 Apr 2021 09:15:03 GMT expires: - '-1' pragma: @@ -2269,7 +2319,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 32b762b0-7241-4368-9687-4a882fdc4fea + - 973e0896-5d23-496e-a7be-3c50a641afce status: code: 200 message: OK @@ -2287,9 +2337,9 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/60af378e-c5c1-4a62-9ac4-9133bc06f2d8?api-version=2020-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/16252557-1843-4a5e-8c5c-19ae35521776?api-version=2020-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2301,7 +2351,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:30:10 GMT + - Mon, 12 Apr 2021 09:16:23 GMT expires: - '-1' pragma: @@ -2318,7 +2368,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e54d3342-6ff3-47d6-a2e0-c6748d49ca52 + - 38625c06-ba4f-4fa7-a45c-eea1773ddc4b status: code: 200 message: OK @@ -2336,20 +2386,20 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"b1aa204d-d615-4d97-8bb4-ca82d990b8ad\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a1f00716-6adc-4e80-8f1f-a73b71c0d2a0\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"b1aa204d-d615-4d97-8bb4-ca82d990b8ad\\\"\",\r\n + \ \"etag\": \"W/\\\"a1f00716-6adc-4e80-8f1f-a73b71c0d2a0\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -2374,17 +2424,17 @@ interactions: \ \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3374' + - '3375' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:30:12 GMT + - Mon, 12 Apr 2021 09:16:23 GMT expires: - '-1' pragma: @@ -2401,7 +2451,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bf340938-2129-499b-aa8d-c6d308ef4288 + - 20ec223d-cd8a-44c9-ae1b-ffa5c52fa4a4 status: code: 200 message: OK @@ -2419,20 +2469,20 @@ interactions: ParameterSetName: - -g --gateway-name User-Agent: - - AZURECLI/2.20.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1?api-version=2020-11-01 response: body: string: "{\r\n \"name\": \"gw1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1\",\r\n - \ \"etag\": \"W/\\\"b1aa204d-d615-4d97-8bb4-ca82d990b8ad\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a1f00716-6adc-4e80-8f1f-a73b71c0d2a0\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworkGateways\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a8fb50f2-140d-4a13-96dc-5394ca8f6cbe\",\r\n \"packetCaptureDiagnosticState\": + \"c995e4c8-f5db-411a-8140-d56497cb86f0\",\r\n \"packetCaptureDiagnosticState\": \"None\",\r\n \"enablePrivateIpAddress\": false,\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"vnetGatewayConfig0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n - \ \"etag\": \"W/\\\"b1aa204d-d615-4d97-8bb4-ca82d990b8ad\\\"\",\r\n + \ \"etag\": \"W/\\\"a1f00716-6adc-4e80-8f1f-a73b71c0d2a0\\\"\",\r\n \ \"type\": \"Microsoft.Network/virtualNetworkGateways/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -2457,17 +2507,91 @@ interactions: \ \"ipconfigurationId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/ipConfigurations/vnetGatewayConfig0\",\r\n \ \"defaultBgpIpAddresses\": [\r\n \"10.0.0.254\"\r\n ],\r\n \ \"customBgpIpAddresses\": [],\r\n \"tunnelIpAddresses\": - [\r\n \"104.42.55.30\"\r\n ]\r\n }\r\n ]\r\n + [\r\n \"104.40.11.224\"\r\n ]\r\n }\r\n ]\r\n \ },\r\n \"vpnGatewayGeneration\": \"Generation1\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3374' + - '3375' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 12 Apr 2021 09:16: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: + - e19d85ac-cb3a-45d0-aef9-d7b7a61f0547 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet-gateway show-supported-devices + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n -o + User-Agent: + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.8 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vnet_gateway_ipsec000001/providers/Microsoft.Network/virtualNetworkGateways/gw1/supportedvpndevices?api-version=2020-11-01 + response: + body: + string: '""' + headers: + cache-control: + - no-cache + content-length: + - '2180' content-type: - application/json; charset=utf-8 date: - - Thu, 04 Mar 2021 08:30:14 GMT + - Mon, 12 Apr 2021 09:16:26 GMT expires: - '-1' pragma: @@ -2484,7 +2608,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2c0019da-6db8-4494-b49e-1e38bb855d4c + - f94a0139-f119-4d3e-a348-7e42bbb094b7 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' 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 43c6ad0b57b..5fd48703cb6 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 @@ -3591,6 +3591,7 @@ def test_network_vnet_gateway_ipsec(self, resource_group): self.cmd('network vnet-gateway ipsec-policy list -g {rg} --gateway-name {gw}') self.cmd('network vnet-gateway ipsec-policy clear -g {rg} --gateway-name {gw}') self.cmd('network vnet-gateway ipsec-policy list -g {rg} --gateway-name {gw}') + self.cmd('network vnet-gateway show-supported-devices -g {rg} -n {gw} -o tsv') class NetworkVnetGatewayMultiAuth(ScenarioTest):