diff --git a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py index 4c82c29d70d..2bd67cbe87f 100644 --- a/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py +++ b/src/azure-cli/azure/cli/command_modules/network/private_link_resource_and_endpoint_connections/custom.py @@ -16,29 +16,40 @@ def register_providers(): - _register_one_provider('Microsoft.Storage/storageAccounts', '2019-06-01', True) - _register_one_provider('Microsoft.Keyvault/vaults', '2019-09-01', False) + _register_one_provider("Microsoft.Automation/automationAccounts", "2020-01-13-preview", True) + _register_one_provider('Microsoft.AppConfiguration/configurationStores', '2020-06-01', True) + # "Microsoft.Batch/batchAccounts", "2020-03-01", True + # "Microsoft.Cache/redisEnterprise", "2021-03-01", True _register_one_provider('Microsoft.CognitiveServices/accounts', '2017-04-18', True) + _register_one_provider('Microsoft.Compute/diskAccesses', '2020-09-30', True) _register_one_provider('Microsoft.ContainerRegistry/registries', '2019-12-01-preview', True) - _register_one_provider('microsoft.insights/privateLinkScopes', '2019-10-17-preview', True) _register_one_provider('Microsoft.DBforMySQL/servers', '2018-06-01', False, '2017-12-01-preview') _register_one_provider('Microsoft.DBforMariaDB/servers', '2018-06-01', False) _register_one_provider('Microsoft.DBforPostgreSQL/servers', '2018-06-01', False, '2017-12-01-preview') - _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') _register_one_provider('Microsoft.Devices/IotHubs', '2020-03-01', True) - _register_one_provider('Microsoft.Web/sites', '2019-08-01', False) + _register_one_provider('Microsoft.DocumentDB/databaseAccounts', '2019-08-01-preview', False, '2020-03-01') + _register_one_provider('Microsoft.DigitalTwins/digitalTwinsInstances', '2020-12-01', True) _register_one_provider('Microsoft.EventGrid/topics', '2020-04-01-preview', True) _register_one_provider('Microsoft.EventGrid/domains', '2020-04-01-preview', True) - _register_one_provider('Microsoft.SignalRService/signalr', '2020-05-01', False) - _register_one_provider('Microsoft.Network/applicationGateways', '2020-05-01', True) - _register_one_provider('Microsoft.Compute/diskAccesses', '2020-09-30', True) - _register_one_provider('Microsoft.AppConfiguration/configurationStores', '2020-06-01', True) - _register_one_provider('Microsoft.DigitalTwins/digitalTwinsInstances', '2020-12-01', True) - _register_one_provider('Microsoft.Search/searchServices', '2020-08-01', True) - _register_one_provider("Microsoft.Automation/automationAccounts", "2020-01-13-preview", True) _register_one_provider("Microsoft.EventHub/namespaces", "2018-01-01-preview", True) _register_one_provider("Microsoft.HealthcareApis/services", "2020-03-30", True) + _register_one_provider('microsoft.insights/privateLinkScopes', '2019-10-17-preview', True) + _register_one_provider('Microsoft.Keyvault/vaults', '2019-09-01', False) + # "Microsoft.Media/mediaservices", "2020-05-01", True + # "Microsoft.Migrate/assessmentProjects", "2020-05-01-preview", False + # "Microsoft.Migrate/migrateProjects", "2020-06-01-preview", False + _register_one_provider('Microsoft.Network/applicationGateways', '2020-05-01', True) + # "Microsoft.OffAzure/masterSites", "2020-07-07", False + # "Microsoft.Purview/accounts", "2020-12-01-preview", True + _register_one_provider('Microsoft.Search/searchServices', '2020-08-01', True) + # "Microsoft.ServiceBus/namespaces", "2018-01-01-preview", True + _register_one_provider('Microsoft.SignalRService/signalr', '2020-05-01', False) + _register_one_provider('Microsoft.Sql/servers', '2018-06-01-preview', True) + _register_one_provider('Microsoft.Storage/storageAccounts', '2019-06-01', True) + # "Microsoft.StorageSync/storageSyncServices", "2020-03-01", True _register_one_provider("Microsoft.Synapse/workspaces", "2019-06-01-preview", True) + _register_one_provider('Microsoft.Web/sites', '2019-08-01', False) + # "Microsoft.Web/hostingEnvironments", "2020-10-01", True def _register_one_provider(provider, api_version, support_list_or_not, resource_get_api_version=None, support_connection_operation=True): # pylint: disable=line-too-long diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml index 8137941ab48..ce8381ad73d 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_disk_access.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_disk_access000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001","name":"test_private_endpoint_connection_disk_access000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:34:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001","name":"test_private_endpoint_connection_disk_access000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T07:40:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:06 GMT + - Fri, 28 May 2021 07:40:57 GMT expires: - '-1' pragma: @@ -59,16 +59,16 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006?api-version=2020-05-01 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002\",\r\n \"type\": \"Microsoft.Compute/diskAccesses\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006\",\r\n \"type\": \"Microsoft.Compute/diskAccesses\",\r\n \ \"location\": \"westus\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/6d7ce45b-0acc-4462-ba72-17aadc7c9569?api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/3bc5ad6b-ca63-4ccc-ba87-497813a25c47?api-version=2020-05-01 cache-control: - no-cache content-length: @@ -76,11 +76,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:10 GMT + - Fri, 28 May 2021 07:41:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/6d7ce45b-0acc-4462-ba72-17aadc7c9569?monitor=true&api-version=2020-05-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/3bc5ad6b-ca63-4ccc-ba87-497813a25c47?monitor=true&api-version=2020-05-01 pragma: - no-cache server: @@ -91,7 +91,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1198' status: code: 202 message: Accepted @@ -109,15 +109,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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.Compute/locations/westus/DiskOperations/6d7ce45b-0acc-4462-ba72-17aadc7c9569?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/3bc5ad6b-ca63-4ccc-ba87-497813a25c47?api-version=2020-05-01 response: body: - string: "{\r\n \"startTime\": \"2021-05-14T07:34:10.8517934+00:00\",\r\n \"endTime\": - \"2021-05-14T07:34:11.9456158+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\"name\":\"cli-test-resource-000002\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002\",\"type\":\"Microsoft.Compute/diskAccesses\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"timeCreated\":\"2021-05-14T07:34:10.8517934+00:00\"}}\r\n - \ },\r\n \"name\": \"6d7ce45b-0acc-4462-ba72-17aadc7c9569\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-28T07:41:01.9094616+00:00\",\r\n \"endTime\": + \"2021-05-28T07:41:02.8626724+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\"name\":\"cli-test-resource-000006\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006\",\"type\":\"Microsoft.Compute/diskAccesses\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\",\"timeCreated\":\"2021-05-28T07:41:01.9094616+00:00\"}}\r\n + \ },\r\n \"name\": \"3bc5ad6b-ca63-4ccc-ba87-497813a25c47\"\r\n}" headers: cache-control: - no-cache @@ -126,7 +126,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:41 GMT + - Fri, 28 May 2021 07:41:32 GMT expires: - '-1' pragma: @@ -143,7 +143,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49995,Microsoft.Compute/GetOperation30Min;399994 + - Microsoft.Compute/GetOperation3Min;49998,Microsoft.Compute/GetOperation30Min;399998 status: code: 200 message: OK @@ -161,15 +161,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006?api-version=2020-05-01 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": - \"2021-05-14T07:34:10.8517934+00:00\"\r\n }\r\n}" + \"2021-05-28T07:41:01.9094616+00:00\"\r\n }\r\n}" headers: cache-control: - no-cache @@ -178,7 +178,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:41 GMT + - Fri, 28 May 2021 07:41:32 GMT expires: - '-1' pragma: @@ -211,15 +211,15 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/21.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002?api-version=2020-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006?api-version=2020-05-01 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": - \"2021-05-14T07:34:10.8517934+00:00\"\r\n }\r\n}" + \"2021-05-28T07:41:01.9094616+00:00\"\r\n }\r\n}" headers: cache-control: - no-cache @@ -228,7 +228,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:42 GMT + - Fri, 28 May 2021 07:41:33 GMT expires: - '-1' pragma: @@ -261,13 +261,13 @@ interactions: ParameterSetName: - --name -g --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateLinkResources?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateLinkResources?api-version=2020-09-30 response: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"disks\",\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateLinkResources/disks\",\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateLinkResources/disks\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/privateLinkResources\",\r\n \ \"properties\": {\r\n \"groupId\": \"disks\",\r\n \"requiredMembers\": [\r\n \"diskAccess_1\"\r\n ],\r\n \"requiredZoneNames\": @@ -281,7 +281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:43 GMT + - Fri, 28 May 2021 07:41:34 GMT expires: - '-1' pragma: @@ -314,12 +314,12 @@ interactions: ParameterSetName: - -n -g --subnet-name User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_disk_access000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001","name":"test_private_endpoint_connection_disk_access000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:34:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001","name":"test_private_endpoint_connection_disk_access000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T07:40:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -328,7 +328,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:42 GMT + - Fri, 28 May 2021 07:41:35 GMT expires: - '-1' pragma: @@ -344,7 +344,7 @@ interactions: message: OK - request: body: '{"location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"name": "cli-subnet-000004", + ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"name": "cli-subnet-000003", "properties": {"addressPrefix": "10.0.0.0/24", "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}}]}}' headers: @@ -363,21 +363,21 @@ interactions: ParameterSetName: - -n -g --subnet-name 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.24.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"98422a6b-578e-4a45-beb7-e8c6bde11210\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-vnet-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002\",\r\n + \ \"etag\": \"W/\\\"3c745036-9aaf-4a65-9dd2-1ad88310bd2b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"e00a3b94-5428-473d-86ab-27a2e9751ffe\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"1b8e7278-3f62-4273-bd5d-c35c9ff197b5\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"98422a6b-578e-4a45-beb7-e8c6bde11210\\\"\",\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"3c745036-9aaf-4a65-9dd2-1ad88310bd2b\\\"\",\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\": @@ -388,7 +388,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e0c67924-7a64-407b-8742-ee00ee7e6ac0?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6d3206e4-465c-4504-9467-e80112dcbc67?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -396,7 +396,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:49 GMT + - Fri, 28 May 2021 07:41:41 GMT expires: - '-1' pragma: @@ -409,9 +409,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d3d466a3-2e98-45fe-bdb1-b500f8e9fcdb + - d3f16303-fad6-44eb-8a85-6bbb2edd387f x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1199' status: code: 201 message: Created @@ -429,9 +429,9 @@ interactions: ParameterSetName: - -n -g --subnet-name 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.24.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/westus/operations/e0c67924-7a64-407b-8742-ee00ee7e6ac0?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6d3206e4-465c-4504-9467-e80112dcbc67?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -443,7 +443,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:53 GMT + - Fri, 28 May 2021 07:41:45 GMT expires: - '-1' pragma: @@ -460,7 +460,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - edd3f629-09a5-4bb7-be5a-1e367f775e8a + - 2d8cb4ba-2ed9-4776-a5fb-391dbe43c95c status: code: 200 message: OK @@ -478,21 +478,21 @@ interactions: ParameterSetName: - -n -g --subnet-name 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.24.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"4bd62606-24ce-4fc2-9648-de5f704d5cbd\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-vnet-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002\",\r\n + \ \"etag\": \"W/\\\"ea2fd477-7a32-4d5b-97e0-6700110069bb\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"e00a3b94-5428-473d-86ab-27a2e9751ffe\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"1b8e7278-3f62-4273-bd5d-c35c9ff197b5\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"4bd62606-24ce-4fc2-9648-de5f704d5cbd\\\"\",\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"ea2fd477-7a32-4d5b-97e0-6700110069bb\\\"\",\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\": @@ -507,9 +507,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:53 GMT + - Fri, 28 May 2021 07:41:45 GMT etag: - - W/"4bd62606-24ce-4fc2-9648-de5f704d5cbd" + - W/"ea2fd477-7a32-4d5b-97e0-6700110069bb" expires: - '-1' pragma: @@ -526,7 +526,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b0728fc5-0900-4c71-8eb1-a4ea34263137 + - 4fdcae72-8839-408c-b55f-6b6ff1760a92 status: code: 200 message: OK @@ -544,13 +544,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"4bd62606-24ce-4fc2-9648-de5f704d5cbd\\\"\",\r\n \"properties\": + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"ea2fd477-7a32-4d5b-97e0-6700110069bb\\\"\",\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\": @@ -563,9 +563,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:54 GMT + - Fri, 28 May 2021 07:41:45 GMT etag: - - W/"4bd62606-24ce-4fc2-9648-de5f704d5cbd" + - W/"ea2fd477-7a32-4d5b-97e0-6700110069bb" expires: - '-1' pragma: @@ -582,13 +582,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a2b043e0-a871-4089-ad7c-3d9ff387a129 + - 2d98ec4f-30eb-469a-809c-7c3b40138f89 status: code: 200 message: OK - request: - body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004", - "name": "cli-subnet-000004", "type": "Microsoft.Network/virtualNetworks/subnets", + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003", + "name": "cli-subnet-000003", "type": "Microsoft.Network/virtualNetworks/subnets", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}}' headers: @@ -607,20 +607,20 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"d0698775-ff68-401a-9873-e0ca2db397ea\\\"\",\r\n \"properties\": + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"4c263967-5261-4497-9fac-b6a7805eea58\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c1a02cb4-01e1-473b-aeeb-e22c073223d6?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/17af492d-12eb-4825-8bc8-79529ac9c75d?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -628,7 +628,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:54 GMT + - Fri, 28 May 2021 07:41:46 GMT expires: - '-1' pragma: @@ -645,9 +645,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4fb5c188-bbdb-455c-8344-fdfaa2459167 + - d44c6a1d-61e1-4833-9404-c82a4684f8d0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1198' status: code: 200 message: OK @@ -665,9 +665,9 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/westus/operations/c1a02cb4-01e1-473b-aeeb-e22c073223d6?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/17af492d-12eb-4825-8bc8-79529ac9c75d?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -679,7 +679,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:57 GMT + - Fri, 28 May 2021 07:41:49 GMT expires: - '-1' pragma: @@ -696,7 +696,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ff5b22d6-267c-47f5-9683-590a4dd4e886 + - 1b29219d-f8d8-4dc0-831c-dfc1a81e443c status: code: 200 message: OK @@ -714,13 +714,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"a7e93f4c-2b12-4774-9ad7-88caec9915b1\\\"\",\r\n \"properties\": + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"ea0ca0c8-d5bd-4be1-9775-8310d93e4cd7\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -733,9 +733,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:58 GMT + - Fri, 28 May 2021 07:41:49 GMT etag: - - W/"a7e93f4c-2b12-4774-9ad7-88caec9915b1" + - W/"ea0ca0c8-d5bd-4be1-9775-8310d93e4cd7" expires: - '-1' pragma: @@ -752,7 +752,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 211be1e4-fb39-4d3b-ac3e-1a9f91bd704d + - f6719088-3ca2-47af-abd3-53756057c6a4 status: code: 200 message: OK @@ -771,12 +771,12 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_disk_access000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001","name":"test_private_endpoint_connection_disk_access000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:34:05Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001","name":"test_private_endpoint_connection_disk_access000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T07:40:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -785,7 +785,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:34:58 GMT + - Fri, 28 May 2021 07:41:50 GMT expires: - '-1' pragma: @@ -800,10 +800,10 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004", + body: '{"location": "westus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003", "properties": {"privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": - "Enabled"}}, "privateLinkServiceConnections": [{"name": "cli-pec-000006", "properties": - {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002", + "Enabled"}}, "privateLinkServiceConnections": [{"name": "cli-pec-000005", "properties": + {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006", "groupIds": ["disks"]}}]}}' headers: Accept: @@ -822,33 +822,33 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"b387942c-2760-4a6a-a29f-99574b9ae6df\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n + \ \"etag\": \"W/\\\"aea01548-85f4-4cb4-b075-41574eb634ec\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"a7b39c87-9150-47e5-a92a-769c7d25fc7b\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"b387942c-2760-4a6a-a29f-99574b9ae6df\\\"\",\r\n + \"4d71eb8a-1790-4edd-ac99-f1eca15a1f6e\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005\",\r\n + \ \"etag\": \"W/\\\"aea01548-85f4-4cb4-b075-41574eb634ec\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006\",\r\n \ \"groupIds\": [\r\n \"disks\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.8e37c900-5ece-404d-8fb7-7d9e667c954e\"\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.3f2c9b02-276e-499e-83fa-efe7f2081184\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7b20007e-cffc-4b0e-802d-ad41645b83d9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6acfaee3-681e-4c09-87c8-9a0237457cba?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -856,7 +856,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:03 GMT + - Fri, 28 May 2021 07:41:56 GMT expires: - '-1' pragma: @@ -869,9 +869,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a0adcac9-05e2-4939-896e-7d07789ecfd9 + - 8b636ace-6352-4ac3-b23b-7ebd154562a2 x-ms-ratelimit-remaining-subscription-writes: - - '1185' + - '1199' status: code: 201 message: Created @@ -890,59 +890,9 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/westus/operations/7b20007e-cffc-4b0e-802d-ad41645b83d9?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: - - Fri, 14 May 2021 07:35:13 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: - - 01d5696f-59b0-431a-806b-55a85cca8e30 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - network private-endpoint create - Connection: - - keep-alive - ParameterSetName: - - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id - --group-id - User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (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/7b20007e-cffc-4b0e-802d-ad41645b83d9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/6acfaee3-681e-4c09-87c8-9a0237457cba?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -954,7 +904,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:33 GMT + - Fri, 28 May 2021 07:42:06 GMT expires: - '-1' pragma: @@ -971,7 +921,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 144d87fc-1595-4a46-a005-2e5e7c090fba + - 631bbb78-af66-4707-8afb-235be78594e1 status: code: 200 message: OK @@ -990,29 +940,29 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"34542d91-ef50-442e-a678-7ab698be3249\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n + \ \"etag\": \"W/\\\"ee627d2f-6183-47d6-9480-8e255138a39a\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"a7b39c87-9150-47e5-a92a-769c7d25fc7b\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"34542d91-ef50-442e-a678-7ab698be3249\\\"\",\r\n + \"4d71eb8a-1790-4edd-ac99-f1eca15a1f6e\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005\",\r\n + \ \"etag\": \"W/\\\"ee627d2f-6183-47d6-9480-8e255138a39a\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006\",\r\n \ \"groupIds\": [\r\n \"disks\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.8e37c900-5ece-404d-8fb7-7d9e667c954e\"\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.3f2c9b02-276e-499e-83fa-efe7f2081184\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"md-impexp-k0pbw0clnw1j.z12.blob.storage.azure.net\",\r\n \"ipAddresses\": + \"md-impexp-fh3dtjvvtrtw.z11.blob.storage.azure.net\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" headers: cache-control: @@ -1022,9 +972,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:34 GMT + - Fri, 28 May 2021 07:42:06 GMT etag: - - W/"34542d91-ef50-442e-a678-7ab698be3249" + - W/"ee627d2f-6183-47d6-9480-8e255138a39a" expires: - '-1' pragma: @@ -1041,7 +991,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3dd925d9-b042-45a3-be69-5fcb4932105c + - fc3f27b0-38b7-4f40-95e3-b168d3bd126a status: code: 200 message: OK @@ -1059,16 +1009,16 @@ interactions: ParameterSetName: - --name -g --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections?api-version=2020-09-30 response: body: - string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + \ \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"description\": \"Auto-Approved\",\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n }\r\n ]\r\n}" @@ -1080,7 +1030,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:35 GMT + - Fri, 28 May 2021 07:42:07 GMT expires: - '-1' pragma: @@ -1113,16 +1063,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"description\": \"Auto-Approved\",\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n}" @@ -1134,7 +1084,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:36 GMT + - Fri, 28 May 2021 07:42:08 GMT expires: - '-1' pragma: @@ -1154,10 +1104,10 @@ interactions: code: 200 message: OK - request: - body: '{"name": "cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d", + body: '{"name": "cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5", "type": "Microsoft.Compute/diskAccesses/PrivateEndpointConnections", "properties": - {"provisioningState": "Succeeded", "privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"}, + {"provisioningState": "Succeeded", "privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"}, "privateLinkServiceConnectionState": {"actionsRequired": "None", "description": null, "status": "Approved"}}}' headers: @@ -1176,16 +1126,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"description\": \"Auto-Approved\",\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n}" @@ -1197,7 +1147,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:37 GMT + - Fri, 28 May 2021 07:42:09 GMT expires: - '-1' pragma: @@ -1214,7 +1164,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1199' status: code: 200 message: OK @@ -1232,16 +1182,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"description\": \"Auto-Approved\",\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n}" @@ -1253,7 +1203,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:47 GMT + - Fri, 28 May 2021 07:42:20 GMT expires: - '-1' pragma: @@ -1286,16 +1236,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"description\": \"Auto-Approved\",\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n}" @@ -1307,7 +1257,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:48 GMT + - Fri, 28 May 2021 07:42:21 GMT expires: - '-1' pragma: @@ -1340,16 +1290,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"description\": \"Auto-Approved\",\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n}" @@ -1361,7 +1311,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:35:48 GMT + - Fri, 28 May 2021 07:42:22 GMT expires: - '-1' pragma: @@ -1381,10 +1331,10 @@ interactions: code: 200 message: OK - request: - body: '{"name": "cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d", - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d", + body: '{"name": "cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5", "type": "Microsoft.Compute/diskAccesses/PrivateEndpointConnections", "properties": - {"provisioningState": "Succeeded", "privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"}, + {"provisioningState": "Succeeded", "privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"}, "privateLinkServiceConnectionState": {"actionsRequired": "None", "description": null, "status": "Rejected"}}}' headers: @@ -1403,25 +1353,25 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/7350a261-7751-4ca8-b59d-87bbd734e60c?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/428bf9bf-45ae-43d0-ac63-a0963baaeb39?api-version=2020-09-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 14 May 2021 07:35:49 GMT + - Fri, 28 May 2021 07:42:22 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/7350a261-7751-4ca8-b59d-87bbd734e60c?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/428bf9bf-45ae-43d0-ac63-a0963baaeb39?monitor=true&api-version=2020-09-30 pragma: - no-cache server: @@ -1432,7 +1382,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1199' status: code: 202 message: Accepted @@ -1450,16 +1400,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"description\": \"Auto-Approved\",\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n}" @@ -1471,7 +1421,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:36:00 GMT + - Fri, 28 May 2021 07:42:33 GMT expires: - '-1' pragma: @@ -1504,16 +1454,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: - string: "{\r\n \"name\": \"cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d\",\r\n + string: "{\r\n \"name\": \"cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5\",\r\n \ \"type\": \"Microsoft.Compute/diskAccesses/PrivateEndpointConnections\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\"\r\n \ },\r\n \"privateLinkServiceConnectionState\": {\r\n \"actionsRequired\": \"None\",\r\n \"status\": \"Rejected\"\r\n }\r\n }\r\n}" headers: @@ -1524,7 +1474,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:36:11 GMT + - Fri, 28 May 2021 07:42:44 GMT expires: - '-1' pragma: @@ -1559,25 +1509,25 @@ interactions: ParameterSetName: - --name -g --resource-name --type -y User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000002/privateEndpointConnections/cli-test-resource-000002.129f3537-2845-4728-9093-47f9a94f057d?api-version=2020-09-30 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_disk_access000001/providers/Microsoft.Compute/diskAccesses/cli-test-resource-000006/privateEndpointConnections/cli-test-resource-000006.2ac8edab-52f5-4606-9e9f-7c4ec652dde5?api-version=2020-09-30 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/f1a51a95-43a6-44a5-b73b-666373cf2601?api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/a1828b0d-7655-4f8f-b96f-5e61b36ef021?api-version=2020-09-30 cache-control: - no-cache content-length: - '0' date: - - Fri, 14 May 2021 07:36:12 GMT + - Fri, 28 May 2021 07:42:46 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/f1a51a95-43a6-44a5-b73b-666373cf2601?monitor=true&api-version=2020-09-30 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/DiskOperations/a1828b0d-7655-4f8f-b96f-5e61b36ef021?monitor=true&api-version=2020-09-30 pragma: - no-cache server: @@ -1588,7 +1538,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 202 message: Accepted diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml index 69ed16d9312..c46b8eace78 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_eventhub.yaml @@ -13,12 +13,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_eventhub000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001","name":"test_private_endpoint_connection_eventhub000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:55:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001","name":"test_private_endpoint_connection_eventhub000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T07:40:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -27,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:55:25 GMT + - Fri, 28 May 2021 07:40:53 GMT expires: - '-1' pragma: @@ -59,25 +59,25 @@ 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-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006?api-version=2018-01-01-preview response: body: - string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002","name":"cli-test-resource-000002","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000002","createdAt":"2021-05-14T07:55:31.24Z","updatedAt":"2021-05-14T07:55:31.24Z","serviceBusEndpoint":"https://cli-test-resource-000002.servicebus.windows.net:443/","status":"Activating"}}' + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000006","createdAt":"2021-05-28T07:40:59.757Z","updatedAt":"2021-05-28T07:40:59.757Z","serviceBusEndpoint":"https://cli-test-resource-000006.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '777' + - '779' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:55:32 GMT + - Fri, 28 May 2021 07:41:00 GMT expires: - '-1' pragma: @@ -114,23 +114,23 @@ 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-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006?api-version=2018-01-01-preview response: body: - string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002","name":"cli-test-resource-000002","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000002","createdAt":"2021-05-14T07:55:31.24Z","updatedAt":"2021-05-14T07:55:31.24Z","serviceBusEndpoint":"https://cli-test-resource-000002.servicebus.windows.net:443/","status":"Activating"}}' + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000006","createdAt":"2021-05-28T07:40:59.757Z","updatedAt":"2021-05-28T07:40:59.757Z","serviceBusEndpoint":"https://cli-test-resource-000006.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '777' + - '779' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:56:03 GMT + - Fri, 28 May 2021 07:41:31 GMT expires: - '-1' pragma: @@ -165,23 +165,23 @@ 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-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006?api-version=2018-01-01-preview response: body: - string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002","name":"cli-test-resource-000002","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000002","createdAt":"2021-05-14T07:55:31.24Z","updatedAt":"2021-05-14T07:55:31.24Z","serviceBusEndpoint":"https://cli-test-resource-000002.servicebus.windows.net:443/","status":"Activating"}}' + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Created","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000006","createdAt":"2021-05-28T07:40:59.757Z","updatedAt":"2021-05-28T07:40:59.757Z","serviceBusEndpoint":"https://cli-test-resource-000006.servicebus.windows.net:443/","status":"Activating"}}' headers: cache-control: - no-cache content-length: - - '777' + - '779' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:56:35 GMT + - Fri, 28 May 2021 07:42:02 GMT expires: - '-1' pragma: @@ -216,23 +216,23 @@ 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-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006?api-version=2018-01-01-preview response: body: - string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002","name":"cli-test-resource-000002","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000002","createdAt":"2021-05-14T07:55:31.24Z","updatedAt":"2021-05-14T07:56:54.593Z","serviceBusEndpoint":"https://cli-test-resource-000002.servicebus.windows.net:443/","status":"Active"}}' + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000006","createdAt":"2021-05-28T07:40:59.757Z","updatedAt":"2021-05-28T07:42:04.223Z","serviceBusEndpoint":"https://cli-test-resource-000006.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '776' + - '777' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:05 GMT + - Fri, 28 May 2021 07:42:32 GMT expires: - '-1' pragma: @@ -267,34 +267,34 @@ 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-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006?api-version=2018-01-01-preview response: body: - string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002","name":"cli-test-resource-000002","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000002","createdAt":"2021-05-14T07:55:31.24Z","updatedAt":"2021-05-14T07:56:54.593Z","serviceBusEndpoint":"https://cli-test-resource-000002.servicebus.windows.net:443/","status":"Active"}}' + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000006","createdAt":"2021-05-28T07:40:59.757Z","updatedAt":"2021-05-28T07:42:04.223Z","serviceBusEndpoint":"https://cli-test-resource-000006.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '776' + - '777' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:05 GMT + - Fri, 28 May 2021 07:42:33 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -320,34 +320,34 @@ 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-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-eventhub/4.1.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006?api-version=2018-01-01-preview response: body: - string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002","name":"cli-test-resource-000002","type":"Microsoft.EventHub/Namespaces","location":"West - US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000002","createdAt":"2021-05-14T07:55:31.24Z","updatedAt":"2021-05-14T07:56:54.593Z","serviceBusEndpoint":"https://cli-test-resource-000002.servicebus.windows.net:443/","status":"Active"}}' + string: '{"sku":{"name":"Standard","tier":"Standard","capacity":1},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.EventHub/Namespaces","location":"West + US","tags":{},"properties":{"zoneRedundant":false,"isAutoInflateEnabled":false,"maximumThroughputUnits":0,"kafkaEnabled":true,"provisioningState":"Succeeded","metricId":"0b1f6471-1bf0-4dda-aec3-cb9272f09590:cli-test-resource-000006","createdAt":"2021-05-28T07:40:59.757Z","updatedAt":"2021-05-28T07:42:04.223Z","serviceBusEndpoint":"https://cli-test-resource-000006.servicebus.windows.net:443/","status":"Active"}}' headers: cache-control: - no-cache content-length: - - '776' + - '777' content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:05 GMT + - Fri, 28 May 2021 07:42:33 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -373,12 +373,12 @@ interactions: ParameterSetName: - --name -g --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateLinkResources?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateLinkResources?api-version=2018-01-01-preview response: body: - string: '{"value":[{"id":"subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateLinkResources/namespace","name":"namespace","type":"Microsoft.EventHub/namespaces/privateLinkResources","properties":{"groupId":"namespace","requiredMembers":["namespace"],"requiredZoneNames":["privatelink.servicebus.windows.net"]}}]}' + string: '{"value":[{"id":"subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateLinkResources/namespace","name":"namespace","type":"Microsoft.EventHub/namespaces/privateLinkResources","properties":{"groupId":"namespace","requiredMembers":["namespace"],"requiredZoneNames":["privatelink.servicebus.windows.net"]}}]}' headers: cache-control: - no-cache @@ -387,16 +387,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:06 GMT + - Fri, 28 May 2021 07:42:36 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -422,12 +422,12 @@ interactions: ParameterSetName: - -n -g --subnet-name User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_eventhub000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001","name":"test_private_endpoint_connection_eventhub000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:55:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001","name":"test_private_endpoint_connection_eventhub000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T07:40:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -436,7 +436,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:06 GMT + - Fri, 28 May 2021 07:42:36 GMT expires: - '-1' pragma: @@ -452,7 +452,7 @@ interactions: message: OK - request: body: '{"location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"name": "cli-subnet-000004", + ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"name": "cli-subnet-000003", "properties": {"addressPrefix": "10.0.0.0/24", "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}}]}}' headers: @@ -471,21 +471,21 @@ interactions: ParameterSetName: - -n -g --subnet-name 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.24.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/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"5f5a82a9-3bbb-4807-8549-efe6ded9deb1\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-vnet-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002\",\r\n + \ \"etag\": \"W/\\\"92635a4e-5155-4399-8545-517c30036f10\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"365ac659-3a42-4bf1-82ac-38314705b0a9\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"588f095a-09db-481e-8db6-72722ce6bf3e\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"5f5a82a9-3bbb-4807-8549-efe6ded9deb1\\\"\",\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"92635a4e-5155-4399-8545-517c30036f10\\\"\",\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\": @@ -496,7 +496,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/c20732da-adcf-4cc3-b4cf-2fc5510eee39?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bb390109-562e-4924-affb-9bfe23e73673?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -504,7 +504,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:12 GMT + - Fri, 28 May 2021 07:42:43 GMT expires: - '-1' pragma: @@ -517,9 +517,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b1a1d135-adcb-459d-a89d-b0d13d3f9e2d + - daa702e7-c358-493d-b159-c4c7d38840d4 x-ms-ratelimit-remaining-subscription-writes: - - '1185' + - '1199' status: code: 201 message: Created @@ -537,9 +537,9 @@ interactions: ParameterSetName: - -n -g --subnet-name 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.24.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/westus/operations/c20732da-adcf-4cc3-b4cf-2fc5510eee39?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/bb390109-562e-4924-affb-9bfe23e73673?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -551,7 +551,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:16 GMT + - Fri, 28 May 2021 07:42:46 GMT expires: - '-1' pragma: @@ -568,7 +568,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a975e22c-07fc-40ee-962c-668bc0ddc926 + - 5311faf9-81da-4019-8cc9-ed18b7a8bce6 status: code: 200 message: OK @@ -586,21 +586,21 @@ interactions: ParameterSetName: - -n -g --subnet-name 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.24.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/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"50b10588-96c3-48f2-8187-81ed728b605b\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-vnet-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002\",\r\n + \ \"etag\": \"W/\\\"7989f96e-d630-4248-adf3-aeabc82efe99\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"365ac659-3a42-4bf1-82ac-38314705b0a9\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"588f095a-09db-481e-8db6-72722ce6bf3e\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n - \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"50b10588-96c3-48f2-8187-81ed728b605b\\\"\",\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"7989f96e-d630-4248-adf3-aeabc82efe99\\\"\",\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\": @@ -615,9 +615,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:16 GMT + - Fri, 28 May 2021 07:42:46 GMT etag: - - W/"50b10588-96c3-48f2-8187-81ed728b605b" + - W/"7989f96e-d630-4248-adf3-aeabc82efe99" expires: - '-1' pragma: @@ -634,7 +634,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f562c8f4-74b8-4963-90b8-9057d8f17eaf + - 344c8f9c-95cd-41b6-b18e-56be01613bcd status: code: 200 message: OK @@ -652,13 +652,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"50b10588-96c3-48f2-8187-81ed728b605b\\\"\",\r\n \"properties\": + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"7989f96e-d630-4248-adf3-aeabc82efe99\\\"\",\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\": @@ -671,9 +671,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:17 GMT + - Fri, 28 May 2021 07:42:47 GMT etag: - - W/"50b10588-96c3-48f2-8187-81ed728b605b" + - W/"7989f96e-d630-4248-adf3-aeabc82efe99" expires: - '-1' pragma: @@ -690,13 +690,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - be071833-f80c-4b22-a0b3-541ef5931f21 + - 5c32a78c-6d0f-4053-8f1b-5365f554925f status: code: 200 message: OK - request: - body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004", - "name": "cli-subnet-000004", "type": "Microsoft.Network/virtualNetworks/subnets", + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003", + "name": "cli-subnet-000003", "type": "Microsoft.Network/virtualNetworks/subnets", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}}' headers: @@ -715,20 +715,20 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"ba9f17ef-28b5-414c-930a-5b9b92204e29\\\"\",\r\n \"properties\": + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"9fa98305-a5d9-43f6-811a-24de7e522d26\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/fb12695a-0ba0-488e-ad94-a8d9f107ab0d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ae561744-4fc1-408f-9b57-a014947ce719?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -736,7 +736,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:17 GMT + - Fri, 28 May 2021 07:42:48 GMT expires: - '-1' pragma: @@ -753,9 +753,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 43a81f3e-2c07-4f04-9f30-0e0c7fe95cce + - 7055c301-3504-4f1a-9702-7923725357fe x-ms-ratelimit-remaining-subscription-writes: - - '1185' + - '1198' status: code: 200 message: OK @@ -773,9 +773,9 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/westus/operations/fb12695a-0ba0-488e-ad94-a8d9f107ab0d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/ae561744-4fc1-408f-9b57-a014947ce719?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -787,7 +787,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:20 GMT + - Fri, 28 May 2021 07:42:51 GMT expires: - '-1' pragma: @@ -804,7 +804,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 92b2835d-4ce2-4fe8-a73d-31c33c089c48 + - c6c8492a-94a7-4467-8e74-a8d3e2cabe06 status: code: 200 message: OK @@ -822,13 +822,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies 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.24.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/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"6876d2a1-8c9d-4a4f-aa9a-da3ee113444a\\\"\",\r\n \"properties\": + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"af59856c-aedc-4547-a401-06bccb1642ca\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -841,9 +841,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:21 GMT + - Fri, 28 May 2021 07:42:51 GMT etag: - - W/"6876d2a1-8c9d-4a4f-aa9a-da3ee113444a" + - W/"af59856c-aedc-4547-a401-06bccb1642ca" expires: - '-1' pragma: @@ -860,7 +860,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 60c79488-58dc-480e-915e-afbf2bc6dea6 + - 7ae9e114-9a3f-4f6c-b17a-074155bfa38e status: code: 200 message: OK @@ -879,12 +879,12 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id User-Agent: - - AZURECLI/2.23.0 azsdk-python-azure-mgmt-resource/16.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_eventhub000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001","name":"test_private_endpoint_connection_eventhub000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-14T07:55:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001","name":"test_private_endpoint_connection_eventhub000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T07:40:47Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -893,7 +893,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:22 GMT + - Fri, 28 May 2021 07:42:52 GMT expires: - '-1' pragma: @@ -908,10 +908,10 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004", + body: '{"location": "westus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003", "properties": {"privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": - "Enabled"}}, "privateLinkServiceConnections": [{"name": "cli-pec-000006", "properties": - {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002", + "Enabled"}}, "privateLinkServiceConnections": [{"name": "cli-pec-000005", "properties": + {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006", "groupIds": ["namespace"]}}]}}' headers: Accept: @@ -930,33 +930,33 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"f60dde97-f882-4b8e-8f7a-111746de9442\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n + \ \"etag\": \"W/\\\"2e2aa9df-fd1b-4522-80b3-1b37e25f7880\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"fd6918a0-ee3b-4f8d-b6e5-865eb74398a8\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"f60dde97-f882-4b8e-8f7a-111746de9442\\\"\",\r\n + \"1ea62aff-e051-4080-8c5e-3b8e7f6fcb54\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005\",\r\n + \ \"etag\": \"W/\\\"2e2aa9df-fd1b-4522-80b3-1b37e25f7880\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006\",\r\n \ \"groupIds\": [\r\n \"namespace\"\r\n ],\r\n \ \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.4f909c03-e39c-4c07-879f-22d935f97bc9\"\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.6a59135d-b88b-4429-9961-787e935d5b7f\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8e0b9616-37c6-4b94-8df5-a31ceb1a9039?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/df8a51a4-f5f3-4c87-94d3-3be4f1d8ffaa?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -964,7 +964,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:29 GMT + - Fri, 28 May 2021 07:42:59 GMT expires: - '-1' pragma: @@ -977,9 +977,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5b57dd73-d84e-4056-ac47-809b7c4aae2f + - e474b2f0-fedf-4976-9454-dc1c297334a0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1199' status: code: 201 message: Created @@ -998,9 +998,9 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/westus/operations/8e0b9616-37c6-4b94-8df5-a31ceb1a9039?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/df8a51a4-f5f3-4c87-94d3-3be4f1d8ffaa?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1012,7 +1012,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:57:40 GMT + - Fri, 28 May 2021 07:43:09 GMT expires: - '-1' pragma: @@ -1029,7 +1029,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 25cc6254-bc65-474b-a499-67d69df357c7 + - 2844ed58-0737-4c33-9e34-dcf3ac6bf371 status: code: 200 message: OK @@ -1048,9 +1048,9 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/westus/operations/8e0b9616-37c6-4b94-8df5-a31ceb1a9039?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/df8a51a4-f5f3-4c87-94d3-3be4f1d8ffaa?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1062,7 +1062,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:00 GMT + - Fri, 28 May 2021 07:43:29 GMT expires: - '-1' pragma: @@ -1079,7 +1079,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5804d308-7ab7-4f41-b14f-0de81361d1f0 + - 4e55051e-6350-4569-8f50-b2e78fb84673 status: code: 200 message: OK @@ -1098,9 +1098,9 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/westus/operations/8e0b9616-37c6-4b94-8df5-a31ceb1a9039?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/df8a51a4-f5f3-4c87-94d3-3be4f1d8ffaa?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1112,7 +1112,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:20 GMT + - Fri, 28 May 2021 07:43:50 GMT expires: - '-1' pragma: @@ -1129,7 +1129,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 36b5a58a-5b02-4b07-a802-1544270f53ea + - 04e2052b-cafd-4e95-9cb9-a564ddada365 status: code: 200 message: OK @@ -1148,29 +1148,29 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.24.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/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2021-02-01 response: body: - string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"c58b899e-f602-430a-8258-2e8cafe4be1c\\\"\",\r\n \"type\": + string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n + \ \"etag\": \"W/\\\"242814ed-10a8-4513-9ab1-5edfc7593e45\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"fd6918a0-ee3b-4f8d-b6e5-865eb74398a8\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"c58b899e-f602-430a-8258-2e8cafe4be1c\\\"\",\r\n + \"1ea62aff-e051-4080-8c5e-3b8e7f6fcb54\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005\",\r\n + \ \"etag\": \"W/\\\"242814ed-10a8-4513-9ab1-5edfc7593e45\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006\",\r\n \ \"groupIds\": [\r\n \"namespace\"\r\n ],\r\n \ \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n - \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.4f909c03-e39c-4c07-879f-22d935f97bc9\"\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.6a59135d-b88b-4429-9961-787e935d5b7f\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"cli-test-resource-000002.servicebus.windows.net\",\r\n \"ipAddresses\": + \"cli-test-resource-000006.servicebus.windows.net\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" headers: cache-control: @@ -1180,9 +1180,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:21 GMT + - Fri, 28 May 2021 07:43:50 GMT etag: - - W/"c58b899e-f602-430a-8258-2e8cafe4be1c" + - W/"242814ed-10a8-4513-9ab1-5edfc7593e45" expires: - '-1' pragma: @@ -1199,7 +1199,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a8ecae54-e150-4913-86b6-f35966ad149a + - 9dee7443-13cb-412b-ad95-77474cac2326 status: code: 200 message: OK @@ -1217,13 +1217,13 @@ interactions: ParameterSetName: - --name -g --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections?api-version=2018-01-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e","name":"e3ec4139-7406-48d9-903a-f8e89abdd52e","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West - US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8","name":"1af0a4c8-72cc-4c73-b650-b17073e865c8","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West + US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}}}]}' headers: cache-control: - no-cache @@ -1232,16 +1232,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:21 GMT + - Fri, 28 May 2021 07:43:51 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1267,13 +1267,13 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e","name":"e3ec4139-7406-48d9-903a-f8e89abdd52e","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West - US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8","name":"1af0a4c8-72cc-4c73-b650-b17073e865c8","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West + US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}}}' headers: cache-control: - no-cache @@ -1282,7 +1282,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:24 GMT + - Fri, 28 May 2021 07:43:52 GMT expires: - '-1' pragma: @@ -1317,13 +1317,13 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e","name":"e3ec4139-7406-48d9-903a-f8e89abdd52e","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West - US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8","name":"1af0a4c8-72cc-4c73-b650-b17073e865c8","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West + US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved"}}}' headers: cache-control: - no-cache @@ -1332,7 +1332,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:24 GMT + - Fri, 28 May 2021 07:43:52 GMT expires: - '-1' pragma: @@ -1354,10 +1354,10 @@ interactions: code: 200 message: OK - request: - body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e", - "name": "e3ec4139-7406-48d9-903a-f8e89abdd52e", "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections", + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8", + "name": "1af0a4c8-72cc-4c73-b650-b17073e865c8", "type": "Microsoft.EventHub/Namespaces/PrivateEndpointConnections", "location": "West US", "properties": {"provisioningState": "Succeeded", "privateEndpoint": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"}, "privateLinkServiceConnectionState": {"status": "Rejected", "description": null}}}' headers: Accept: @@ -1375,16 +1375,16 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e","name":"e3ec4139-7406-48d9-903a-f8e89abdd52e","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West - US","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected","description":""}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8","name":"1af0a4c8-72cc-4c73-b650-b17073e865c8","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West + US","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":""}}}' headers: azure-asyncoperation: - - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e/operationStatus/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview&operationType=Update + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8/operationStatus/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview&operationType=Update cache-control: - no-cache content-length: @@ -1392,22 +1392,22 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:25 GMT + - Fri, 28 May 2021 07:43:54 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1198' status: code: 202 message: Accepted @@ -1425,13 +1425,13 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e","name":"e3ec4139-7406-48d9-903a-f8e89abdd52e","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West - US","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected","description":""}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8","name":"1af0a4c8-72cc-4c73-b650-b17073e865c8","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West + US","properties":{"provisioningState":"Updating","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":""}}}' headers: cache-control: - no-cache @@ -1440,16 +1440,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:36 GMT + - Fri, 28 May 2021 07:44:06 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1475,13 +1475,13 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e","name":"e3ec4139-7406-48d9-903a-f8e89abdd52e","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West - US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected","description":""}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8","name":"1af0a4c8-72cc-4c73-b650-b17073e865c8","type":"Microsoft.EventHub/Namespaces/PrivateEndpointConnections","location":"West + US","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Rejected","description":""}}}' headers: cache-control: - no-cache @@ -1490,16 +1490,16 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 14 May 2021 07:58:46 GMT + - Fri, 28 May 2021 07:44:16 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/CH3 + - Service-Bus-Resource-Provider/SN1 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -1527,36 +1527,36 @@ interactions: ParameterSetName: - --name -g --resource-name --type -y User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.23.0 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000002/privateEndpointConnections/e3ec4139-7406-48d9-903a-f8e89abdd52e/operationStatus/e3ec4139-7406-48d9-903a-f8e89abdd52e?api-version=2018-01-01-preview&operationType=Delete + - https://management.azure.com:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_eventhub000001/providers/Microsoft.EventHub/namespaces/cli-test-resource-000006/privateEndpointConnections/1af0a4c8-72cc-4c73-b650-b17073e865c8/operationStatus/1af0a4c8-72cc-4c73-b650-b17073e865c8?api-version=2018-01-01-preview&operationType=Delete cache-control: - no-cache content-length: - '0' date: - - Fri, 14 May 2021 07:58:49 GMT + - Fri, 28 May 2021 07:44:17 GMT expires: - '-1' pragma: - no-cache server: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 - Microsoft-HTTPAPI/2.0 server-sb: - - Service-Bus-Resource-Provider/SN1 + - Service-Bus-Resource-Provider/CH3 strict-transport-security: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14989' + - '14998' status: code: 202 message: Accepted diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_sql_server.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_sql_server.yaml new file mode 100644 index 00000000000..429a6a99e08 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_sql_server.yaml @@ -0,0 +1,1408 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001","name":"test_private_endpoint_connection_sql_server000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T06:08:38Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:08:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"administratorLogin": "admin123", + "administratorLoginPassword": "SecretPassword123"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006?api-version=2019-06-01-preview + response: + body: + string: '{"operation":"UpsertLogicalServer","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + cache-control: + - no-cache + content-length: + - '74' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:08:46 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverOperationResults/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + response: + body: + string: '{"name":"d4b7d8ea-c01c-4830-9c22-ae256963d9dc","status":"InProgress","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:08:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + response: + body: + string: '{"name":"d4b7d8ea-c01c-4830-9c22-ae256963d9dc","status":"InProgress","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:08:50 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + response: + body: + string: '{"name":"d4b7d8ea-c01c-4830-9c22-ae256963d9dc","status":"InProgress","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:08:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + response: + body: + string: '{"name":"d4b7d8ea-c01c-4830-9c22-ae256963d9dc","status":"InProgress","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:08:52 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + response: + body: + string: '{"name":"d4b7d8ea-c01c-4830-9c22-ae256963d9dc","status":"InProgress","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:09:12 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + response: + body: + string: '{"name":"d4b7d8ea-c01c-4830-9c22-ae256963d9dc","status":"InProgress","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:09:33 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/serverAzureAsyncOperation/d4b7d8ea-c01c-4830-9c22-ae256963d9dc?api-version=2019-06-01-preview + response: + body: + string: '{"name":"d4b7d8ea-c01c-4830-9c22-ae256963d9dc","status":"Succeeded","startTime":"2021-05-28T06:08:47.297Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:09:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server create + Connection: + - keep-alive + ParameterSetName: + - -g -n --admin-user --admin-password + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006?api-version=2019-06-01-preview + response: + body: + string: '{"kind":"v12.0","properties":{"administratorLogin":"admin123","version":"12.0","state":"Ready","fullyQualifiedDomainName":"cli-test-resource-000006.database.windows.net","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"location":"westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.Sql/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:09:53 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql server show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-sql/0.26.0 Azure-SDK-For-Python AZURECLI/2.24.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006?api-version=2019-06-01-preview + response: + body: + string: '{"kind":"v12.0","properties":{"administratorLogin":"admin123","version":"12.0","state":"Ready","fullyQualifiedDomainName":"cli-test-resource-000006.database.windows.net","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"location":"westus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006","name":"cli-test-resource-000006","type":"Microsoft.Sql/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '527' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:09:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-link-resource list + Connection: + - keep-alive + ParameterSetName: + - --name -g --type + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006/privateLinkResources?api-version=2018-06-01-preview + response: + body: + string: '{"value":[{"properties":{"groupId":"sqlServer","requiredMembers":["sqlServer"],"requiredZoneNames":["privatelink.database.windows.net"]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006/privateLinkResources/plr","name":"plr","type":"Microsoft.Sql/servers/privateLinkResources"}]}' + headers: + cache-control: + - no-cache + content-length: + - '436' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:09:55 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet-name + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001","name":"test_private_endpoint_connection_sql_server000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T06:08:38Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:09:56 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"name": "cli-subnet-000003", + "properties": {"addressPrefix": "10.0.0.0/24", "privateEndpointNetworkPolicies": + "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + Content-Length: + - '315' + Content-Type: + - application/json + ParameterSetName: + - -n -g --subnet-name + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"cli-vnet-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002\",\r\n + \ \"etag\": \"W/\\\"15eeef9c-cc8e-4e07-9479-c475d26e7919\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"d83dff18-dd86-422d-a954-5e20e50bae71\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"15eeef9c-cc8e-4e07-9479-c475d26e7919\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/a6cfb046-149f-467d-8a2e-786770d02d8d?api-version=2021-02-01 + cache-control: + - no-cache + content-length: + - '1494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:01 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: + - b63235e5-3c2e-4980-9b9e-cc099654c366 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet-name + User-Agent: + - AZURECLI/2.24.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/westus/operations/a6cfb046-149f-467d-8a2e-786770d02d8d?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: + - Fri, 28 May 2021 06:10:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 6a7d5f8f-46f4-4983-b44d-eca458a3e2d9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet create + Connection: + - keep-alive + ParameterSetName: + - -n -g --subnet-name + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"cli-vnet-000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002\",\r\n + \ \"etag\": \"W/\\\"6c2cce80-cfa0-4811-be02-a17116db253d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"d83dff18-dd86-422d-a954-5e20e50bae71\",\r\n \"addressSpace\": + {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n + \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n + \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000003\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"6c2cce80-cfa0-4811-be02-a17116db253d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1496' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:05 GMT + etag: + - W/"6c2cce80-cfa0-4811-be02-a17116db253d" + 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: + - 0bf1641b-ae3c-4105-bf4c-b5e93ca8b333 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"6c2cce80-cfa0-4811-be02-a17116db253d\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:07 GMT + etag: + - W/"6c2cce80-cfa0-4811-be02-a17116db253d" + 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: + - a2e94543-8d20-48a6-adfe-081fe7a637a6 + status: + code: 200 + message: OK +- request: + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003", + "name": "cli-subnet-000003", "type": "Microsoft.Network/virtualNetworks/subnets", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + Content-Length: + - '504' + Content-Type: + - application/json + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"56c635de-9d4f-4746-9b56-c5cc94852726\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/836fd9cd-2e28-4b65-9001-336a925ada98?api-version=2021-02-01 + cache-control: + - no-cache + content-length: + - '639' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c2fe1b68-a443-49f2-b27b-f82eca381178 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - AZURECLI/2.24.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/westus/operations/836fd9cd-2e28-4b65-9001-336a925ada98?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: + - Fri, 28 May 2021 06:10:10 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: + - 18c3364f-27bc-440d-b410-8329d8dfe5a4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet update + Connection: + - keep-alive + ParameterSetName: + - -n --vnet-name -g --disable-private-endpoint-network-policies + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"cli-subnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\",\r\n + \ \"etag\": \"W/\\\"c074c229-893f-4d69-bd36-0183ea446d07\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '640' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:11 GMT + etag: + - W/"c074c229-893f-4d69-bd36-0183ea446d07" + 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: + - cae6780d-1bcb-475e-80f0-6543289d51ac + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id + --group-id + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001?api-version=2020-10-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001","name":"test_private_endpoint_connection_sql_server000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T06:08:38Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003", + "properties": {"privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": + "Enabled"}}, "privateLinkServiceConnections": [{"name": "cli-pec-000005", "properties": + {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006", + "groupIds": ["sqlServer"]}}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '756' + Content-Type: + - application/json + ParameterSetName: + - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id + --group-id + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n + \ \"etag\": \"W/\\\"2ca3a4a4-8c35-4384-ac57-366483b08b21\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"4a6541a0-bc83-48fc-8fea-166f63d52684\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005\",\r\n + \ \"etag\": \"W/\\\"2ca3a4a4-8c35-4384-ac57-366483b08b21\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006\",\r\n + \ \"groupIds\": [\r\n \"sqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.cdc62832-f80a-43d6-a82e-0db6ead96cb8\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8b88291b-8430-43b1-869f-fcc7c11e5a5d?api-version=2021-02-01 + cache-control: + - no-cache + content-length: + - '2306' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - b8aa14d5-6773-431f-b4b7-4f0e5f2d82d4 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id + --group-id + User-Agent: + - AZURECLI/2.24.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/westus/operations/8b88291b-8430-43b1-869f-fcc7c11e5a5d?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: + - Fri, 28 May 2021 06:10: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: + - 512dfd2e-fa69-4645-bfa2-fb763edae8d4 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id + --group-id + User-Agent: + - AZURECLI/2.24.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/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004?api-version=2021-02-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004\",\r\n + \ \"etag\": \"W/\\\"2066115f-75ef-456d-a4fd-382f138ccfe3\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"4a6541a0-bc83-48fc-8fea-166f63d52684\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004/privateLinkServiceConnections/cli-pec-000005\",\r\n + \ \"etag\": \"W/\\\"2066115f-75ef-456d-a4fd-382f138ccfe3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006\",\r\n + \ \"groupIds\": [\r\n \"sqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Approved\",\r\n \"description\": \"Auto-approved\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000002/subnets/cli-subnet-000003\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000004.nic.cdc62832-f80a-43d6-a82e-0db6ead96cb8\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"cli-test-resource-000006.database.windows.net\",\r\n \"ipAddresses\": + [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2469' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:29 GMT + etag: + - W/"2066115f-75ef-456d-a4fd-382f138ccfe3" + 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: + - 6e2cd90e-88a4-4926-ba8c-fe9569c00c18 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection list + Connection: + - keep-alive + ParameterSetName: + - --name -g --type + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006/privateEndpointConnections?api-version=2018-06-01-preview + response: + body: + string: '{"value":[{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006/privateEndpointConnections/cli-pe-000004-2cfef5b2-6ca7-4de9-9882-5ea6d93b1b2b","name":"cli-pe-000004-2cfef5b2-6ca7-4de9-9882-5ea6d93b1b2b","type":"Microsoft.Sql/servers/privateEndpointConnections"}]}' + headers: + cache-control: + - no-cache + content-length: + - '834' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --name -g --resource-name --type + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006/privateEndpointConnections/cli-pe-000004-2cfef5b2-6ca7-4de9-9882-5ea6d93b1b2b?api-version=2018-06-01-preview + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000004"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006/privateEndpointConnections/cli-pe-000004-2cfef5b2-6ca7-4de9-9882-5ea6d93b1b2b","name":"cli-pe-000004-2cfef5b2-6ca7-4de9-9882-5ea6d93b1b2b","type":"Microsoft.Sql/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '822' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:30 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name -g --resource-name --type -y + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/servers/cli-test-resource-000006/privateEndpointConnections/cli-pe-000004-2cfef5b2-6ca7-4de9-9882-5ea6d93b1b2b?api-version=2018-06-01-preview + response: + body: + string: '{"operation":"DropPrivateEndpointConnection","startTime":"2021-05-28T06:10:31.903Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/privateEndpointConnectionAzureAsyncOperation/fda5a487-6d7c-4c22-8676-9eeadbeaf02d?api-version=2018-06-01-preview + cache-control: + - no-cache + content-length: + - '84' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 06:10:32 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_sql_server000001/providers/Microsoft.Sql/locations/westus/privateEndpointConnectionOperationResults/fda5a487-6d7c-4c22-8676-9eeadbeaf02d?api-version=2018-06-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml index fb1faf9855f..6e9c21d3695 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_private_endpoint_connection_synapse_workspace.yaml @@ -1,146 +1,4 @@ interactions: -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account create - Connection: - - keep-alive - ParameterSetName: - - -n -g - 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.1.0 Azure-SDK-For-Python AZURECLI/2.22.1 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test_private_endpoint_connection_synapse_workspace000001?api-version=2020-10-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001","name":"test_private_endpoint_connection_synapse_workspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-25T06:08:11Z"},"properties":{"provisioningState":"Succeeded"}}' - headers: - cache-control: - - no-cache - content-length: - - '428' - content-type: - - application/json; charset=utf-8 - date: - - Sun, 25 Apr 2021 06:08: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: '{"sku": {"name": "Standard_RAGRS"}, "kind": "StorageV2", "location": "westus", - "properties": {"encryption": {"services": {"blob": {}}, "keySource": "Microsoft.Storage"}}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account create - Connection: - - keep-alive - Content-Length: - - '170' - Content-Type: - - application/json - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-storage/17.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Storage/storageAccounts/saxyz?api-version=2021-04-01 - response: - body: - string: '' - headers: - cache-control: - - no-cache - content-length: - - '0' - content-type: - - text/plain; charset=utf-8 - date: - - Sun, 25 Apr 2021 06:08:23 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/23c386c8-f4f3-44d4-be1d-60c1b4f02459?monitor=true&api-version=2021-04-01 - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - storage account create - Connection: - - keep-alive - ParameterSetName: - - -n -g - User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-storage/17.1.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/23c386c8-f4f3-44d4-be1d-60c1b4f02459?monitor=true&api-version=2021-04-01 - response: - body: - string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Storage/storageAccounts/saxyz","name":"saxyz","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"keyCreationTime":{"key1":"2021-04-25T06:08:22.2824826Z","key2":"2021-04-25T06:08:22.2824826Z"},"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-04-25T06:08:22.2824826Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2021-04-25T06:08:22.2824826Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2021-04-25T06:08:22.2043584Z","primaryEndpoints":{"dfs":"https://saxyz.dfs.core.windows.net/","web":"https://saxyz.z22.web.core.windows.net/","blob":"https://saxyz.blob.core.windows.net/","queue":"https://saxyz.queue.core.windows.net/","table":"https://saxyz.table.core.windows.net/","file":"https://saxyz.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://saxyz-secondary.dfs.core.windows.net/","web":"https://saxyz-secondary.z22.web.core.windows.net/","blob":"https://saxyz-secondary.blob.core.windows.net/","queue":"https://saxyz-secondary.queue.core.windows.net/","table":"https://saxyz-secondary.table.core.windows.net/"}}}' - headers: - cache-control: - - no-cache - content-length: - - '1705' - content-type: - - application/json - date: - - Sun, 25 Apr 2021 06:08:41 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK - request: body: null headers: @@ -155,15 +13,12 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u 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.1.0 Azure-SDK-For-Python AZURECLI/2.22.1 - accept-language: - - en-US + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001","name":"test_private_endpoint_connection_synapse_workspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-25T06:08:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001","name":"test_private_endpoint_connection_synapse_workspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T08:04:36Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -172,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:08:41 GMT + - Fri, 28 May 2021 08:05:11 GMT expires: - '-1' pragma: @@ -188,7 +43,7 @@ interactions: message: OK - request: body: '{"location": "westus", "properties": {"defaultDataLakeStorage": {"accountUrl": - "https://saxyz.dfs.core.windows.net", "filesystem": "file-000"}, "sqlAdministratorLoginPassword": + "https://testpesyn000002.dfs.core.windows.net", "filesystem": "file-000"}, "sqlAdministratorLoginPassword": "123-xyz-456", "sqlAdministratorLogin": "synapse1230"}, "identity": {"type": "SystemAssigned"}}' headers: @@ -201,32 +56,32 @@ interactions: Connection: - keep-alive Content-Length: - - '272' + - '291' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007?api-version=2019-06-01-preview response: body: - string: '{"type":"Microsoft.Synapse/workspaces","properties":{"provisioningState":"Provisioning","connectivityEndpoints":{"web":"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f0b1f6471-1bf0-4dda-aec3-cb9272f09590%2fresourceGroups%2ftest_private_endpoint_connection_synapse_workspace000001%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcli-test-resource-000002","dev":"https://cli-test-resource-000002.dev.azuresynapse.net","sqlOnDemand":"cli-test-resource-000002-ondemand.sql.azuresynapse.net","sql":"cli-test-resource-000002.sql.azuresynapse.net"},"managedResourceGroupName":"synapseworkspace-managedrg-54d5c473-873f-46ba-88c9-c0eba60d307d","defaultDataLakeStorage":{"accountUrl":"https://saxyz.dfs.core.windows.net","filesystem":"file-000"},"privateEndpointConnections":[],"workspaceUID":"e6a1709f-323d-4c4a-97a4-53fa621c205a","extraProperties":{"IsScopeEnabled":false,"WorkspaceType":"Normal"},"encryption":{"doubleEncryptionEnabled":false}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002","location":"westus","name":"cli-test-resource-000002","identity":{"type":"SystemAssigned","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"22bec194-e8a3-47ca-9f7c-f16022689bbd"}}' + string: '{"type":"Microsoft.Synapse/workspaces","properties":{"provisioningState":"Provisioning","connectivityEndpoints":{"web":"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f0b1f6471-1bf0-4dda-aec3-cb9272f09590%2fresourceGroups%2ftest_private_endpoint_connection_synapse_workspace000001%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcli-test-resource-000007","dev":"https://cli-test-resource-000007.dev.azuresynapse.net","sqlOnDemand":"cli-test-resource-000007-ondemand.sql.azuresynapse.net","sql":"cli-test-resource-000007.sql.azuresynapse.net"},"managedResourceGroupName":"synapseworkspace-managedrg-d5ccb056-e94e-49a9-aec8-b45258efe4be","defaultDataLakeStorage":{"accountUrl":"https://testpesyn000002.dfs.core.windows.net","filesystem":"file-000"},"privateEndpointConnections":[],"workspaceUID":"ae39c8e4-1b79-4f4c-af58-963d42e16213","extraProperties":{"IsScopeEnabled":false,"WorkspaceType":"Normal"},"encryption":{"doubleEncryptionEnabled":false}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007","location":"westus","name":"cli-test-resource-000007","identity":{"type":"SystemAssigned","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"20ebb888-24c0-4373-b157-7451ae09ba12"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview cache-control: - no-cache content-length: - - '1375' + - '1394' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:08:52 GMT + - Fri, 28 May 2021 08:05:23 GMT expires: - '-1' pragma: @@ -238,7 +93,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -256,10 +111,10 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -271,7 +126,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:09:24 GMT + - Fri, 28 May 2021 08:05:55 GMT expires: - '-1' pragma: @@ -303,10 +158,10 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -318,7 +173,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:09:55 GMT + - Fri, 28 May 2021 08:06:25 GMT expires: - '-1' pragma: @@ -350,10 +205,10 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -365,7 +220,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:10:24 GMT + - Fri, 28 May 2021 08:06:56 GMT expires: - '-1' pragma: @@ -397,10 +252,10 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -412,7 +267,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:10:55 GMT + - Fri, 28 May 2021 08:07:26 GMT expires: - '-1' pragma: @@ -444,10 +299,10 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -459,7 +314,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:11:25 GMT + - Fri, 28 May 2021 08:07:56 GMT expires: - '-1' pragma: @@ -491,10 +346,10 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -506,7 +361,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:11:56 GMT + - Fri, 28 May 2021 08:08:27 GMT expires: - '-1' pragma: @@ -538,10 +393,10 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/00331504-51da-4cba-9cf2-e14af7a8a48f?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/98c1536b-a2dc-4f93-8013-1c8a0ee61378?api-version=2019-06-01-preview response: body: string: '{"status":"Succeeded"}' @@ -553,7 +408,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:26 GMT + - Fri, 28 May 2021 08:08:57 GMT expires: - '-1' pragma: @@ -585,22 +440,22 @@ interactions: ParameterSetName: - -g -n --storage-account --file-system -p -u User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007?api-version=2019-06-01-preview response: body: - string: '{"type":"Microsoft.Synapse/workspaces","properties":{"provisioningState":"Succeeded","connectivityEndpoints":{"web":"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f0b1f6471-1bf0-4dda-aec3-cb9272f09590%2fresourceGroups%2ftest_private_endpoint_connection_synapse_workspace000001%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcli-test-resource-000002","dev":"https://cli-test-resource-000002.dev.azuresynapse.net","sqlOnDemand":"cli-test-resource-000002-ondemand.sql.azuresynapse.net","sql":"cli-test-resource-000002.sql.azuresynapse.net"},"managedResourceGroupName":"synapseworkspace-managedrg-54d5c473-873f-46ba-88c9-c0eba60d307d","defaultDataLakeStorage":{"accountUrl":"https://saxyz.dfs.core.windows.net","filesystem":"file-000"},"sqlAdministratorLogin":"synapse1230","privateEndpointConnections":[],"workspaceUID":"e6a1709f-323d-4c4a-97a4-53fa621c205a","extraProperties":{"IsScopeEnabled":false,"WorkspaceType":"Normal"},"encryption":{"doubleEncryptionEnabled":false}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002","location":"westus","name":"cli-test-resource-000002","identity":{"type":"SystemAssigned","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"22bec194-e8a3-47ca-9f7c-f16022689bbd"}}' + string: '{"type":"Microsoft.Synapse/workspaces","properties":{"provisioningState":"Succeeded","connectivityEndpoints":{"web":"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f0b1f6471-1bf0-4dda-aec3-cb9272f09590%2fresourceGroups%2ftest_private_endpoint_connection_synapse_workspace000001%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcli-test-resource-000007","dev":"https://cli-test-resource-000007.dev.azuresynapse.net","sqlOnDemand":"cli-test-resource-000007-ondemand.sql.azuresynapse.net","sql":"cli-test-resource-000007.sql.azuresynapse.net"},"managedResourceGroupName":"synapseworkspace-managedrg-d5ccb056-e94e-49a9-aec8-b45258efe4be","defaultDataLakeStorage":{"accountUrl":"https://testpesyn000002.dfs.core.windows.net","filesystem":"file-000"},"sqlAdministratorLogin":"synapse1230","privateEndpointConnections":[],"workspaceUID":"ae39c8e4-1b79-4f4c-af58-963d42e16213","extraProperties":{"IsScopeEnabled":false,"WorkspaceType":"Normal"},"encryption":{"doubleEncryptionEnabled":false}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007","location":"westus","name":"cli-test-resource-000007","identity":{"type":"SystemAssigned","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"20ebb888-24c0-4373-b157-7451ae09ba12"}}' headers: cache-control: - no-cache content-length: - - '1410' + - '1429' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:27 GMT + - Fri, 28 May 2021 08:08:57 GMT expires: - '-1' pragma: @@ -632,24 +487,24 @@ 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-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-synapse/0.6.0 Azure-SDK-For-Python AZURECLI/2.24.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007?api-version=2019-06-01-preview response: body: - string: '{"type":"Microsoft.Synapse/workspaces","properties":{"provisioningState":"Succeeded","connectivityEndpoints":{"web":"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f0b1f6471-1bf0-4dda-aec3-cb9272f09590%2fresourceGroups%2ftest_private_endpoint_connection_synapse_workspace000001%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcli-test-resource-000002","dev":"https://cli-test-resource-000002.dev.azuresynapse.net","sqlOnDemand":"cli-test-resource-000002-ondemand.sql.azuresynapse.net","sql":"cli-test-resource-000002.sql.azuresynapse.net"},"managedResourceGroupName":"synapseworkspace-managedrg-54d5c473-873f-46ba-88c9-c0eba60d307d","defaultDataLakeStorage":{"accountUrl":"https://saxyz.dfs.core.windows.net","filesystem":"file-000"},"sqlAdministratorLogin":"synapse1230","privateEndpointConnections":[],"workspaceUID":"e6a1709f-323d-4c4a-97a4-53fa621c205a","extraProperties":{"IsScopeEnabled":false,"WorkspaceType":"Normal"},"encryption":{"doubleEncryptionEnabled":false}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002","location":"westus","name":"cli-test-resource-000002","identity":{"type":"SystemAssigned","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"22bec194-e8a3-47ca-9f7c-f16022689bbd"}}' + string: '{"type":"Microsoft.Synapse/workspaces","properties":{"provisioningState":"Succeeded","connectivityEndpoints":{"web":"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f0b1f6471-1bf0-4dda-aec3-cb9272f09590%2fresourceGroups%2ftest_private_endpoint_connection_synapse_workspace000001%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcli-test-resource-000007","dev":"https://cli-test-resource-000007.dev.azuresynapse.net","sqlOnDemand":"cli-test-resource-000007-ondemand.sql.azuresynapse.net","sql":"cli-test-resource-000007.sql.azuresynapse.net"},"managedResourceGroupName":"synapseworkspace-managedrg-d5ccb056-e94e-49a9-aec8-b45258efe4be","defaultDataLakeStorage":{"accountUrl":"https://testpesyn000002.dfs.core.windows.net","filesystem":"file-000"},"sqlAdministratorLogin":"synapse1230","privateEndpointConnections":[],"workspaceUID":"ae39c8e4-1b79-4f4c-af58-963d42e16213","extraProperties":{"IsScopeEnabled":false,"WorkspaceType":"Normal"},"encryption":{"doubleEncryptionEnabled":false}},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007","location":"westus","name":"cli-test-resource-000007","identity":{"type":"SystemAssigned","tenantId":"54826b22-38d6-4fb2-bad9-b7b93a3e9c5a","principalId":"20ebb888-24c0-4373-b157-7451ae09ba12"}}' headers: cache-control: - no-cache content-length: - - '1410' + - '1429' content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:29 GMT + - Fri, 28 May 2021 08:08:59 GMT expires: - '-1' pragma: @@ -681,12 +536,12 @@ interactions: ParameterSetName: - --name -g --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateLinkResources?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateLinkResources?api-version=2019-06-01-preview response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateLinkResources/Sql","name":"Sql","type":"Microsoft.Synapse/workspaces/privateLinkResources","groupId":"Sql","requiredZoneNames":["privatelink.sql.azuresynapse.net"],"requiredMembers":["Sql"]},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateLinkResources/SqlOnDemand","name":"SqlOnDemand","type":"Microsoft.Synapse/workspaces/privateLinkResources","groupId":"SqlOnDemand","requiredZoneNames":["privatelink.sql.azuresynapse.net"],"requiredMembers":["SqlOnDemand"]},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateLinkResources/Dev","name":"Dev","type":"Microsoft.Synapse/workspaces/privateLinkResources","groupId":"Dev","requiredZoneNames":["privatelink.dev.azuresynapse.net"],"requiredMembers":["Dev"]}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateLinkResources/Sql","name":"Sql","type":"Microsoft.Synapse/workspaces/privateLinkResources","groupId":"Sql","requiredZoneNames":["privatelink.sql.azuresynapse.net"],"requiredMembers":["Sql"]},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateLinkResources/SqlOnDemand","name":"SqlOnDemand","type":"Microsoft.Synapse/workspaces/privateLinkResources","groupId":"SqlOnDemand","requiredZoneNames":["privatelink.sql.azuresynapse.net"],"requiredMembers":["SqlOnDemand"]},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateLinkResources/Dev","name":"Dev","type":"Microsoft.Synapse/workspaces/privateLinkResources","groupId":"Dev","requiredZoneNames":["privatelink.dev.azuresynapse.net"],"requiredMembers":["Dev"]}]}' headers: cache-control: - no-cache @@ -695,7 +550,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:30 GMT + - Fri, 28 May 2021 08:09:03 GMT expires: - '-1' pragma: @@ -727,15 +582,12 @@ interactions: ParameterSetName: - -n -g --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.1.0 Azure-SDK-For-Python AZURECLI/2.22.1 - accept-language: - - en-US + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001","name":"test_private_endpoint_connection_synapse_workspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-25T06:08:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001","name":"test_private_endpoint_connection_synapse_workspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T08:04:36Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -744,7 +596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:30 GMT + - Fri, 28 May 2021 08:09:04 GMT expires: - '-1' pragma: @@ -761,7 +613,8 @@ interactions: - request: body: '{"location": "westus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"name": "cli-subnet-000004", - "properties": {"addressPrefix": "10.0.0.0/24"}}]}}' + "properties": {"addressPrefix": "10.0.0.0/24", "privateEndpointNetworkPolicies": + "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}}]}}' headers: Accept: - application/json @@ -772,27 +625,27 @@ interactions: Connection: - keep-alive Content-Length: - - '222' + - '315' Content-Type: - application/json ParameterSetName: - -n -g --subnet-name User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"c626ca82-5d23-4e5a-8d3a-0f7608941f99\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"f73ba510-b3e1-4fbf-8029-31bd2545120a\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"adac0799-3c12-4e9e-a34a-edbe1bdc4384\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"600970ba-cd78-46a0-9741-3528e0c6e9ff\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"c626ca82-5d23-4e5a-8d3a-0f7608941f99\\\"\",\r\n + \ \"etag\": \"W/\\\"f73ba510-b3e1-4fbf-8029-31bd2545120a\\\"\",\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\": @@ -803,7 +656,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e35d4b45-5d9a-46d8-9da4-8c91771801cf?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4d56f4ee-60ab-4bdc-b1b1-253396b89ba0?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -811,7 +664,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:37 GMT + - Fri, 28 May 2021 08:09:10 GMT expires: - '-1' pragma: @@ -824,9 +677,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bd6f4048-eaa8-4ccd-92a1-c0771982a80f + - b5d4dbe4-d5a2-43c3-9e0f-5eac8edeccd8 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -844,9 +697,9 @@ interactions: ParameterSetName: - -n -g --subnet-name User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/westus/operations/e35d4b45-5d9a-46d8-9da4-8c91771801cf?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4d56f4ee-60ab-4bdc-b1b1-253396b89ba0?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -858,7 +711,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:40 GMT + - Fri, 28 May 2021 08:09:13 GMT expires: - '-1' pragma: @@ -875,7 +728,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 40babfbf-0aa3-40be-b2f4-8610cec9c6c0 + - 4b36d3f1-650c-4ed2-8ab1-a6d4c5eaa6aa status: code: 200 message: OK @@ -893,21 +746,21 @@ interactions: ParameterSetName: - -n -g --subnet-name User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"558407b7-f3f9-4870-aae3-656ad0995583\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"c1fdcd6c-e651-4da9-b481-9dcacc443c10\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"adac0799-3c12-4e9e-a34a-edbe1bdc4384\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"600970ba-cd78-46a0-9741-3528e0c6e9ff\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-000004\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"558407b7-f3f9-4870-aae3-656ad0995583\\\"\",\r\n + \ \"etag\": \"W/\\\"c1fdcd6c-e651-4da9-b481-9dcacc443c10\\\"\",\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\": @@ -922,9 +775,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:41 GMT + - Fri, 28 May 2021 08:09:14 GMT etag: - - W/"558407b7-f3f9-4870-aae3-656ad0995583" + - W/"c1fdcd6c-e651-4da9-b481-9dcacc443c10" expires: - '-1' pragma: @@ -941,7 +794,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 48ea127e-1024-4a0e-8b86-3ca6d5db3d13 + - e590ca21-ad79-4df8-96d7-fc9c113d85e1 status: code: 200 message: OK @@ -959,13 +812,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"558407b7-f3f9-4870-aae3-656ad0995583\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"c1fdcd6c-e651-4da9-b481-9dcacc443c10\\\"\",\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\": @@ -978,9 +831,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:42 GMT + - Fri, 28 May 2021 08:09:14 GMT etag: - - W/"558407b7-f3f9-4870-aae3-656ad0995583" + - W/"c1fdcd6c-e651-4da9-b481-9dcacc443c10" expires: - '-1' pragma: @@ -997,15 +850,15 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4c1d021c-c8f7-489a-8d9e-b6d80de6bd13 + - ce1f329a-75b2-42ae-a7a6-47a4a7e2b9cf status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004", - "name": "cli-subnet-000004", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [], "privateEndpointNetworkPolicies": "Disabled", "privateLinkServiceNetworkPolicies": - "Enabled"}}' + "name": "cli-subnet-000004", "type": "Microsoft.Network/virtualNetworks/subnets", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Disabled", "privateLinkServiceNetworkPolicies": "Enabled"}}' headers: Accept: - application/json @@ -1016,26 +869,26 @@ interactions: Connection: - keep-alive Content-Length: - - '451' + - '504' Content-Type: - application/json ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"9a0ca206-f60d-4bf2-af9c-f0be82934654\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"7b6feb33-1201-4bba-a0b1-fe3a904242a3\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f9f56f76-2ff1-463c-9430-2c042ec13bea?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b14bb3ae-f830-4abf-b748-17e6beef94c7?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -1043,7 +896,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:42 GMT + - Fri, 28 May 2021 08:09:15 GMT expires: - '-1' pragma: @@ -1060,9 +913,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 836fc99d-2d56-4733-9ea2-e01b249b7b10 + - 62b83fe4-aecc-4d1a-9524-0e117862bbbd x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -1080,9 +933,9 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/westus/operations/f9f56f76-2ff1-463c-9430-2c042ec13bea?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/b14bb3ae-f830-4abf-b748-17e6beef94c7?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1094,7 +947,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:46 GMT + - Fri, 28 May 2021 08:09:18 GMT expires: - '-1' pragma: @@ -1111,7 +964,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 00c4c4e7-ec6e-4326-862e-130661e3bfa0 + - 6510c044-cc5e-481f-87d7-f1de7061ec12 status: code: 200 message: OK @@ -1129,13 +982,13 @@ interactions: ParameterSetName: - -n --vnet-name -g --disable-private-endpoint-network-policies User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"025a9965-92df-407a-a372-b30a7e41a48a\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"bbaf87eb-1ffb-4f1b-b330-fcf7c2d87bf6\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": @@ -1148,9 +1001,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:46 GMT + - Fri, 28 May 2021 08:09:18 GMT etag: - - W/"025a9965-92df-407a-a372-b30a7e41a48a" + - W/"bbaf87eb-1ffb-4f1b-b330-fcf7c2d87bf6" expires: - '-1' pragma: @@ -1167,7 +1020,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 77f7944f-0293-44ec-be66-0e6480b55387 + - 03ac73ad-7181-4d36-b941-23b1f2595040 status: code: 200 message: OK @@ -1186,15 +1039,12 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id 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.1.0 Azure-SDK-For-Python AZURECLI/2.22.1 - accept-language: - - en-US + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001","name":"test_private_endpoint_connection_synapse_workspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-25T06:08:11Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001","name":"test_private_endpoint_connection_synapse_workspace000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-28T08:04:36Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1203,7 +1053,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:46 GMT + - Fri, 28 May 2021 08:09:20 GMT expires: - '-1' pragma: @@ -1218,9 +1068,10 @@ interactions: code: 200 message: OK - request: - body: '{"location": "westus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, - "privateLinkServiceConnections": [{"name": "cli-pec-000006", "properties": {"privateLinkServiceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002", + body: '{"location": "westus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004", + "properties": {"privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": + "Enabled"}}, "privateLinkServiceConnections": [{"name": "cli-pec-000006", "properties": + {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007", "groupIds": ["Sql"]}}]}}' headers: Accept: @@ -1232,40 +1083,40 @@ interactions: Connection: - keep-alive Content-Length: - - '648' + - '757' Content-Type: - application/json ParameterSetName: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"bac94d23-26eb-41d9-8742-b0e518047cd5\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ab0f07d5-105c-4d23-a634-2ad4b735eb2c\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"48959fae-ab9c-40e8-8a6b-c154a0803ec5\",\r\n \"privateLinkServiceConnections\": + \"2df6ee1a-c4f6-4623-b4a8-0572d676db01\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"bac94d23-26eb-41d9-8742-b0e518047cd5\\\"\",\r\n + \ \"etag\": \"W/\\\"ab0f07d5-105c-4d23-a634-2ad4b735eb2c\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007\",\r\n \ \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.ef39888a-07ec-4962-8a99-a645a3a2ea59\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.f1177925-1a97-4f3b-9deb-041235fe8f6e\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/119f43ee-9fb0-42b9-b892-745004fdbc2d?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2e078397-a148-4e87-b7b0-0b271c78302e?api-version=2021-02-01 cache-control: - no-cache content-length: @@ -1273,7 +1124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:12:53 GMT + - Fri, 28 May 2021 08:09:26 GMT expires: - '-1' pragma: @@ -1286,7 +1137,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7b81ae5d-5341-4db7-95d9-26b9e22aaf80 + - 7d84b797-f26b-4a85-b81f-7f4be92e89b8 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1307,9 +1158,9 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/westus/operations/119f43ee-9fb0-42b9-b892-745004fdbc2d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2e078397-a148-4e87-b7b0-0b271c78302e?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -1321,7 +1172,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:03 GMT + - Fri, 28 May 2021 08:09:37 GMT expires: - '-1' pragma: @@ -1338,7 +1189,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e50d2e3d-8233-4ff4-be00-cd8afb389e07 + - 2e45212b-f054-4abe-ab8f-69a8229d92b7 status: code: 200 message: OK @@ -1357,9 +1208,9 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/westus/operations/119f43ee-9fb0-42b9-b892-745004fdbc2d?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/2e078397-a148-4e87-b7b0-0b271c78302e?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1371,7 +1222,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:24 GMT + - Fri, 28 May 2021 08:09:57 GMT expires: - '-1' pragma: @@ -1388,7 +1239,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9e30e894-73ba-42a1-94ef-2ab9947becc0 + - 13c453cf-5f8a-4299-ae1a-a079178b399c status: code: 200 message: OK @@ -1407,29 +1258,29 @@ interactions: - -g -n --vnet-name --subnet --connection-name --private-connection-resource-id --group-id User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-network/18.0.0 Python/3.7.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.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/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"0f23cfa5-10a1-4cd2-af3f-4c3ea2c8785e\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"1bb6c6c5-2921-46a2-9a45-fa7400ea11f3\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westus\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"48959fae-ab9c-40e8-8a6b-c154a0803ec5\",\r\n \"privateLinkServiceConnections\": + \"2df6ee1a-c4f6-4623-b4a8-0572d676db01\",\r\n \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"0f23cfa5-10a1-4cd2-af3f-4c3ea2c8785e\\\"\",\r\n + \ \"etag\": \"W/\\\"1bb6c6c5-2921-46a2-9a45-fa7400ea11f3\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007\",\r\n \ \"groupIds\": [\r\n \"Sql\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"\"\r\n }\r\n },\r\n \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\"\r\n - \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.ef39888a-07ec-4962-8a99-a645a3a2ea59\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.f1177925-1a97-4f3b-9deb-041235fe8f6e\"\r\n \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": - \"cli-test-resource-000002.sql.azuresynapse.net\",\r\n \"ipAddresses\": + \"cli-test-resource-000007.sql.azuresynapse.net\",\r\n \"ipAddresses\": [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" headers: cache-control: @@ -1439,9 +1290,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:25 GMT + - Fri, 28 May 2021 08:09:57 GMT etag: - - W/"0f23cfa5-10a1-4cd2-af3f-4c3ea2c8785e" + - W/"1bb6c6c5-2921-46a2-9a45-fa7400ea11f3" expires: - '-1' pragma: @@ -1458,7 +1309,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - bb110741-b63a-4803-89f6-32bdf03065c7 + - afe3abb9-7b83-4088-bb6f-cbfbb69a73dc status: code: 200 message: OK @@ -1476,12 +1327,12 @@ interactions: ParameterSetName: - --name -g --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections?api-version=2019-06-01-preview response: body: - string: '{"value":[{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}]}' + string: '{"value":[{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}]}' headers: cache-control: - no-cache @@ -1490,7 +1341,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:26 GMT + - Fri, 28 May 2021 08:10:00 GMT expires: - '-1' pragma: @@ -1522,12 +1373,12 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: - string: '{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' headers: cache-control: - no-cache @@ -1536,7 +1387,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:27 GMT + - Fri, 28 May 2021 08:10:01 GMT expires: - '-1' pragma: @@ -1555,8 +1406,8 @@ interactions: code: 200 message: OK - request: - body: '{"name": "cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72", "type": - "Microsoft.Synapse/workspaces/privateEndpointConnections", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72", + body: '{"name": "cli-pe-000005-c449c783-6428-494c-b303-c8572efae567", "type": + "Microsoft.Synapse/workspaces/privateEndpointConnections", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567", "properties": {"provisioningState": "Succeeded", "privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"}, "privateLinkServiceConnectionState": {"status": "Approved", "description": null}}}' headers: @@ -1575,12 +1426,12 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: - string: '{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' headers: cache-control: - no-cache @@ -1589,7 +1440,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:29 GMT + - Fri, 28 May 2021 08:10:03 GMT expires: - '-1' pragma: @@ -1623,12 +1474,12 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: - string: '{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' headers: cache-control: - no-cache @@ -1637,7 +1488,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:41 GMT + - Fri, 28 May 2021 08:10:14 GMT expires: - '-1' pragma: @@ -1669,12 +1520,12 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: - string: '{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' headers: cache-control: - no-cache @@ -1683,7 +1534,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:42 GMT + - Fri, 28 May 2021 08:10:15 GMT expires: - '-1' pragma: @@ -1715,12 +1566,12 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: - string: '{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Approved"}}}' headers: cache-control: - no-cache @@ -1729,7 +1580,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:42 GMT + - Fri, 28 May 2021 08:10:17 GMT expires: - '-1' pragma: @@ -1748,8 +1599,8 @@ interactions: code: 200 message: OK - request: - body: '{"name": "cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72", "type": - "Microsoft.Synapse/workspaces/privateEndpointConnections", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72", + body: '{"name": "cli-pe-000005-c449c783-6428-494c-b303-c8572efae567", "type": + "Microsoft.Synapse/workspaces/privateEndpointConnections", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567", "properties": {"provisioningState": "Succeeded", "privateEndpoint": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"}, "privateLinkServiceConnectionState": {"status": "Rejected", "description": null}}}' headers: @@ -1768,15 +1619,15 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: - string: '{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Provisioning","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected"}}}' + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Provisioning","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected"}}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/663ec8e8-4b88-426c-ae90-c020376ed97e?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/12c34296-150f-44e9-850c-16d7a481d649?api-version=2019-06-01-preview cache-control: - no-cache content-length: @@ -1784,7 +1635,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:44 GMT + - Fri, 28 May 2021 08:10:18 GMT expires: - '-1' pragma: @@ -1796,7 +1647,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -1814,12 +1665,58 @@ interactions: ParameterSetName: - --name -g --resource-name --type User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview + response: + body: + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Provisioning","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected"}}}' + headers: + cache-control: + - no-cache + content-length: + - '788' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 28 May 2021 08:10:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --name -g --resource-name --type + User-Agent: + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: - string: '{"name":"cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected"}}}' + string: '{"name":"cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","type":"Microsoft.Synapse/workspaces/privateEndpointConnections","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005"},"privateLinkServiceConnectionState":{"status":"Rejected"}}}' headers: cache-control: - no-cache @@ -1828,7 +1725,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:55 GMT + - Fri, 28 May 2021 08:10:40 GMT expires: - '-1' pragma: @@ -1862,9 +1759,9 @@ interactions: ParameterSetName: - --name -g --resource-name --type -y User-Agent: - - python/3.7.3 (Windows-10-10.0.19041-SP0) AZURECLI/2.22.1 + - python/3.8.10 (Windows-10-10.0.19043-SP0) AZURECLI/2.24.0 method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/privateEndpointConnections/cli-pe-000005-72df9b1e-7b27-41ac-80ee-5e2cc4785e72?api-version=2019-06-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/privateEndpointConnections/cli-pe-000005-c449c783-6428-494c-b303-c8572efae567?api-version=2019-06-01-preview response: body: string: '{"status":"InProgress"}' @@ -1874,7 +1771,7 @@ interactions: access-control-expose-headers: - Location azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationStatuses/ae4ebd70-6cee-4015-8772-114a5563b7b9?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationStatuses/ba6b87c8-3e15-4c12-8eb3-45c671d84036?api-version=2019-06-01-preview cache-control: - no-cache content-length: @@ -1882,11 +1779,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sun, 25 Apr 2021 06:13:55 GMT + - Fri, 28 May 2021 08:10:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000002/operationResults/ae4ebd70-6cee-4015-8772-114a5563b7b9?api-version=2019-06-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_private_endpoint_connection_synapse_workspace000001/providers/Microsoft.Synapse/workspaces/cli-test-resource-000007/operationResults/ba6b87c8-3e15-4c12-8eb3-45c671d84036?api-version=2019-06-01-preview pragma: - no-cache server: diff --git a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py index 7118cfe4bd1..0c1abc9f3f3 100644 --- a/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py +++ b/src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py @@ -1757,15 +1757,16 @@ def test_private_endpoint_connection_search( self.cmd("az network private-endpoint-connection delete --id {pec_id} -y") -def _test_private_endpoint(self, approve=True, list_name=True, group_id=True): +def _test_private_endpoint(self, approve=True, rejected=True, list_name=True, group_id=True): self.kwargs.update({ - 'resource': self.create_random_name('cli-test-resource-', 24), 'vnet': self.create_random_name('cli-vnet-', 24), 'subnet': self.create_random_name('cli-subnet-', 24), 'pe': self.create_random_name('cli-pe-', 24), 'pe_connection': self.create_random_name('cli-pec-', 24), }) + self.kwargs['resource'] = self.kwargs.get('resource', self.create_random_name('cli-test-resource-', 24)) + # create resource self.kwargs['extra_create'] = self.kwargs.get('extra_create', '') self.kwargs['show_name'] = self.kwargs.get('show_name', '-n') @@ -1800,9 +1801,10 @@ def _test_private_endpoint(self, approve=True, list_name=True, group_id=True): self.cmd('network private-endpoint-connection show --name {name} -g {rg} --resource-name {resource} --type {type}', checks=self.check('properties.privateLinkServiceConnectionState.status', 'Approved')) - self.cmd('network private-endpoint-connection reject --name {name} -g {rg} ' - '--resource-name {resource} --type {type}', - checks=self.check('properties.privateLinkServiceConnectionState.status', 'Rejected')) + if rejected: + self.cmd('network private-endpoint-connection reject --name {name} -g {rg} ' + '--resource-name {resource} --type {type}', + checks=self.check('properties.privateLinkServiceConnectionState.status', 'Rejected')) self.cmd('network private-endpoint-connection delete --name {name} -g {rg} ' '--resource-name {resource} --type {type} -y') @@ -1867,20 +1869,33 @@ def test_private_endpoint_connection_health_care_apis(self, resource_group): _test_private_endpoint(self, list_name=False) @ResourceGroupPreparer(name_prefix="test_private_endpoint_connection_synapse_workspace") - def test_private_endpoint_connection_synapse_workspace(self, resource_group): + @StorageAccountPreparer(name_prefix="testpesyn") + def test_private_endpoint_connection_synapse_workspace(self, resource_group, storage_account): self.kwargs.update({ 'rg': resource_group, # config begin 'cmd': 'synapse workspace', 'list_num': 3, 'type': 'Microsoft.Synapse/workspaces', - 'extra_create': '--storage-account saxyz --file-system file-000 -p 123-xyz-456 -u synapse1230', + 'extra_create': '--storage-account {} --file-system file-000 -p 123-xyz-456 -u synapse1230'.format( + storage_account), }) - self.cmd('storage account create -n saxyz -g {rg}') - _test_private_endpoint(self, group_id=False) + @ResourceGroupPreparer(name_prefix="test_private_endpoint_connection_sql_server") + def test_private_endpoint_connection_sql_server(self, resource_group): + self.kwargs.update({ + 'rg': resource_group, + # config begin + 'cmd': 'sql server', + 'list_num': 1, + 'type': 'Microsoft.Sql/servers', + 'extra_create': '--admin-user admin123 --admin-password SecretPassword123', + }) + + _test_private_endpoint(self, approve=False, rejected=False) + if __name__ == '__main__': unittest.main()