diff --git a/src/azure-cli/azure/cli/command_modules/rdbms/custom.py b/src/azure-cli/azure/cli/command_modules/rdbms/custom.py index a7bbe6fee31..03a742939c2 100644 --- a/src/azure-cli/azure/cli/command_modules/rdbms/custom.py +++ b/src/azure-cli/azure/cli/command_modules/rdbms/custom.py @@ -440,7 +440,7 @@ def _update_private_endpoint_connection_status(cmd, client, resource_group_name, return client.create_or_update(resource_group_name=resource_group_name, server_name=server_name, private_endpoint_connection_name=private_endpoint_connection_name, - properties=private_endpoint_connection) + private_link_service_connection_state=private_endpoint_connection.private_link_service_connection_state) def approve_private_endpoint_connection(cmd, client, resource_group_name, server_name, private_endpoint_connection_name, diff --git a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mariadb_proxy_resources_mgmt.yaml b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mariadb_proxy_resources_mgmt.yaml index 790ee4ec8ef..ce0957c9605 100644 --- a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mariadb_proxy_resources_mgmt.yaml +++ b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mariadb_proxy_resources_mgmt.yaml @@ -2,7 +2,7 @@ interactions: - request: body: '{"sku": {"name": "GP_Gen5_2"}, "properties": {"storageProfile": {"storageAutogrow": "Enabled"}, "createMode": "Default", "administratorLogin": "cloudsa", "administratorLoginPassword": - "SecretPassword123"}, "location": "eastus"}' + "SecretPassword123"}, "location": "eastus2euap"}' headers: Accept: - application/json @@ -13,7 +13,7 @@ interactions: Connection: - keep-alive Content-Length: - - '227' + - '232' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -27,10 +27,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServer","startTime":"2020-03-04T18:37:41.503Z"}' + string: '{"operation":"UpsertElasticServer","startTime":"2020-03-06T02:07:55.957Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/195ab63c-31bf-4d42-8278-71736fcdda8b?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/a889677c-dce5-4faf-8322-0a6d77c04016?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -38,11 +38,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:37:41 GMT + - Fri, 06 Mar 2020 02:07:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/195ab63c-31bf-4d42-8278-71736fcdda8b?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/a889677c-dce5-4faf-8322-0a6d77c04016?api-version=2018-06-01 pragma: - no-cache server: @@ -52,7 +52,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -73,10 +73,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/195ab63c-31bf-4d42-8278-71736fcdda8b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/a889677c-dce5-4faf-8322-0a6d77c04016?api-version=2018-06-01 response: body: - string: '{"name":"195ab63c-31bf-4d42-8278-71736fcdda8b","status":"InProgress","startTime":"2020-03-04T18:37:41.503Z"}' + string: '{"name":"a889677c-dce5-4faf-8322-0a6d77c04016","status":"InProgress","startTime":"2020-03-06T02:07:55.957Z"}' headers: cache-control: - no-cache @@ -85,7 +85,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:38:41 GMT + - Fri, 06 Mar 2020 02:08:56 GMT expires: - '-1' pragma: @@ -120,10 +120,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/195ab63c-31bf-4d42-8278-71736fcdda8b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/a889677c-dce5-4faf-8322-0a6d77c04016?api-version=2018-06-01 response: body: - string: '{"name":"195ab63c-31bf-4d42-8278-71736fcdda8b","status":"Succeeded","startTime":"2020-03-04T18:37:41.503Z"}' + string: '{"name":"a889677c-dce5-4faf-8322-0a6d77c04016","status":"Succeeded","startTime":"2020-03-06T02:07:55.957Z"}' headers: cache-control: - no-cache @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:39:42 GMT + - Fri, 06 Mar 2020 02:09:57 GMT expires: - '-1' pragma: @@ -170,16 +170,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002?api-version=2018-06-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-04T18:47:41.877+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Enabled","privateEndpointConnections":[]},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.38+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Disabled","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' headers: cache-control: - no-cache content-length: - - '1088' + - '1109' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:39:42 GMT + - Fri, 06 Mar 2020 02:09:57 GMT expires: - '-1' pragma: @@ -223,10 +223,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/firewallRules/rule1?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:39:43.547Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:09:59.137Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/26708d38-e83f-4bd0-ad73-910087b0e5b4?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/c7359ef2-d2ea-4ac7-8856-5adb2073c28f?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -234,11 +234,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:39:43 GMT + - Fri, 06 Mar 2020 02:09:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/26708d38-e83f-4bd0-ad73-910087b0e5b4?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/c7359ef2-d2ea-4ac7-8856-5adb2073c28f?api-version=2018-06-01 pragma: - no-cache server: @@ -248,7 +248,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -269,10 +269,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/26708d38-e83f-4bd0-ad73-910087b0e5b4?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/c7359ef2-d2ea-4ac7-8856-5adb2073c28f?api-version=2018-06-01 response: body: - string: '{"name":"26708d38-e83f-4bd0-ad73-910087b0e5b4","status":"Succeeded","startTime":"2020-03-04T18:39:43.547Z"}' + string: '{"name":"c7359ef2-d2ea-4ac7-8856-5adb2073c28f","status":"Succeeded","startTime":"2020-03-06T02:09:59.137Z"}' headers: cache-control: - no-cache @@ -281,7 +281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:39:58 GMT + - Fri, 06 Mar 2020 02:10:15 GMT expires: - '-1' pragma: @@ -328,7 +328,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:39:59 GMT + - Fri, 06 Mar 2020 02:10:15 GMT expires: - '-1' pragma: @@ -377,7 +377,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:00 GMT + - Fri, 06 Mar 2020 02:10:16 GMT expires: - '-1' pragma: @@ -426,7 +426,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:01 GMT + - Fri, 06 Mar 2020 02:10:17 GMT expires: - '-1' pragma: @@ -470,10 +470,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/firewallRules/rule1?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:40:02.597Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:10:18.413Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/39a0d6a6-1404-440d-8d41-8ca82a16c219?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/fb2a513e-36ce-4384-a6a7-982f1bdfc5be?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -481,11 +481,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:02 GMT + - Fri, 06 Mar 2020 02:10:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/39a0d6a6-1404-440d-8d41-8ca82a16c219?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/fb2a513e-36ce-4384-a6a7-982f1bdfc5be?api-version=2018-06-01 pragma: - no-cache server: @@ -516,10 +516,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/39a0d6a6-1404-440d-8d41-8ca82a16c219?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/fb2a513e-36ce-4384-a6a7-982f1bdfc5be?api-version=2018-06-01 response: body: - string: '{"name":"39a0d6a6-1404-440d-8d41-8ca82a16c219","status":"Succeeded","startTime":"2020-03-04T18:40:02.597Z"}' + string: '{"name":"fb2a513e-36ce-4384-a6a7-982f1bdfc5be","status":"Succeeded","startTime":"2020-03-06T02:10:18.413Z"}' headers: cache-control: - no-cache @@ -528,7 +528,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:18 GMT + - Fri, 06 Mar 2020 02:10:34 GMT expires: - '-1' pragma: @@ -575,7 +575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:18 GMT + - Fri, 06 Mar 2020 02:10:35 GMT expires: - '-1' pragma: @@ -624,7 +624,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:18 GMT + - Fri, 06 Mar 2020 02:10:35 GMT expires: - '-1' pragma: @@ -668,22 +668,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/firewallRules/rule1?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:40:19.597Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:10:59.02Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/8ce896bb-e71f-4d4e-b98a-ea0aaece1a58?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/57de981f-688c-4d27-91fd-4598e54644b1?api-version=2018-06-01 cache-control: - no-cache content-length: - - '87' + - '86' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:19 GMT + - Fri, 06 Mar 2020 02:10:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/8ce896bb-e71f-4d4e-b98a-ea0aaece1a58?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/57de981f-688c-4d27-91fd-4598e54644b1?api-version=2018-06-01 pragma: - no-cache server: @@ -693,7 +693,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -714,19 +714,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/8ce896bb-e71f-4d4e-b98a-ea0aaece1a58?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/57de981f-688c-4d27-91fd-4598e54644b1?api-version=2018-06-01 response: body: - string: '{"name":"8ce896bb-e71f-4d4e-b98a-ea0aaece1a58","status":"Succeeded","startTime":"2020-03-04T18:40:19.597Z"}' + string: '{"name":"57de981f-688c-4d27-91fd-4598e54644b1","status":"Succeeded","startTime":"2020-03-06T02:10:59.02Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:34 GMT + - Fri, 06 Mar 2020 02:11:14 GMT expires: - '-1' pragma: @@ -773,7 +773,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:34 GMT + - Fri, 06 Mar 2020 02:11:15 GMT expires: - '-1' pragma: @@ -822,7 +822,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:35 GMT + - Fri, 06 Mar 2020 02:11:16 GMT expires: - '-1' pragma: @@ -866,10 +866,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/firewallRules/rule1?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:40:36.783Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:11:17.273Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/c9a841e5-f487-488f-a535-8b2b9b276edf?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/494b6423-37df-41ce-b3a3-38b0772d30a1?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -877,11 +877,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:36 GMT + - Fri, 06 Mar 2020 02:11:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/c9a841e5-f487-488f-a535-8b2b9b276edf?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/494b6423-37df-41ce-b3a3-38b0772d30a1?api-version=2018-06-01 pragma: - no-cache server: @@ -912,10 +912,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/c9a841e5-f487-488f-a535-8b2b9b276edf?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/494b6423-37df-41ce-b3a3-38b0772d30a1?api-version=2018-06-01 response: body: - string: '{"name":"c9a841e5-f487-488f-a535-8b2b9b276edf","status":"Succeeded","startTime":"2020-03-04T18:40:36.783Z"}' + string: '{"name":"494b6423-37df-41ce-b3a3-38b0772d30a1","status":"Succeeded","startTime":"2020-03-06T02:11:17.273Z"}' headers: cache-control: - no-cache @@ -924,7 +924,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:51 GMT + - Fri, 06 Mar 2020 02:11:33 GMT expires: - '-1' pragma: @@ -971,7 +971,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:51 GMT + - Fri, 06 Mar 2020 02:11:33 GMT expires: - '-1' pragma: @@ -1015,10 +1015,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/firewallRules/rule2?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:40:53.347Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:11:34.847Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/50894fcc-840a-4de6-bc40-7862b87ac260?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/b5815e6c-01ea-402e-8122-cca33b997333?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -1026,11 +1026,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:40:53 GMT + - Fri, 06 Mar 2020 02:11:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/50894fcc-840a-4de6-bc40-7862b87ac260?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/b5815e6c-01ea-402e-8122-cca33b997333?api-version=2018-06-01 pragma: - no-cache server: @@ -1061,10 +1061,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/50894fcc-840a-4de6-bc40-7862b87ac260?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/b5815e6c-01ea-402e-8122-cca33b997333?api-version=2018-06-01 response: body: - string: '{"name":"50894fcc-840a-4de6-bc40-7862b87ac260","status":"Succeeded","startTime":"2020-03-04T18:40:53.347Z"}' + string: '{"name":"b5815e6c-01ea-402e-8122-cca33b997333","status":"Succeeded","startTime":"2020-03-06T02:11:34.847Z"}' headers: cache-control: - no-cache @@ -1073,7 +1073,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:08 GMT + - Fri, 06 Mar 2020 02:11:50 GMT expires: - '-1' pragma: @@ -1120,7 +1120,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:08 GMT + - Fri, 06 Mar 2020 02:11:53 GMT expires: - '-1' pragma: @@ -1169,7 +1169,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:09 GMT + - Fri, 06 Mar 2020 02:11:55 GMT expires: - '-1' pragma: @@ -1211,22 +1211,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/firewallRules/rule1?api-version=2018-06-01 response: body: - string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-04T18:41:10.863Z"}' + string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-06T02:11:56.4Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/1d52c29e-a0d9-4399-8c08-b2f57ba82149?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/74037058-8c24-450a-bd66-d54d43b9086b?api-version=2018-06-01 cache-control: - no-cache content-length: - - '84' + - '82' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:10 GMT + - Fri, 06 Mar 2020 02:11:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/1d52c29e-a0d9-4399-8c08-b2f57ba82149?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/74037058-8c24-450a-bd66-d54d43b9086b?api-version=2018-06-01 pragma: - no-cache server: @@ -1236,7 +1236,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 202 message: Accepted @@ -1257,19 +1257,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/1d52c29e-a0d9-4399-8c08-b2f57ba82149?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/74037058-8c24-450a-bd66-d54d43b9086b?api-version=2018-06-01 response: body: - string: '{"name":"1d52c29e-a0d9-4399-8c08-b2f57ba82149","status":"Succeeded","startTime":"2020-03-04T18:41:10.863Z"}' + string: '{"name":"74037058-8c24-450a-bd66-d54d43b9086b","status":"Succeeded","startTime":"2020-03-06T02:11:56.4Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '105' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:25 GMT + - Fri, 06 Mar 2020 02:12:12 GMT expires: - '-1' pragma: @@ -1318,7 +1318,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:27 GMT + - Fri, 06 Mar 2020 02:12:13 GMT expires: - '-1' pragma: @@ -1360,22 +1360,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/firewallRules/rule2?api-version=2018-06-01 response: body: - string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-04T18:41:28.21Z"}' + string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-06T02:12:14.887Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/67bb9f4b-ab4c-42b0-a474-73fced369ecd?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/f318c7a2-cb6d-47e1-99c5-3c4c315c1a2c?api-version=2018-06-01 cache-control: - no-cache content-length: - - '83' + - '84' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:27 GMT + - Fri, 06 Mar 2020 02:12:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/67bb9f4b-ab4c-42b0-a474-73fced369ecd?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/f318c7a2-cb6d-47e1-99c5-3c4c315c1a2c?api-version=2018-06-01 pragma: - no-cache server: @@ -1406,19 +1406,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/67bb9f4b-ab4c-42b0-a474-73fced369ecd?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/f318c7a2-cb6d-47e1-99c5-3c4c315c1a2c?api-version=2018-06-01 response: body: - string: '{"name":"67bb9f4b-ab4c-42b0-a474-73fced369ecd","status":"Succeeded","startTime":"2020-03-04T18:41:28.21Z"}' + string: '{"name":"f318c7a2-cb6d-47e1-99c5-3c4c315c1a2c","status":"Succeeded","startTime":"2020-03-06T02:12:14.887Z"}' headers: cache-control: - no-cache content-length: - - '106' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:42 GMT + - Fri, 06 Mar 2020 02:12:30 GMT expires: - '-1' pragma: @@ -1467,7 +1467,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:44 GMT + - Fri, 06 Mar 2020 02:12:32 GMT expires: - '-1' pragma: @@ -1486,9 +1486,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "clitestsubnet1"}]}}' + body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "clitestsubnet1"}]}}' headers: Accept: - application/json @@ -1499,7 +1499,7 @@ interactions: Connection: - keep-alive Content-Length: - - '212' + - '217' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1514,15 +1514,15 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"a6fd26cd-6028-4ed8-85ff-5ff0e7fcb329\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"fbe7ca92-78a4-469f-805a-8bb2a82c4e56\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"a6fd26cd-6028-4ed8-85ff-5ff0e7fcb329\\\"\",\r\n + \ \"etag\": \"W/\\\"fbe7ca92-78a4-469f-805a-8bb2a82c4e56\\\"\",\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\": @@ -1530,16 +1530,18 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ba58b898-3ae5-437e-a5b4-365a022ad05b?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/1fbffb03-59b1-4db7-9db6-bd465269aea1?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1469' + - '1474' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:45 GMT + - Fri, 06 Mar 2020 02:12:33 GMT expires: - '-1' pragma: @@ -1552,7 +1554,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5e1f4cd0-dcc1-452b-9a37-94e76ba1a956 + - f70dc5ab-640d-4ef4-8db8-ae763d88e305 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -1575,7 +1577,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/ba58b898-3ae5-437e-a5b4-365a022ad05b?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/1fbffb03-59b1-4db7-9db6-bd465269aea1?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1587,7 +1589,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:49 GMT + - Fri, 06 Mar 2020 02:12:37 GMT expires: - '-1' pragma: @@ -1604,7 +1606,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 54680080-bb9b-4b20-b3f1-2c33b3eebd3a + - 70790a0a-c1c8-4895-a03f-7269450a9be7 status: code: 200 message: OK @@ -1629,15 +1631,15 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"4cd68e14-f4d2-48f4-9b4c-51d5b1260f67\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"7bd84e46-6bc3-4e93-9cd8-07b383d762e7\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"4cd68e14-f4d2-48f4-9b4c-51d5b1260f67\\\"\",\r\n + \ \"etag\": \"W/\\\"7bd84e46-6bc3-4e93-9cd8-07b383d762e7\\\"\",\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\": @@ -1648,13 +1650,13 @@ interactions: cache-control: - no-cache content-length: - - '1471' + - '1476' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:49 GMT + - Fri, 06 Mar 2020 02:12:37 GMT etag: - - W/"4cd68e14-f4d2-48f4-9b4c-51d5b1260f67" + - W/"7bd84e46-6bc3-4e93-9cd8-07b383d762e7" expires: - '-1' pragma: @@ -1671,7 +1673,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b3bb2921-758e-4571-95fb-0238319b23e5 + - 82ceed51-64c5-4db0-9ec9-4c6b71dd786b status: code: 200 message: OK @@ -1698,15 +1700,15 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"4cd68e14-f4d2-48f4-9b4c-51d5b1260f67\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"7bd84e46-6bc3-4e93-9cd8-07b383d762e7\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"4cd68e14-f4d2-48f4-9b4c-51d5b1260f67\\\"\",\r\n + \ \"etag\": \"W/\\\"7bd84e46-6bc3-4e93-9cd8-07b383d762e7\\\"\",\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\": @@ -1717,13 +1719,13 @@ interactions: cache-control: - no-cache content-length: - - '1471' + - '1476' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:50 GMT + - Fri, 06 Mar 2020 02:12:38 GMT etag: - - W/"4cd68e14-f4d2-48f4-9b4c-51d5b1260f67" + - W/"7bd84e46-6bc3-4e93-9cd8-07b383d762e7" expires: - '-1' pragma: @@ -1740,13 +1742,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a2afdd79-ebc2-4e52-89c7-5d8331ed6d36 + - 0dcf8816-88e7-4cdc-9a51-8212079014a0 status: code: 200 message: OK - request: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet", - "location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet1"}, @@ -1763,7 +1765,7 @@ interactions: Connection: - keep-alive Content-Length: - - '945' + - '950' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1778,22 +1780,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"5ad8faab-4e0e-4d85-ab24-86be5fe2b5a0\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"4cfdff98-2980-44bc-9775-0ecf605fa26f\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"5ad8faab-4e0e-4d85-ab24-86be5fe2b5a0\\\"\",\r\n + \ \"etag\": \"W/\\\"4cfdff98-2980-44bc-9775-0ecf605fa26f\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"5ad8faab-4e0e-4d85-ab24-86be5fe2b5a0\\\"\",\r\n + \ \"etag\": \"W/\\\"4cfdff98-2980-44bc-9775-0ecf605fa26f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -1802,15 +1804,15 @@ interactions: false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a157ee01-440d-4b06-88ed-59cec7282087?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/abe0ff45-7a66-44e1-9edf-32e80755e3fc?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2155' + - '2160' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:50 GMT + - Fri, 06 Mar 2020 02:12:39 GMT expires: - '-1' pragma: @@ -1827,7 +1829,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 46c6c639-4c76-4520-bd88-38b95b0c6893 + - c0250a2e-bc2f-4e7e-bc9d-45b0b3b198ce x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1850,7 +1852,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a157ee01-440d-4b06-88ed-59cec7282087?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/abe0ff45-7a66-44e1-9edf-32e80755e3fc?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1862,7 +1864,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:54 GMT + - Fri, 06 Mar 2020 02:12:42 GMT expires: - '-1' pragma: @@ -1879,7 +1881,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a1ddb277-c2ba-4d7f-801d-ec9139c34e6d + - bd0f01c8-e609-4ae8-a7a8-be926393dbb7 status: code: 200 message: OK @@ -1904,22 +1906,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"2c265b42-59a7-4d17-a480-d00c62901d09\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"1b242d9d-d543-49f8-9c93-0211a3c24e91\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"2c265b42-59a7-4d17-a480-d00c62901d09\\\"\",\r\n + \ \"etag\": \"W/\\\"1b242d9d-d543-49f8-9c93-0211a3c24e91\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"2c265b42-59a7-4d17-a480-d00c62901d09\\\"\",\r\n + \ \"etag\": \"W/\\\"1b242d9d-d543-49f8-9c93-0211a3c24e91\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -1930,13 +1932,13 @@ interactions: cache-control: - no-cache content-length: - - '2158' + - '2163' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:54 GMT + - Fri, 06 Mar 2020 02:12:42 GMT etag: - - W/"2c265b42-59a7-4d17-a480-d00c62901d09" + - W/"1b242d9d-d543-49f8-9c93-0211a3c24e91" expires: - '-1' pragma: @@ -1953,7 +1955,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 092953f3-7304-4050-bdb7-0ffacabbe6f2 + - 9866a8f6-2e40-4228-96ca-eebcf5e76297 status: code: 200 message: OK @@ -1984,22 +1986,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule1?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:41:55.397Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:12:44.48Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/c57f3075-5d2f-4743-a65c-9d1b976d2d36?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/f9d71272-ba07-4cc4-89e3-90c72ffd4cc7?api-version=2018-06-01 cache-control: - no-cache content-length: - - '90' + - '89' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:41:57 GMT + - Fri, 06 Mar 2020 02:12:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/c57f3075-5d2f-4743-a65c-9d1b976d2d36?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/f9d71272-ba07-4cc4-89e3-90c72ffd4cc7?api-version=2018-06-01 pragma: - no-cache server: @@ -2030,19 +2032,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/c57f3075-5d2f-4743-a65c-9d1b976d2d36?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/f9d71272-ba07-4cc4-89e3-90c72ffd4cc7?api-version=2018-06-01 response: body: - string: '{"name":"c57f3075-5d2f-4743-a65c-9d1b976d2d36","status":"Succeeded","startTime":"2020-03-04T18:41:55.397Z"}' + string: '{"name":"f9d71272-ba07-4cc4-89e3-90c72ffd4cc7","status":"Succeeded","startTime":"2020-03-06T02:12:44.48Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:42:27 GMT + - Fri, 06 Mar 2020 02:13:16 GMT expires: - '-1' pragma: @@ -2089,7 +2091,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:42:27 GMT + - Fri, 06 Mar 2020 02:13:16 GMT expires: - '-1' pragma: @@ -2138,7 +2140,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:42:29 GMT + - Fri, 06 Mar 2020 02:13:16 GMT expires: - '-1' pragma: @@ -2183,10 +2185,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:42:30.633Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:13:18.153Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/ac7e1980-7135-4be0-ba6c-75ed7f9c819a?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/1da332b0-189c-4160-b812-c0fbfec59a99?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -2194,11 +2196,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:42:31 GMT + - Fri, 06 Mar 2020 02:13:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/ac7e1980-7135-4be0-ba6c-75ed7f9c819a?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/1da332b0-189c-4160-b812-c0fbfec59a99?api-version=2018-06-01 pragma: - no-cache server: @@ -2229,10 +2231,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/ac7e1980-7135-4be0-ba6c-75ed7f9c819a?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/1da332b0-189c-4160-b812-c0fbfec59a99?api-version=2018-06-01 response: body: - string: '{"name":"ac7e1980-7135-4be0-ba6c-75ed7f9c819a","status":"Succeeded","startTime":"2020-03-04T18:42:30.633Z"}' + string: '{"name":"1da332b0-189c-4160-b812-c0fbfec59a99","status":"Succeeded","startTime":"2020-03-06T02:13:18.153Z"}' headers: cache-control: - no-cache @@ -2241,7 +2243,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:02 GMT + - Fri, 06 Mar 2020 02:13:48 GMT expires: - '-1' pragma: @@ -2288,7 +2290,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:02 GMT + - Fri, 06 Mar 2020 02:13:49 GMT expires: - '-1' pragma: @@ -2329,22 +2331,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"10334b39-cf2c-413b-9969-c6d646a721e1\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"aee6789f-323c-454b-b374-67c50b923358\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"10334b39-cf2c-413b-9969-c6d646a721e1\\\"\",\r\n + \ \"etag\": \"W/\\\"aee6789f-323c-454b-b374-67c50b923358\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"10334b39-cf2c-413b-9969-c6d646a721e1\\\"\",\r\n + \ \"etag\": \"W/\\\"aee6789f-323c-454b-b374-67c50b923358\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2355,13 +2357,13 @@ interactions: cache-control: - no-cache content-length: - - '2158' + - '2163' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:03 GMT + - Fri, 06 Mar 2020 02:13:51 GMT etag: - - W/"10334b39-cf2c-413b-9969-c6d646a721e1" + - W/"aee6789f-323c-454b-b374-67c50b923358" expires: - '-1' pragma: @@ -2378,13 +2380,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5018c95b-c048-47f6-b0fe-b6b1d153acb8 + - 25a75d4a-e016-4d39-9ca5-a9a36c816c6a status: code: 200 message: OK - request: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet", - "location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet1"}, @@ -2404,7 +2406,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1364' + - '1369' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -2419,29 +2421,29 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"93d6ca4d-43ac-4b80-ad72-78ad7337ce2e\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"6936c409-df1b-43bf-a16e-296711c2823c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"93d6ca4d-43ac-4b80-ad72-78ad7337ce2e\\\"\",\r\n + \ \"etag\": \"W/\\\"6936c409-df1b-43bf-a16e-296711c2823c\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"93d6ca4d-43ac-4b80-ad72-78ad7337ce2e\\\"\",\r\n + \ \"etag\": \"W/\\\"6936c409-df1b-43bf-a16e-296711c2823c\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.1.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 \"name\": \"clitestsubnet3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet3\",\r\n - \ \"etag\": \"W/\\\"93d6ca4d-43ac-4b80-ad72-78ad7337ce2e\\\"\",\r\n + \ \"etag\": \"W/\\\"6936c409-df1b-43bf-a16e-296711c2823c\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2450,15 +2452,15 @@ interactions: false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/182331c1-3784-4110-979d-1de8243eb374?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a7e8ada3-f455-4446-9781-58835aecc0ad?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2841' + - '2846' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:04 GMT + - Fri, 06 Mar 2020 02:13:52 GMT expires: - '-1' pragma: @@ -2475,9 +2477,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 0ade7f12-dd86-4427-8863-f1bd6f1d9014 + - dadbb79d-309a-4484-b43b-112fec86ae6a x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 200 message: OK @@ -2498,7 +2500,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/182331c1-3784-4110-979d-1de8243eb374?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a7e8ada3-f455-4446-9781-58835aecc0ad?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2510,7 +2512,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:06 GMT + - Fri, 06 Mar 2020 02:13:55 GMT expires: - '-1' pragma: @@ -2527,7 +2529,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 63d9aadb-4cb3-4d1d-a02b-8f15b35def53 + - a8808cea-ec0b-45f0-997d-30529c9c53e1 status: code: 200 message: OK @@ -2552,29 +2554,29 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"8f160aec-a929-4c57-be8a-40b03b817848\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"1dfbd3e6-49e7-4f56-a77f-ec926dacb0ef\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b2951b57-0332-49e8-87c3-27dbb0a2b629\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8d6799f-3752-475d-91ab-de0bee71e0fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"8f160aec-a929-4c57-be8a-40b03b817848\\\"\",\r\n + \ \"etag\": \"W/\\\"1dfbd3e6-49e7-4f56-a77f-ec926dacb0ef\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"8f160aec-a929-4c57-be8a-40b03b817848\\\"\",\r\n + \ \"etag\": \"W/\\\"1dfbd3e6-49e7-4f56-a77f-ec926dacb0ef\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.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 \"name\": \"clitestsubnet3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet3\",\r\n - \ \"etag\": \"W/\\\"8f160aec-a929-4c57-be8a-40b03b817848\\\"\",\r\n + \ \"etag\": \"W/\\\"1dfbd3e6-49e7-4f56-a77f-ec926dacb0ef\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2585,13 +2587,13 @@ interactions: cache-control: - no-cache content-length: - - '2845' + - '2850' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:07 GMT + - Fri, 06 Mar 2020 02:13:55 GMT etag: - - W/"8f160aec-a929-4c57-be8a-40b03b817848" + - W/"1dfbd3e6-49e7-4f56-a77f-ec926dacb0ef" expires: - '-1' pragma: @@ -2608,7 +2610,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f2a42c2b-46ab-4f10-83cf-0ec34559e358 + - f2739360-5962-4bdc-b558-59f423b1417b status: code: 200 message: OK @@ -2643,7 +2645,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:07 GMT + - Fri, 06 Mar 2020 02:13:55 GMT expires: - '-1' pragma: @@ -2688,10 +2690,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2018-06-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:43:09.083Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:13:57.387Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/cf464a1f-3949-4eba-827b-5caeace7bc4a?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/7aea4891-1b33-4407-8daf-b0be61336b17?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -2699,11 +2701,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:10 GMT + - Fri, 06 Mar 2020 02:13:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/cf464a1f-3949-4eba-827b-5caeace7bc4a?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/7aea4891-1b33-4407-8daf-b0be61336b17?api-version=2018-06-01 pragma: - no-cache server: @@ -2734,10 +2736,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/cf464a1f-3949-4eba-827b-5caeace7bc4a?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/7aea4891-1b33-4407-8daf-b0be61336b17?api-version=2018-06-01 response: body: - string: '{"name":"cf464a1f-3949-4eba-827b-5caeace7bc4a","status":"Succeeded","startTime":"2020-03-04T18:43:09.083Z"}' + string: '{"name":"7aea4891-1b33-4407-8daf-b0be61336b17","status":"Succeeded","startTime":"2020-03-06T02:13:57.387Z"}' headers: cache-control: - no-cache @@ -2746,7 +2748,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:40 GMT + - Fri, 06 Mar 2020 02:14:29 GMT expires: - '-1' pragma: @@ -2793,7 +2795,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:40 GMT + - Fri, 06 Mar 2020 02:14:29 GMT expires: - '-1' pragma: @@ -2842,7 +2844,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:41 GMT + - Fri, 06 Mar 2020 02:14:30 GMT expires: - '-1' pragma: @@ -2884,10 +2886,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule1?api-version=2018-06-01 response: body: - string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-04T18:43:42.367Z"}' + string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-06T02:14:31.127Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/44145d29-6e25-4bde-9727-207ff156a40a?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/a2df5e8f-65b2-4ef2-b52d-1ebe41a5a6cf?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -2895,11 +2897,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:43 GMT + - Fri, 06 Mar 2020 02:14:31 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/44145d29-6e25-4bde-9727-207ff156a40a?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/a2df5e8f-65b2-4ef2-b52d-1ebe41a5a6cf?api-version=2018-06-01 pragma: - no-cache server: @@ -2930,10 +2932,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/44145d29-6e25-4bde-9727-207ff156a40a?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/a2df5e8f-65b2-4ef2-b52d-1ebe41a5a6cf?api-version=2018-06-01 response: body: - string: '{"name":"44145d29-6e25-4bde-9727-207ff156a40a","status":"Succeeded","startTime":"2020-03-04T18:43:42.367Z"}' + string: '{"name":"a2df5e8f-65b2-4ef2-b52d-1ebe41a5a6cf","status":"Succeeded","startTime":"2020-03-06T02:14:31.127Z"}' headers: cache-control: - no-cache @@ -2942,7 +2944,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:58 GMT + - Fri, 06 Mar 2020 02:14:46 GMT expires: - '-1' pragma: @@ -2991,7 +2993,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:43:59 GMT + - Fri, 06 Mar 2020 02:14:48 GMT expires: - '-1' pragma: @@ -3033,22 +3035,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2018-06-01 response: body: - string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-04T18:44:01.507Z"}' + string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-06T02:14:49.49Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/fea594e0-36ee-4e8b-9056-f882f1ad46b5?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/3145ab91-91e1-4111-8e2e-9c96de75e221?api-version=2018-06-01 cache-control: - no-cache content-length: - - '88' + - '87' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:02 GMT + - Fri, 06 Mar 2020 02:14:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/fea594e0-36ee-4e8b-9056-f882f1ad46b5?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/3145ab91-91e1-4111-8e2e-9c96de75e221?api-version=2018-06-01 pragma: - no-cache server: @@ -3079,19 +3081,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/fea594e0-36ee-4e8b-9056-f882f1ad46b5?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/3145ab91-91e1-4111-8e2e-9c96de75e221?api-version=2018-06-01 response: body: - string: '{"name":"fea594e0-36ee-4e8b-9056-f882f1ad46b5","status":"Succeeded","startTime":"2020-03-04T18:44:01.507Z"}' + string: '{"name":"3145ab91-91e1-4111-8e2e-9c96de75e221","status":"Succeeded","startTime":"2020-03-06T02:14:49.49Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:17 GMT + - Fri, 06 Mar 2020 02:15:05 GMT expires: - '-1' pragma: @@ -3140,7 +3142,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:18 GMT + - Fri, 06 Mar 2020 02:15:07 GMT expires: - '-1' pragma: @@ -3184,18 +3186,20 @@ interactions: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c2236f4e-a12c-449e-baf3-637188b41934?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/201cff36-46b1-40f6-a5db-689b429c5f18?api-version=2019-11-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 04 Mar 2020 18:44:19 GMT + - Fri, 06 Mar 2020 02:15:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/c2236f4e-a12c-449e-baf3-637188b41934?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operationResults/201cff36-46b1-40f6-a5db-689b429c5f18?api-version=2019-11-01 pragma: - no-cache server: @@ -3206,7 +3210,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f74c4110-bb54-414b-b0fb-c232b7c22f13 + - aa637fc4-389b-4d37-a226-f2474bb719e4 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -3229,7 +3233,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c2236f4e-a12c-449e-baf3-637188b41934?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/201cff36-46b1-40f6-a5db-689b429c5f18?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3241,7 +3245,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:30 GMT + - Fri, 06 Mar 2020 02:15:17 GMT expires: - '-1' pragma: @@ -3258,7 +3262,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8d3e1885-53ca-4c54-840c-730a40129d36 + - 65b1ac7b-71b1-4b5f-b908-b3c896b39666 status: code: 200 message: OK @@ -3293,7 +3297,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:31 GMT + - Fri, 06 Mar 2020 02:15:19 GMT expires: - '-1' pragma: @@ -3343,7 +3347,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:32 GMT + - Fri, 06 Mar 2020 02:15:20 GMT expires: - '-1' pragma: @@ -3387,10 +3391,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/log_slow_admin_statements?api-version=2018-06-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:44:33.15Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:15:21.54Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/3b3a3b15-97b0-4bea-8d97-8a3d5a1ae81b?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/9031373c-2ce5-4db9-82cb-7ab324e217e7?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -3398,11 +3402,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:32 GMT + - Fri, 06 Mar 2020 02:15:21 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/3b3a3b15-97b0-4bea-8d97-8a3d5a1ae81b?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/9031373c-2ce5-4db9-82cb-7ab324e217e7?api-version=2018-06-01 pragma: - no-cache server: @@ -3412,7 +3416,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 202 message: Accepted @@ -3433,10 +3437,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/3b3a3b15-97b0-4bea-8d97-8a3d5a1ae81b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/9031373c-2ce5-4db9-82cb-7ab324e217e7?api-version=2018-06-01 response: body: - string: '{"name":"3b3a3b15-97b0-4bea-8d97-8a3d5a1ae81b","status":"Succeeded","startTime":"2020-03-04T18:44:33.15Z"}' + string: '{"name":"9031373c-2ce5-4db9-82cb-7ab324e217e7","status":"Succeeded","startTime":"2020-03-06T02:15:21.54Z"}' headers: cache-control: - no-cache @@ -3445,7 +3449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:48 GMT + - Fri, 06 Mar 2020 02:15:36 GMT expires: - '-1' pragma: @@ -3493,7 +3497,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:49 GMT + - Fri, 06 Mar 2020 02:15:37 GMT expires: - '-1' pragma: @@ -3537,10 +3541,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/log_slow_admin_statements?api-version=2018-06-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:44:50.117Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:15:38.537Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/83e0a01a-4c0c-4d55-ba07-f66753bcb40e?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/919ab32f-4032-4a89-8cc2-c1ece68c7b61?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -3548,11 +3552,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:44:50 GMT + - Fri, 06 Mar 2020 02:15:38 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/83e0a01a-4c0c-4d55-ba07-f66753bcb40e?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/919ab32f-4032-4a89-8cc2-c1ece68c7b61?api-version=2018-06-01 pragma: - no-cache server: @@ -3583,10 +3587,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/83e0a01a-4c0c-4d55-ba07-f66753bcb40e?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/919ab32f-4032-4a89-8cc2-c1ece68c7b61?api-version=2018-06-01 response: body: - string: '{"name":"83e0a01a-4c0c-4d55-ba07-f66753bcb40e","status":"Succeeded","startTime":"2020-03-04T18:44:50.117Z"}' + string: '{"name":"919ab32f-4032-4a89-8cc2-c1ece68c7b61","status":"Succeeded","startTime":"2020-03-06T02:15:38.537Z"}' headers: cache-control: - no-cache @@ -3595,7 +3599,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:05 GMT + - Fri, 06 Mar 2020 02:15:53 GMT expires: - '-1' pragma: @@ -3643,7 +3647,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:05 GMT + - Fri, 06 Mar 2020 02:15:53 GMT expires: - '-1' pragma: @@ -3918,7 +3922,7 @@ interactions: parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/read_only","name":"read_only","type":"Microsoft.DBforMariaDB/servers/configurations"},{"properties":{"value":"1073741824","description":"This option places an upper limit on the total size in bytes of all relay logs - on the slave.","defaultValue":"1073741824","dataType":"Integer","allowedValues":"1073741824-3221225472","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/relay_log_space_limit","name":"relay_log_space_limit","type":"Microsoft.DBforMariaDB/servers/configurations"},{"properties":{"value":"1449554715","description":"The + on the slave.","defaultValue":"1073741824","dataType":"Integer","allowedValues":"1073741824-3221225472","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/relay_log_space_limit","name":"relay_log_space_limit","type":"Microsoft.DBforMariaDB/servers/configurations"},{"properties":{"value":"42556297","description":"The server ID, used in replication to give each master and slave a unique identity.","defaultValue":"1000","dataType":"Integer","allowedValues":"1000-4294967295","source":"user-override","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/server_id","name":"server_id","type":"Microsoft.DBforMariaDB/servers/configurations"},{"properties":{"value":"ON","description":"Track changes to the default schema.","defaultValue":"ON","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/session_track_schema","name":"session_track_schema","type":"Microsoft.DBforMariaDB/servers/configurations"},{"properties":{"value":"OFF","description":"Track changes to the session state.","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/session_track_state_change","name":"session_track_state_change","type":"Microsoft.DBforMariaDB/servers/configurations"},{"properties":{"value":"OFF","description":"Track @@ -3975,11 +3979,11 @@ interactions: cache-control: - no-cache content-length: - - '116585' + - '116583' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:06 GMT + - Fri, 06 Mar 2020 02:15:54 GMT expires: - '-1' pragma: @@ -4023,10 +4027,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/configurations/slow_query_log?api-version=2018-06-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:45:08.187Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:15:56.443Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/f6de0802-ea7e-4896-aacb-724b1fc62285?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/7521daf6-3d38-402f-9fc8-133e3688ffee?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -4034,11 +4038,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:07 GMT + - Fri, 06 Mar 2020 02:15:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/operationResults/f6de0802-ea7e-4896-aacb-724b1fc62285?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/operationResults/7521daf6-3d38-402f-9fc8-133e3688ffee?api-version=2018-06-01 pragma: - no-cache server: @@ -4048,7 +4052,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -4069,10 +4073,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus/azureAsyncOperation/f6de0802-ea7e-4896-aacb-724b1fc62285?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMariaDB/locations/eastus2euap/azureAsyncOperation/7521daf6-3d38-402f-9fc8-133e3688ffee?api-version=2018-06-01 response: body: - string: '{"name":"f6de0802-ea7e-4896-aacb-724b1fc62285","status":"Succeeded","startTime":"2020-03-04T18:45:08.187Z"}' + string: '{"name":"7521daf6-3d38-402f-9fc8-133e3688ffee","status":"Succeeded","startTime":"2020-03-06T02:15:56.443Z"}' headers: cache-control: - no-cache @@ -4081,7 +4085,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:23 GMT + - Fri, 06 Mar 2020 02:16:11 GMT expires: - '-1' pragma: @@ -4129,7 +4133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:23 GMT + - Fri, 06 Mar 2020 02:16:11 GMT expires: - '-1' pragma: @@ -4169,16 +4173,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/logFiles?api-version=2018-06-01 response: body: - string: '{"value":[{"properties":{"name":"mysql-slow-azuredbclitest000002-2020030418.log","sizeInKB":1,"createdTime":"0001-01-01T00:00:00+00:00","lastModifiedTime":"2020-03-04T18:45:08+00:00","type":"slowlog","url":"https://wasd2prodeus1afse52.file.core.windows.net/80c79e2532eb474dba4c6a353a4f1798/serverlogs/mysql-slow-azuredbclitest000002-2020030418.log?sv=2018-11-09&sr=f&sig=fblGAuiVmhJRDCz%2FqSqFvYGc8%2FUfa9kBF5F6bluqZ3o%3D&se=2020-03-04T19%3A45%3A25Z&sp=r"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/logFiles/mysql-slow-azuredbclitest000002-2020030418.log","name":"mysql-slow-azuredbclitest000002-2020030418.log","type":"Microsoft.DBforMariaDB/servers/logFiles"}]}' + string: '{"value":[{"properties":{"name":"mysql-slow-azuredbclitest000002-2020030602.log","sizeInKB":1,"createdTime":"0001-01-01T00:00:00+00:00","lastModifiedTime":"2020-03-06T02:15:56+00:00","type":"slowlog","url":"https://wasd2prodea2eu1afse9.file.core.windows.net/d27485c17fea414e9a9c9764b156f61d/serverlogs/mysql-slow-azuredbclitest000002-2020030602.log?sv=2018-11-09&sr=f&sig=WITcfEB0KTlzfTOXnskrHQpJFxmDbhB8YP10SN357Sk%3D&se=2020-03-06T03%3A16%3A13Z&sp=r"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/logFiles/mysql-slow-azuredbclitest000002-2020030602.log","name":"mysql-slow-azuredbclitest000002-2020030602.log","type":"Microsoft.DBforMariaDB/servers/logFiles"}]}' headers: cache-control: - no-cache content-length: - - '1047' + - '1044' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:24 GMT + - Fri, 06 Mar 2020 02:16:12 GMT expires: - '-1' pragma: @@ -4227,7 +4231,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:25 GMT + - Fri, 06 Mar 2020 02:16:13 GMT expires: - '-1' pragma: @@ -4246,9 +4250,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "cli-subnet-000004"}]}}' + body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "cli-subnet-000004"}]}}' headers: Accept: - application/json @@ -4259,7 +4263,7 @@ interactions: Connection: - keep-alive Content-Length: - - '222' + - '227' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -4274,15 +4278,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"3c6992c4-c89c-4733-ba0d-4106b1e2bcb0\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"a3617984-439d-4e03-a3fa-e9f20b83c1ea\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"b90e89f9-7f7b-4ac1-aacc-426d1d0048bf\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8fd2f1c-21db-400a-8f85-455e4c251647\",\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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"3c6992c4-c89c-4733-ba0d-4106b1e2bcb0\\\"\",\r\n + \ \"etag\": \"W/\\\"a3617984-439d-4e03-a3fa-e9f20b83c1ea\\\"\",\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\": @@ -4290,16 +4294,18 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3fb516c0-5dc6-41ef-bfcd-dcf1b3148528?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a3c83448-3682-4b41-8107-27ffa3d4ff59?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1528' + - '1533' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:26 GMT + - Fri, 06 Mar 2020 02:16:15 GMT expires: - '-1' pragma: @@ -4312,9 +4318,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3649f480-4fe3-47b3-bc39-136166396eef + - df05cfaa-c137-4fe1-93d7-86c7e31003ac x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -4335,7 +4341,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/3fb516c0-5dc6-41ef-bfcd-dcf1b3148528?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a3c83448-3682-4b41-8107-27ffa3d4ff59?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4347,7 +4353,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:29 GMT + - Fri, 06 Mar 2020 02:16:18 GMT expires: - '-1' pragma: @@ -4364,7 +4370,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f02d3afb-3ecc-45d2-b886-e27cbbed38f8 + - 45a33bc4-72c0-4447-9de8-3a99db48f2d6 status: code: 200 message: OK @@ -4389,15 +4395,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"3f22b1c6-4922-4a4a-a4ed-80bfa6d72ab8\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"94670b9a-b106-4ea3-b727-a67a453e90d7\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"b90e89f9-7f7b-4ac1-aacc-426d1d0048bf\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"c8fd2f1c-21db-400a-8f85-455e4c251647\",\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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"3f22b1c6-4922-4a4a-a4ed-80bfa6d72ab8\\\"\",\r\n + \ \"etag\": \"W/\\\"94670b9a-b106-4ea3-b727-a67a453e90d7\\\"\",\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\": @@ -4408,13 +4414,13 @@ interactions: cache-control: - no-cache content-length: - - '1530' + - '1535' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:29 GMT + - Fri, 06 Mar 2020 02:16:18 GMT etag: - - W/"3f22b1c6-4922-4a4a-a4ed-80bfa6d72ab8" + - W/"94670b9a-b106-4ea3-b727-a67a453e90d7" expires: - '-1' pragma: @@ -4431,7 +4437,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3cfdce2c-d1ab-4e46-bdcf-f8b98c778a84 + - a90d0494-e566-4b69-b54a-adf0ca63c701 status: code: 200 message: OK @@ -4458,7 +4464,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"3f22b1c6-4922-4a4a-a4ed-80bfa6d72ab8\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"94670b9a-b106-4ea3-b727-a67a453e90d7\\\"\",\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\": @@ -4471,9 +4477,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:30 GMT + - Fri, 06 Mar 2020 02:16:19 GMT etag: - - W/"3f22b1c6-4922-4a4a-a4ed-80bfa6d72ab8" + - W/"94670b9a-b106-4ea3-b727-a67a453e90d7" expires: - '-1' pragma: @@ -4490,7 +4496,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 86af275b-9116-4fae-986b-cb9de504e993 + - fca4300b-e7bd-4de6-b484-cf5437b88029 status: code: 200 message: OK @@ -4523,14 +4529,14 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"3966394a-2a8b-4b8e-9838-fcee546ceeb8\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"9c564a1d-cfa1-4628-9db3-5919ac576754\\\"\",\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/eastus/operations/0f6a90a6-e260-4af9-bb65-1fb8bcdb8c9b?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/2e624d7b-bc31-4a9a-8d62-49891b448d19?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -4538,7 +4544,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:31 GMT + - Fri, 06 Mar 2020 02:16:20 GMT expires: - '-1' pragma: @@ -4555,7 +4561,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8dd953ac-6319-4f83-ab40-080108d94a5e + - a49dfd1c-15f1-4f29-ac89-040479bc58cd x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -4578,7 +4584,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0f6a90a6-e260-4af9-bb65-1fb8bcdb8c9b?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/2e624d7b-bc31-4a9a-8d62-49891b448d19?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4590,7 +4596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:35 GMT + - Fri, 06 Mar 2020 02:16:24 GMT expires: - '-1' pragma: @@ -4607,7 +4613,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a5b81ea-b771-4e0d-9dea-a6c938048ab8 + - 6fe577df-c9cd-4ae8-ae87-aa2a3f74c292 status: code: 200 message: OK @@ -4632,7 +4638,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"32e132db-bb7f-4677-a162-b1b23ee736fb\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"0958645f-7193-402e-91ba-d75cb80edf06\\\"\",\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\": @@ -4645,9 +4651,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:35 GMT + - Fri, 06 Mar 2020 02:16:24 GMT etag: - - W/"32e132db-bb7f-4677-a162-b1b23ee736fb" + - W/"0958645f-7193-402e-91ba-d75cb80edf06" expires: - '-1' pragma: @@ -4664,7 +4670,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 63d74564-1780-452e-8c12-d5b0d08d8006 + - 4eea52ce-fcd5-4c6e-9793-c8bdb431c1fb status: code: 200 message: OK @@ -4690,16 +4696,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002?api-version=2018-06-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-04T18:47:41.877+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Enabled","privateEndpointConnections":[]},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.38+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Disabled","privateEndpointConnections":[],"publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' headers: cache-control: - no-cache content-length: - - '1088' + - '1109' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:35 GMT + - Fri, 06 Mar 2020 02:16:24 GMT expires: - '-1' pragma: @@ -4748,7 +4754,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:36 GMT + - Fri, 06 Mar 2020 02:16:25 GMT expires: - '-1' pragma: @@ -4767,9 +4773,9 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "eastus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + body: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002", - "groupIds": ["mariadbServer"]}, "name": "cli-pec-000006"}]}}\''''' + "groupIds": ["mariadbServer"]}, "name": "cli-pec-000008"}]}}\''''' headers: Accept: - application/json @@ -4780,7 +4786,7 @@ interactions: Connection: - keep-alive Content-Length: - - '699' + - '704' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -4796,12 +4802,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"838c6db8-73f3-46dc-82e9-d4101f91340d\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"fe2d1c48-3377-4832-afdf-9d7781c2c771\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"3d167788-978c-4543-ac71-0808e9856f88\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"838c6db8-73f3-46dc-82e9-d4101f91340d\\\"\",\r\n + \"61c65cc4-db4d-4da2-a324-b578fe2726bb\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008\",\r\n + \ \"etag\": \"W/\\\"fe2d1c48-3377-4832-afdf-9d7781c2c771\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002\",\r\n \ \"groupIds\": [\r\n \"mariadbServer\"\r\n ],\r\n @@ -4810,19 +4816,21 @@ interactions: \"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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.afe70d3c-84a5-4950-849b-18c2959d7741\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.7df3153e-a4f8-4ece-a849-2d58edca0e2a\"\r\n \ }\r\n ]\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/42030fd5-3665-4dfb-b8dc-e03e8824e59e?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fb62472b-8c10-407d-add6-c61e544f0eea?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2329' + - '2334' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:40 GMT + - Fri, 06 Mar 2020 02:16:28 GMT expires: - '-1' pragma: @@ -4835,7 +4843,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 476e4285-e101-4312-8503-10d6adb99601 + - 09e0b89c-1d28-49cd-adcb-9b82bb7a9b71 x-ms-ratelimit-remaining-subscription-writes: - '1198' status: @@ -4859,7 +4867,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/42030fd5-3665-4dfb-b8dc-e03e8824e59e?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fb62472b-8c10-407d-add6-c61e544f0eea?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4871,7 +4879,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:45:50 GMT + - Fri, 06 Mar 2020 02:16:38 GMT expires: - '-1' pragma: @@ -4888,7 +4896,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c7256a6c-bfef-4d6d-8230-40f85d432a8e + - d908a33c-d95b-43d5-941c-69c5e655de79 status: code: 200 message: OK @@ -4910,7 +4918,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/42030fd5-3665-4dfb-b8dc-e03e8824e59e?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fb62472b-8c10-407d-add6-c61e544f0eea?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -4922,7 +4930,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:00 GMT + - Fri, 06 Mar 2020 02:16:49 GMT expires: - '-1' pragma: @@ -4939,7 +4947,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 86314d4c-c707-47c7-a3d8-f83291057751 + - 3f0dc5fa-fb93-4e1b-85a9-b3f3fe32ba5d status: code: 200 message: OK @@ -4961,7 +4969,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/42030fd5-3665-4dfb-b8dc-e03e8824e59e?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/fb62472b-8c10-407d-add6-c61e544f0eea?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4973,7 +4981,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:10 GMT + - Fri, 06 Mar 2020 02:16:59 GMT expires: - '-1' pragma: @@ -4990,7 +4998,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ab6dc9ff-1c48-431b-9dd1-c19a43da9c20 + - d54c60cb-6fcb-41fa-8785-e37758045524 status: code: 200 message: OK @@ -5016,12 +5024,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"7036cc1c-f553-487b-8fe4-d8ac4451c465\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"a6be671a-bfed-48c6-af8f-0f351b84f241\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"3d167788-978c-4543-ac71-0808e9856f88\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"7036cc1c-f553-487b-8fe4-d8ac4451c465\\\"\",\r\n + \"61c65cc4-db4d-4da2-a324-b578fe2726bb\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008\",\r\n + \ \"etag\": \"W/\\\"a6be671a-bfed-48c6-af8f-0f351b84f241\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002\",\r\n \ \"groupIds\": [\r\n \"mariadbServer\"\r\n ],\r\n @@ -5030,19 +5038,19 @@ interactions: \"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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.afe70d3c-84a5-4950-849b-18c2959d7741\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.7df3153e-a4f8-4ece-a849-2d58edca0e2a\"\r\n \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2343' + - '2348' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:10 GMT + - Fri, 06 Mar 2020 02:16:59 GMT etag: - - W/"7036cc1c-f553-487b-8fe4-d8ac4451c465" + - W/"a6be671a-bfed-48c6-af8f-0f351b84f241" expires: - '-1' pragma: @@ -5059,7 +5067,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1311c9b2-65cd-446d-9c6d-266ee8ebda78 + - f2395416-a403-4b34-b9c1-ed057294c992 status: code: 200 message: OK @@ -5082,16 +5090,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002?api-version=2018-06-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-04T18:47:41.877+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Enabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"}}]},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.38+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"}}],"publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' headers: cache-control: - no-cache content-length: - - '1884' + - '1905' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:11 GMT + - Fri, 06 Mar 2020 02:17:00 GMT expires: - '-1' pragma: @@ -5128,10 +5136,10 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08","name":"cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5","name":"cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' headers: cache-control: - no-cache @@ -5140,7 +5148,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:12 GMT + - Fri, 06 Mar 2020 02:17:00 GMT expires: - '-1' pragma: @@ -5170,17 +5178,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08","name":"cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5","name":"cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' headers: cache-control: - no-cache @@ -5189,7 +5197,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:13 GMT + - Fri, 06 Mar 2020 02:17:01 GMT expires: - '-1' pragma: @@ -5208,7 +5216,8 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' headers: Accept: - application/json @@ -5219,18 +5228,18 @@ interactions: Connection: - keep-alive Content-Length: - - '2' + - '113' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5?api-version=2018-06-01 response: body: string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private @@ -5243,7 +5252,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:13 GMT + - Fri, 06 Mar 2020 02:17:01 GMT expires: - '-1' pragma: @@ -5255,7 +5264,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 400 message: Bad Request @@ -5271,17 +5280,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08","name":"cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5","name":"cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' headers: cache-control: - no-cache @@ -5290,7 +5299,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:14 GMT + - Fri, 06 Mar 2020 02:17:02 GMT expires: - '-1' pragma: @@ -5309,7 +5318,8 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' headers: Accept: - application/json @@ -5320,18 +5330,18 @@ interactions: Connection: - keep-alive Content-Length: - - '2' + - '113' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5?api-version=2018-06-01 response: body: string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private @@ -5344,7 +5354,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:14 GMT + - Fri, 06 Mar 2020 02:17:02 GMT expires: - '-1' pragma: @@ -5356,7 +5366,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 400 message: Bad Request @@ -5381,25 +5391,25 @@ interactions: accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-7e50ed49-abbc-46bb-ac8e-fb6f79b9ea08?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-61bdd341-4ed0-46d1-a55d-0c1713e203f5?api-version=2018-06-01 response: body: - string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-04T18:46:15.46Z"}' + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:17:03.863Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/privateEndpointConnectionAzureAsyncOperation/2bbf41dc-bd4c-4232-8129-7cdff5c45c6f?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/0d9e7c66-e213-417c-b040-dd7a550d14c8?api-version=2018-06-01 cache-control: - no-cache content-length: - - '96' + - '97' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:16 GMT + - Fri, 06 Mar 2020 02:17:04 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/privateEndpointConnectionOperationResults/2bbf41dc-bd4c-4232-8129-7cdff5c45c6f?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionOperationResults/0d9e7c66-e213-417c-b040-dd7a550d14c8?api-version=2018-06-01 pragma: - no-cache server: @@ -5430,10 +5440,1402 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus/privateEndpointConnectionAzureAsyncOperation/2bbf41dc-bd4c-4232-8129-7cdff5c45c6f?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/0d9e7c66-e213-417c-b040-dd7a550d14c8?api-version=2018-06-01 + response: + body: + string: '{"name":"0d9e7c66-e213-417c-b040-dd7a550d14c8","status":"Succeeded","startTime":"2020-03-06T02:17:03.863Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:20 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: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002", + "groupIds": ["mariadbServer"]}, "name": "cli-pec-000009"}]}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '710' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n + \ \"etag\": \"W/\\\"a2c54498-d2b9-439f-a946-d258b8a7ba33\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"90eb8074-2421-4575-91a8-813c0ad42df0\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009\",\r\n + \ \"etag\": \"W/\\\"a2c54498-d2b9-439f-a946-d258b8a7ba33\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mariadbServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.67958972-1e41-4f13-a808-6bca8ed8428f\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/caecf706-436a-49f1-b801-a687712f14d9?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '2362' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 7f2a90a6-6078-4d1f-ad79-f670222b35fc + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/caecf706-436a-49f1-b801-a687712f14d9?api-version=2019-11-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, 06 Mar 2020 02:17:34 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: + - 5c0a69a2-71ba-47e3-a7dd-a6459ac98ae9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n + \ \"etag\": \"W/\\\"bea925e6-127e-46fe-bde7-0041612d6719\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"90eb8074-2421-4575-91a8-813c0ad42df0\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009\",\r\n + \ \"etag\": \"W/\\\"bea925e6-127e-46fe-bde7-0041612d6719\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mariadbServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.67958972-1e41-4f13-a808-6bca8ed8428f\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2346' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:34 GMT + etag: + - W/"bea925e6-127e-46fe-bde7-0041612d6719" + 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: + - 5f8c63f4-dd1e-41bb-bead-e89278ce2a1d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002?api-version=2018-06-01 + response: + body: + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.38+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"}}],"publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '1891' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:35 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: + - mariadb server private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","name":"cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '920' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:36 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: + - mariadb server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","name":"cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '920' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:36 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734?api-version=2018-06-01 + response: + body: + string: '{"operation":"ApproveElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:17:37.783Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/5ca27fb4-788c-4357-801a-3ea63d015e3d?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '100' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:38 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionOperationResults/5ca27fb4-788c-4357-801a-3ea63d015e3d?api-version=2018-06-01 + 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: + - '1196' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/5ca27fb4-788c-4357-801a-3ea63d015e3d?api-version=2018-06-01 + response: + body: + string: '{"name":"5ca27fb4-788c-4357-801a-3ea63d015e3d","status":"Succeeded","startTime":"2020-03-06T02:17:37.783Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","name":"cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '938' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","name":"cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '938' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17: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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734?api-version=2018-06-01 + response: + body: + string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private + Endpoint Connection Status is not Pending"}}' + headers: + cache-control: + - no-cache + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:55 GMT + expires: + - '-1' + 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: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-d735923a-b5b0-449b-8644-79475cb3a734?api-version=2018-06-01 + response: + body: + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:17:56.54Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/50e11b42-4c3f-4a29-9142-15cbcaba72c4?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '96' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionOperationResults/50e11b42-4c3f-4a29-9142-15cbcaba72c4?api-version=2018-06-01 + 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 +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection delete + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/50e11b42-4c3f-4a29-9142-15cbcaba72c4?api-version=2018-06-01 + response: + body: + string: '{"name":"50e11b42-4c3f-4a29-9142-15cbcaba72c4","status":"Succeeded","startTime":"2020-03-06T02:17:56.54Z"}' + headers: + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18: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: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002", + "groupIds": ["mariadbServer"]}, "name": "cli-pec-000010"}]}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '710' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007\",\r\n + \ \"etag\": \"W/\\\"c112c3d9-72fd-45ec-9623-56703aa6b801\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"069a8452-a248-4c07-894a-82c4d5c9d15e\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000010\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010\",\r\n + \ \"etag\": \"W/\\\"c112c3d9-72fd-45ec-9623-56703aa6b801\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mariadbServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.b12c2c27-a093-4a86-af07-1238eed8bbb6\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/f78dad9c-19ac-479f-a136-a39370043226?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '2362' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:16 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: + - f8880d0b-8a7b-4242-8845-3c9833638e11 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/f78dad9c-19ac-479f-a136-a39370043226?api-version=2019-11-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, 06 Mar 2020 02:18:27 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: + - f7fcb624-2e07-4d24-ab96-c77b3b89392d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007\",\r\n + \ \"etag\": \"W/\\\"b061b766-3177-4ab0-9101-fe75131778a2\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"069a8452-a248-4c07-894a-82c4d5c9d15e\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000010\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010\",\r\n + \ \"etag\": \"W/\\\"b061b766-3177-4ab0-9101-fe75131778a2\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mariadbServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.b12c2c27-a093-4a86-af07-1238eed8bbb6\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2346' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:27 GMT + etag: + - W/"b061b766-3177-4ab0-9101-fe75131778a2" + 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: + - 4dc0fbbe-1a5b-4f80-9cf5-c11c0a34a4e1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002?api-version=2018-06-01 + response: + body: + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"10.2","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mariadb.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.38+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","infrastructureEncryption":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"}}],"publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMariaDB/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '1891' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:27 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: + - mariadb server private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","name":"cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '920' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:28 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: + - mariadb server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","name":"cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '920' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:28 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8?api-version=2018-06-01 + response: + body: + string: '{"operation":"RejectElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:18:29.847Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/f9865ae2-d32d-45b6-80e2-eead34222507?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:30 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionOperationResults/f9865ae2-d32d-45b6-80e2-eead34222507?api-version=2018-06-01 + 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: + - '1197' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/f9865ae2-d32d-45b6-80e2-eead34222507?api-version=2018-06-01 + response: + body: + string: '{"name":"f9865ae2-d32d-45b6-80e2-eead34222507","status":"Succeeded","startTime":"2020-03-06T02:18:29.847Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:46 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: + - mariadb server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","name":"cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '938' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:46 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: + - mariadb server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","name":"cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8","type":"Microsoft.DBforMariaDB/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '938' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:47 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8?api-version=2018-06-01 + response: + body: + string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private + Endpoint Connection Status is not Pending"}}' + headers: + cache-control: + - no-cache + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:47 GMT + expires: + - '-1' + 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: + - '1198' + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-183baa78-1226-4518-8856-61b4fa4bcde8?api-version=2018-06-01 + response: + body: + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:18:48.67Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/7ae4a37b-db44-4d02-bb85-a8c1e325692e?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '96' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:49 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionOperationResults/7ae4a37b-db44-4d02-bb85-a8c1e325692e?api-version=2018-06-01 + 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: + - '14998' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mariadb server private-endpoint-connection delete + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2018-06-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMariaDB/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/7ae4a37b-db44-4d02-bb85-a8c1e325692e?api-version=2018-06-01 response: body: - string: '{"name":"2bbf41dc-bd4c-4232-8129-7cdff5c45c6f","status":"Succeeded","startTime":"2020-03-04T18:46:15.46Z"}' + string: '{"name":"7ae4a37b-db44-4d02-bb85-a8c1e325692e","status":"Succeeded","startTime":"2020-03-06T02:18:48.67Z"}' headers: cache-control: - no-cache @@ -5442,7 +6844,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:46:31 GMT + - Fri, 06 Mar 2020 02:19:04 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mysql_proxy_resources_mgmt.yaml b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mysql_proxy_resources_mgmt.yaml index 4414264ffb6..4f6445e2c46 100644 --- a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mysql_proxy_resources_mgmt.yaml +++ b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_mysql_proxy_resources_mgmt.yaml @@ -2,7 +2,7 @@ interactions: - request: body: '{"sku": {"name": "GP_Gen5_2"}, "properties": {"storageProfile": {"storageAutogrow": "Enabled"}, "createMode": "Default", "administratorLogin": "cloudsa", "administratorLoginPassword": - "SecretPassword123"}, "location": "eastus"}' + "SecretPassword123"}, "location": "eastus2euap"}' headers: Accept: - application/json @@ -13,7 +13,7 @@ interactions: Connection: - keep-alive Content-Length: - - '227' + - '232' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -27,22 +27,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServer","startTime":"2020-03-04T18:25:19.683Z"}' + string: '{"operation":"UpsertElasticServer","startTime":"2020-03-06T02:07:55.97Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a4984196-0869-4b2b-8a45-027bb4b0783b?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 cache-control: - no-cache content-length: - - '74' + - '73' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:25:19 GMT + - Fri, 06 Mar 2020 02:07:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/a4984196-0869-4b2b-8a45-027bb4b0783b?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 pragma: - no-cache server: @@ -52,7 +52,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -73,19 +73,160 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a4984196-0869-4b2b-8a45-027bb4b0783b?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 + response: + body: + string: '{"name":"9836006e-8314-4f3f-bc36-2169646d6016","status":"InProgress","startTime":"2020-03-06T02:07:55.97Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:08:57 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: + - mysql server create + Connection: + - keep-alive + ParameterSetName: + - -l -g -n -u -p --sku-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 + response: + body: + string: '{"name":"9836006e-8314-4f3f-bc36-2169646d6016","status":"InProgress","startTime":"2020-03-06T02:07:55.97Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:09:57 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: + - mysql server create + Connection: + - keep-alive + ParameterSetName: + - -l -g -n -u -p --sku-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 + response: + body: + string: '{"name":"9836006e-8314-4f3f-bc36-2169646d6016","status":"InProgress","startTime":"2020-03-06T02:07:55.97Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:10:58 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: + - mysql server create + Connection: + - keep-alive + ParameterSetName: + - -l -g -n -u -p --sku-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 response: body: - string: '{"name":"a4984196-0869-4b2b-8a45-027bb4b0783b","status":"InProgress","startTime":"2020-03-04T18:25:19.683Z"}' + string: '{"name":"9836006e-8314-4f3f-bc36-2169646d6016","status":"InProgress","startTime":"2020-03-06T02:07:55.97Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:26:19 GMT + - Fri, 06 Mar 2020 02:11:57 GMT expires: - '-1' pragma: @@ -120,10 +261,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/a4984196-0869-4b2b-8a45-027bb4b0783b?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 response: body: - string: '{"name":"a4984196-0869-4b2b-8a45-027bb4b0783b","status":"Succeeded","startTime":"2020-03-04T18:25:19.683Z"}' + string: '{"name":"9836006e-8314-4f3f-bc36-2169646d6016","status":"InProgress","startTime":"2020-03-06T02:07:55.97Z"}' headers: cache-control: - no-cache @@ -132,7 +273,54 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:20 GMT + - Fri, 06 Mar 2020 02:12:58 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: + - mysql server create + Connection: + - keep-alive + ParameterSetName: + - -l -g -n -u -p --sku-name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/9836006e-8314-4f3f-bc36-2169646d6016?api-version=2017-12-01 + response: + body: + string: '{"name":"9836006e-8314-4f3f-bc36-2169646d6016","status":"Succeeded","startTime":"2020-03-06T02:07:55.97Z"}' + headers: + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:13:58 GMT expires: - '-1' pragma: @@ -170,16 +358,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-04T18:35:20.137+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.317+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' headers: cache-control: - no-cache content-length: - - '1081' + - '1103' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:20 GMT + - Fri, 06 Mar 2020 02:13:58 GMT expires: - '-1' pragma: @@ -223,22 +411,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:27:21.7Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:14:01.017Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1a84cf38-005a-48f5-b9ef-1596920eb419?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/36275b65-425a-43c9-8093-ee090bc0fc57?api-version=2017-12-01 cache-control: - no-cache content-length: - - '85' + - '87' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:21 GMT + - Fri, 06 Mar 2020 02:14:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/1a84cf38-005a-48f5-b9ef-1596920eb419?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/36275b65-425a-43c9-8093-ee090bc0fc57?api-version=2017-12-01 pragma: - no-cache server: @@ -248,7 +436,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -269,19 +457,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/1a84cf38-005a-48f5-b9ef-1596920eb419?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/36275b65-425a-43c9-8093-ee090bc0fc57?api-version=2017-12-01 response: body: - string: '{"name":"1a84cf38-005a-48f5-b9ef-1596920eb419","status":"Succeeded","startTime":"2020-03-04T18:27:21.7Z"}' + string: '{"name":"36275b65-425a-43c9-8093-ee090bc0fc57","status":"Succeeded","startTime":"2020-03-06T02:14:01.017Z"}' headers: cache-control: - no-cache content-length: - - '105' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:36 GMT + - Fri, 06 Mar 2020 02:14:17 GMT expires: - '-1' pragma: @@ -328,7 +516,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:36 GMT + - Fri, 06 Mar 2020 02:14:17 GMT expires: - '-1' pragma: @@ -377,7 +565,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:38 GMT + - Fri, 06 Mar 2020 02:14:18 GMT expires: - '-1' pragma: @@ -426,7 +614,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:38 GMT + - Fri, 06 Mar 2020 02:14:18 GMT expires: - '-1' pragma: @@ -470,22 +658,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:27:39.903Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:14:20.14Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/10d1c9f6-4213-4d70-9248-b86d1c03a111?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/186c34c4-b151-4d55-a623-ebf8fe5eb866?api-version=2017-12-01 cache-control: - no-cache content-length: - - '87' + - '86' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:39 GMT + - Fri, 06 Mar 2020 02:14:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/10d1c9f6-4213-4d70-9248-b86d1c03a111?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/186c34c4-b151-4d55-a623-ebf8fe5eb866?api-version=2017-12-01 pragma: - no-cache server: @@ -495,7 +683,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 202 message: Accepted @@ -516,19 +704,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/10d1c9f6-4213-4d70-9248-b86d1c03a111?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/186c34c4-b151-4d55-a623-ebf8fe5eb866?api-version=2017-12-01 response: body: - string: '{"name":"10d1c9f6-4213-4d70-9248-b86d1c03a111","status":"Succeeded","startTime":"2020-03-04T18:27:39.903Z"}' + string: '{"name":"186c34c4-b151-4d55-a623-ebf8fe5eb866","status":"Succeeded","startTime":"2020-03-06T02:14:20.14Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:54 GMT + - Fri, 06 Mar 2020 02:14:39 GMT expires: - '-1' pragma: @@ -575,7 +763,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:54 GMT + - Fri, 06 Mar 2020 02:14:39 GMT expires: - '-1' pragma: @@ -624,7 +812,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:55 GMT + - Fri, 06 Mar 2020 02:14:40 GMT expires: - '-1' pragma: @@ -668,10 +856,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:27:56.733Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:14:41.507Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/b0b40309-f413-4ef4-87f0-3b0a3fe72afe?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5d61ecbc-9685-47c9-877e-4db1c9174961?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -679,11 +867,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:27:56 GMT + - Fri, 06 Mar 2020 02:14:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/b0b40309-f413-4ef4-87f0-3b0a3fe72afe?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/5d61ecbc-9685-47c9-877e-4db1c9174961?api-version=2017-12-01 pragma: - no-cache server: @@ -714,10 +902,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/b0b40309-f413-4ef4-87f0-3b0a3fe72afe?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/5d61ecbc-9685-47c9-877e-4db1c9174961?api-version=2017-12-01 response: body: - string: '{"name":"b0b40309-f413-4ef4-87f0-3b0a3fe72afe","status":"Succeeded","startTime":"2020-03-04T18:27:56.733Z"}' + string: '{"name":"5d61ecbc-9685-47c9-877e-4db1c9174961","status":"Succeeded","startTime":"2020-03-06T02:14:41.507Z"}' headers: cache-control: - no-cache @@ -726,7 +914,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:11 GMT + - Fri, 06 Mar 2020 02:14:57 GMT expires: - '-1' pragma: @@ -773,7 +961,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:11 GMT + - Fri, 06 Mar 2020 02:14:58 GMT expires: - '-1' pragma: @@ -822,7 +1010,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:12 GMT + - Fri, 06 Mar 2020 02:14:58 GMT expires: - '-1' pragma: @@ -866,10 +1054,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:28:13.92Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:14:59.61Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/f8054db4-fd01-44bf-a934-c115cae28a82?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/f09f985d-fe6b-49d9-951b-51f1afee0053?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -877,11 +1065,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:14 GMT + - Fri, 06 Mar 2020 02:15:00 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/f8054db4-fd01-44bf-a934-c115cae28a82?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/f09f985d-fe6b-49d9-951b-51f1afee0053?api-version=2017-12-01 pragma: - no-cache server: @@ -912,10 +1100,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/f8054db4-fd01-44bf-a934-c115cae28a82?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/f09f985d-fe6b-49d9-951b-51f1afee0053?api-version=2017-12-01 response: body: - string: '{"name":"f8054db4-fd01-44bf-a934-c115cae28a82","status":"Succeeded","startTime":"2020-03-04T18:28:13.92Z"}' + string: '{"name":"f09f985d-fe6b-49d9-951b-51f1afee0053","status":"Succeeded","startTime":"2020-03-06T02:14:59.61Z"}' headers: cache-control: - no-cache @@ -924,7 +1112,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:28 GMT + - Fri, 06 Mar 2020 02:15:15 GMT expires: - '-1' pragma: @@ -971,7 +1159,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:28 GMT + - Fri, 06 Mar 2020 02:15:15 GMT expires: - '-1' pragma: @@ -1015,22 +1203,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/firewallRules/rule2?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:28:30.483Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:15:17.27Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5af29b39-fbdc-4b76-b213-8d863a4dfd77?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/0f92c92d-8f46-431d-8f05-f12a91d7a453?api-version=2017-12-01 cache-control: - no-cache content-length: - - '87' + - '86' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:29 GMT + - Fri, 06 Mar 2020 02:15:17 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5af29b39-fbdc-4b76-b213-8d863a4dfd77?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/0f92c92d-8f46-431d-8f05-f12a91d7a453?api-version=2017-12-01 pragma: - no-cache server: @@ -1040,7 +1228,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -1061,19 +1249,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5af29b39-fbdc-4b76-b213-8d863a4dfd77?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/0f92c92d-8f46-431d-8f05-f12a91d7a453?api-version=2017-12-01 response: body: - string: '{"name":"5af29b39-fbdc-4b76-b213-8d863a4dfd77","status":"Succeeded","startTime":"2020-03-04T18:28:30.483Z"}' + string: '{"name":"0f92c92d-8f46-431d-8f05-f12a91d7a453","status":"Succeeded","startTime":"2020-03-06T02:15:17.27Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:45 GMT + - Fri, 06 Mar 2020 02:15:33 GMT expires: - '-1' pragma: @@ -1120,7 +1308,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:45 GMT + - Fri, 06 Mar 2020 02:15:33 GMT expires: - '-1' pragma: @@ -1169,7 +1357,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:46 GMT + - Fri, 06 Mar 2020 02:15:34 GMT expires: - '-1' pragma: @@ -1211,22 +1399,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-04T18:28:48.023Z"}' + string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-06T02:15:35.7Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fa583638-cf24-47d5-82e8-24ad98d23008?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/09298efc-9ca2-48d5-bcb9-675bcc180560?api-version=2017-12-01 cache-control: - no-cache content-length: - - '84' + - '82' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:28:47 GMT + - Fri, 06 Mar 2020 02:15:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/fa583638-cf24-47d5-82e8-24ad98d23008?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/09298efc-9ca2-48d5-bcb9-675bcc180560?api-version=2017-12-01 pragma: - no-cache server: @@ -1257,19 +1445,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/fa583638-cf24-47d5-82e8-24ad98d23008?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/09298efc-9ca2-48d5-bcb9-675bcc180560?api-version=2017-12-01 response: body: - string: '{"name":"fa583638-cf24-47d5-82e8-24ad98d23008","status":"Succeeded","startTime":"2020-03-04T18:28:48.023Z"}' + string: '{"name":"09298efc-9ca2-48d5-bcb9-675bcc180560","status":"Succeeded","startTime":"2020-03-06T02:15:35.7Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '105' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:03 GMT + - Fri, 06 Mar 2020 02:15:51 GMT expires: - '-1' pragma: @@ -1318,7 +1506,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:04 GMT + - Fri, 06 Mar 2020 02:15:53 GMT expires: - '-1' pragma: @@ -1360,10 +1548,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/firewallRules/rule2?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-04T18:29:05.173Z"}' + string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-06T02:15:54.223Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/49e6d164-1dc9-4584-86ff-5a161edfbeb9?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/34d8a362-c260-42f9-a894-491339dcf6c4?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -1371,11 +1559,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:04 GMT + - Fri, 06 Mar 2020 02:15:54 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/49e6d164-1dc9-4584-86ff-5a161edfbeb9?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/34d8a362-c260-42f9-a894-491339dcf6c4?api-version=2017-12-01 pragma: - no-cache server: @@ -1406,10 +1594,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/49e6d164-1dc9-4584-86ff-5a161edfbeb9?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/34d8a362-c260-42f9-a894-491339dcf6c4?api-version=2017-12-01 response: body: - string: '{"name":"49e6d164-1dc9-4584-86ff-5a161edfbeb9","status":"Succeeded","startTime":"2020-03-04T18:29:05.173Z"}' + string: '{"name":"34d8a362-c260-42f9-a894-491339dcf6c4","status":"Succeeded","startTime":"2020-03-06T02:15:54.223Z"}' headers: cache-control: - no-cache @@ -1418,7 +1606,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:20 GMT + - Fri, 06 Mar 2020 02:16:09 GMT expires: - '-1' pragma: @@ -1467,7 +1655,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:21 GMT + - Fri, 06 Mar 2020 02:16:11 GMT expires: - '-1' pragma: @@ -1486,9 +1674,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "clitestsubnet1"}]}}' + body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "clitestsubnet1"}]}}' headers: Accept: - application/json @@ -1499,7 +1687,7 @@ interactions: Connection: - keep-alive Content-Length: - - '212' + - '217' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1514,15 +1702,15 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"4df89d0c-72d6-4ad5-bcaf-ac55f2be5fdf\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"d1793e2f-92dc-4b30-b3f4-ebbb37480c9e\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"4df89d0c-72d6-4ad5-bcaf-ac55f2be5fdf\\\"\",\r\n + \ \"etag\": \"W/\\\"d1793e2f-92dc-4b30-b3f4-ebbb37480c9e\\\"\",\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\": @@ -1530,16 +1718,18 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00d3dd4c-868b-4552-ac8f-5edea04b6bfa?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e2a6be23-f027-44e2-b548-50e089b970ad?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1469' + - '1474' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:22 GMT + - Fri, 06 Mar 2020 02:16:12 GMT expires: - '-1' pragma: @@ -1552,9 +1742,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4ba2286b-646f-427f-9554-b098eb218279 + - 8cb5fa44-8f93-45c3-b425-7a8148238ce8 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -1575,19 +1765,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00d3dd4c-868b-4552-ac8f-5edea04b6bfa?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e2a6be23-f027-44e2-b548-50e089b970ad?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '29' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:26 GMT + - Fri, 06 Mar 2020 02:16:16 GMT expires: - '-1' pragma: @@ -1604,7 +1794,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6015fbaa-6618-482a-a5d8-bd4dbe395c4e + - fa3a3b3c-c9e9-4b0a-954b-845420381f85 status: code: 200 message: OK @@ -1625,19 +1815,36 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00d3dd4c-868b-4552-ac8f-5edea04b6bfa?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n + \ \"etag\": \"W/\\\"20fe1e28-a207-4408-bc17-01dfd537a26c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n + \ \"etag\": \"W/\\\"20fe1e28-a207-4408-bc17-01dfd537a26c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '1476' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:36 GMT + - Fri, 06 Mar 2020 02:16:16 GMT + etag: + - W/"20fe1e28-a207-4408-bc17-01dfd537a26c" expires: - '-1' pragma: @@ -1654,7 +1861,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d0dcf183-4ec0-4e17-ad28-e891658a1a7d + - 05c4235d-378f-409f-8ae3-9b87d3e836b4 status: code: 200 message: OK @@ -1666,28 +1873,47 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network vnet create + - network vnet subnet create Connection: - keep-alive ParameterSetName: - - -n -g -l --address-prefix --subnet-name --subnet-prefix + - --vnet-name -g --address-prefix -n User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/00d3dd4c-868b-4552-ac8f-5edea04b6bfa?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n + \ \"etag\": \"W/\\\"20fe1e28-a207-4408-bc17-01dfd537a26c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n + \ \"etag\": \"W/\\\"20fe1e28-a207-4408-bc17-01dfd537a26c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '29' + - '1476' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:46 GMT + - Fri, 06 Mar 2020 02:16:17 GMT + etag: + - W/"20fe1e28-a207-4408-bc17-01dfd537a26c" expires: - '-1' pragma: @@ -1704,166 +1930,30 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b6917d2a-24a1-4dd8-81b8-1709883ac662 + - b15386e2-635d-4c75-a6f8-a123893c948d status: code: 200 message: OK - request: - body: null + body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet", + "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet1"}, + {"properties": {"addressPrefix": "10.0.1.0/24"}, "name": "clitestsubnet2"}], + "virtualNetworkPeerings": [], "enableDdosProtection": false, "enableVmProtection": + false}}''' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - -n -g -l --address-prefix --subnet-name --subnet-prefix - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"df412e50-33ce-4c02-a80b-cea978c80884\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\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\": \"clitestsubnet1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"df412e50-33ce-4c02-a80b-cea978c80884\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": - false,\r\n \"enableVmProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1471' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 04 Mar 2020 18:29:46 GMT - etag: - - W/"df412e50-33ce-4c02-a80b-cea978c80884" - 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: - - 4f63cddb-fc65-48d0-b2cc-3ccb574cdb1e - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create - Connection: - - keep-alive - ParameterSetName: - - --vnet-name -g --address-prefix -n - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"df412e50-33ce-4c02-a80b-cea978c80884\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\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\": \"clitestsubnet1\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"df412e50-33ce-4c02-a80b-cea978c80884\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": - false,\r\n \"enableVmProtection\": false\r\n }\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '1471' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 04 Mar 2020 18:29:47 GMT - etag: - - W/"df412e50-33ce-4c02-a80b-cea978c80884" - 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: - - bb049b1a-3616-4d14-b716-981402cadd06 - status: - code: 200 - message: OK -- request: - body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet", - "location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1", - "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": - "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet1"}, - {"properties": {"addressPrefix": "10.0.1.0/24"}, "name": "clitestsubnet2"}], - "virtualNetworkPeerings": [], "enableDdosProtection": false, "enableVmProtection": - false}}''' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet subnet create + - network vnet subnet create Connection: - keep-alive Content-Length: - - '945' + - '950' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1878,22 +1968,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"64ed897e-1a71-44c6-ba4a-f69d25f963f2\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"497f8494-a2c3-417f-b836-6a1bce3243fc\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"64ed897e-1a71-44c6-ba4a-f69d25f963f2\\\"\",\r\n + \ \"etag\": \"W/\\\"497f8494-a2c3-417f-b836-6a1bce3243fc\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"64ed897e-1a71-44c6-ba4a-f69d25f963f2\\\"\",\r\n + \ \"etag\": \"W/\\\"497f8494-a2c3-417f-b836-6a1bce3243fc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -1902,15 +1992,15 @@ interactions: false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8bcd1ace-d365-4792-b498-23cb0e7c785a?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/70958b6c-31fa-40f2-9d55-2e69da4d0bd8?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2155' + - '2160' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:47 GMT + - Fri, 06 Mar 2020 02:16:18 GMT expires: - '-1' pragma: @@ -1927,7 +2017,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 87c84895-f6a6-4ee9-a967-ff8d0c1e6e00 + - 9301d920-fa5a-43f6-adb6-3f44eaf6c714 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -1950,7 +2040,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/8bcd1ace-d365-4792-b498-23cb0e7c785a?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/70958b6c-31fa-40f2-9d55-2e69da4d0bd8?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1962,7 +2052,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:51 GMT + - Fri, 06 Mar 2020 02:16:21 GMT expires: - '-1' pragma: @@ -1979,7 +2069,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4be0ab2a-7e2e-4e1c-ae2b-7bde59c0d79e + - db8721da-7728-4d1e-823d-45ff13f80e30 status: code: 200 message: OK @@ -2004,22 +2094,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"9b98ea57-2eac-43a1-be78-ef2a1d9cbd11\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"d1119e1a-1d6b-4798-935f-e32ad48e527c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"9b98ea57-2eac-43a1-be78-ef2a1d9cbd11\\\"\",\r\n + \ \"etag\": \"W/\\\"d1119e1a-1d6b-4798-935f-e32ad48e527c\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"9b98ea57-2eac-43a1-be78-ef2a1d9cbd11\\\"\",\r\n + \ \"etag\": \"W/\\\"d1119e1a-1d6b-4798-935f-e32ad48e527c\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2030,13 +2120,13 @@ interactions: cache-control: - no-cache content-length: - - '2158' + - '2163' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:51 GMT + - Fri, 06 Mar 2020 02:16:21 GMT etag: - - W/"9b98ea57-2eac-43a1-be78-ef2a1d9cbd11" + - W/"d1119e1a-1d6b-4798-935f-e32ad48e527c" expires: - '-1' pragma: @@ -2053,7 +2143,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6fadc141-2430-4089-b93d-df544a65dd34 + - 8b54e30d-65d9-4dc2-b7af-8634a5c49c6d status: code: 200 message: OK @@ -2084,10 +2174,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:29:52.447Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:16:23.117Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/b8a7b876-6482-421d-8061-0e82a9e2f853?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/16b62611-6707-4b73-bd4b-eb37350be090?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -2095,11 +2185,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:29:53 GMT + - Fri, 06 Mar 2020 02:16:23 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/b8a7b876-6482-421d-8061-0e82a9e2f853?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/16b62611-6707-4b73-bd4b-eb37350be090?api-version=2017-12-01 pragma: - no-cache server: @@ -2109,7 +2199,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 202 message: Accepted @@ -2130,10 +2220,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/b8a7b876-6482-421d-8061-0e82a9e2f853?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/16b62611-6707-4b73-bd4b-eb37350be090?api-version=2017-12-01 response: body: - string: '{"name":"b8a7b876-6482-421d-8061-0e82a9e2f853","status":"Succeeded","startTime":"2020-03-04T18:29:52.447Z"}' + string: '{"name":"16b62611-6707-4b73-bd4b-eb37350be090","status":"Succeeded","startTime":"2020-03-06T02:16:23.117Z"}' headers: cache-control: - no-cache @@ -2142,7 +2232,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:23 GMT + - Fri, 06 Mar 2020 02:16:54 GMT expires: - '-1' pragma: @@ -2189,7 +2279,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:23 GMT + - Fri, 06 Mar 2020 02:16:54 GMT expires: - '-1' pragma: @@ -2238,7 +2328,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:25 GMT + - Fri, 06 Mar 2020 02:16:55 GMT expires: - '-1' pragma: @@ -2283,22 +2373,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:30:25.953Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:16:56.66Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/565f1887-3a7c-4878-a4e2-4bbe8bd1faf3?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/cb09cebe-d35d-49b7-b936-acb8355b53db?api-version=2017-12-01 cache-control: - no-cache content-length: - - '90' + - '89' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:26 GMT + - Fri, 06 Mar 2020 02:16:57 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/565f1887-3a7c-4878-a4e2-4bbe8bd1faf3?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/cb09cebe-d35d-49b7-b936-acb8355b53db?api-version=2017-12-01 pragma: - no-cache server: @@ -2308,7 +2398,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 202 message: Accepted @@ -2329,19 +2419,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/565f1887-3a7c-4878-a4e2-4bbe8bd1faf3?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/cb09cebe-d35d-49b7-b936-acb8355b53db?api-version=2017-12-01 response: body: - string: '{"name":"565f1887-3a7c-4878-a4e2-4bbe8bd1faf3","status":"Succeeded","startTime":"2020-03-04T18:30:25.953Z"}' + string: '{"name":"cb09cebe-d35d-49b7-b936-acb8355b53db","status":"Succeeded","startTime":"2020-03-06T02:16:56.66Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:56 GMT + - Fri, 06 Mar 2020 02:17:27 GMT expires: - '-1' pragma: @@ -2388,7 +2478,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:56 GMT + - Fri, 06 Mar 2020 02:17:27 GMT expires: - '-1' pragma: @@ -2429,43 +2519,39 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"c67286bd-df97-4c8d-9b13-77f5448aa3ec\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"f27ce6cc-fc17-4ad8-ac8f-899155947097\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"c67286bd-df97-4c8d-9b13-77f5448aa3ec\\\"\",\r\n + \ \"etag\": \"W/\\\"f27ce6cc-fc17-4ad8-ac8f-899155947097\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1\"\r\n - \ },\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"c67286bd-df97-4c8d-9b13-77f5448aa3ec\\\"\",\r\n + \ \"etag\": \"W/\\\"f27ce6cc-fc17-4ad8-ac8f-899155947097\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1\"\r\n - \ },\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2612' + - '2163' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:57 GMT + - Fri, 06 Mar 2020 02:17:28 GMT etag: - - W/"c67286bd-df97-4c8d-9b13-77f5448aa3ec" + - W/"f27ce6cc-fc17-4ad8-ac8f-899155947097" expires: - '-1' pragma: @@ -2482,24 +2568,22 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 244d6d2f-eb63-4f88-9550-d726fbca6a18 + - abd557b7-d7a3-47dd-b1ef-7ac48d341809 status: code: 200 message: OK - request: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet", - "location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1", - "properties": {"addressPrefix": "10.0.0.0/24", "networkSecurityGroup": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1"}, - "delegations": [], "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": - "Enabled"}, "name": "clitestsubnet1"}, {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2", - "properties": {"addressPrefix": "10.0.1.0/24", "networkSecurityGroup": {"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1"}, - "delegations": [], "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": - "Enabled"}, "name": "clitestsubnet2"}, {"properties": {"addressPrefix": "10.0.3.0/24"}, - "name": "clitestsubnet3"}], "virtualNetworkPeerings": [], "enableDdosProtection": - false, "enableVmProtection": false}}''' + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet1"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2", + "properties": {"addressPrefix": "10.0.1.0/24", "delegations": [], "privateEndpointNetworkPolicies": + "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet2"}, + {"properties": {"addressPrefix": "10.0.3.0/24"}, "name": "clitestsubnet3"}], + "virtualNetworkPeerings": [], "enableDdosProtection": false, "enableVmProtection": + false}}''' headers: Accept: - application/json @@ -2510,7 +2594,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1744' + - '1369' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -2525,33 +2609,29 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"d44ae28f-ffa9-43a4-9cd4-5118788cf55c\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"e1d83765-3d81-4ffc-b02c-280cedd1dc33\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"d44ae28f-ffa9-43a4-9cd4-5118788cf55c\\\"\",\r\n + \ \"etag\": \"W/\\\"e1d83765-3d81-4ffc-b02c-280cedd1dc33\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1\"\r\n - \ },\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"d44ae28f-ffa9-43a4-9cd4-5118788cf55c\\\"\",\r\n + \ \"etag\": \"W/\\\"e1d83765-3d81-4ffc-b02c-280cedd1dc33\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1\"\r\n - \ },\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ \"addressPrefix\": \"10.0.1.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 \"name\": \"clitestsubnet3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet3\",\r\n - \ \"etag\": \"W/\\\"d44ae28f-ffa9-43a4-9cd4-5118788cf55c\\\"\",\r\n + \ \"etag\": \"W/\\\"e1d83765-3d81-4ffc-b02c-280cedd1dc33\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2560,15 +2640,15 @@ interactions: false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a15bc3ea-c3e1-40bf-9101-8ce153ff8278?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5e3ad52f-9586-4a23-86ca-25a9cc843713?api-version=2019-11-01 cache-control: - no-cache content-length: - - '3295' + - '2846' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:30:58 GMT + - Fri, 06 Mar 2020 02:17:29 GMT expires: - '-1' pragma: @@ -2585,9 +2665,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8af16388-8176-4f03-bac4-2b470dab699e + - ea26280d-e5cf-4da9-af32-cecfd2e2f6cc x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -2608,7 +2688,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a15bc3ea-c3e1-40bf-9101-8ce153ff8278?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5e3ad52f-9586-4a23-86ca-25a9cc843713?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2620,7 +2700,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:02 GMT + - Fri, 06 Mar 2020 02:17:33 GMT expires: - '-1' pragma: @@ -2637,7 +2717,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b93419da-22fc-4360-9428-14766599141e + - 882f6d57-8570-40d6-88dd-d22a1aa1c6b1 status: code: 200 message: OK @@ -2662,33 +2742,29 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"c9875b32-8fe4-4839-ad53-4ff2c0bc8913\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"8dab3f9c-d22f-4a9e-97be-cc05de753a62\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6357c331-8868-45df-a0d7-0f814cda7579\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"38721d9e-a874-4b32-a85b-883bb1c04d73\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"c9875b32-8fe4-4839-ad53-4ff2c0bc8913\\\"\",\r\n + \ \"etag\": \"W/\\\"8dab3f9c-d22f-4a9e-97be-cc05de753a62\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1\"\r\n - \ },\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"c9875b32-8fe4-4839-ad53-4ff2c0bc8913\\\"\",\r\n + \ \"etag\": \"W/\\\"8dab3f9c-d22f-4a9e-97be-cc05de753a62\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"networkSecurityGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cleanupservice/providers/Microsoft.Network/networkSecurityGroups/rg-cleanupservice-nsg1\"\r\n - \ },\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": - \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n - \ },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ \"addressPrefix\": \"10.0.1.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 \"name\": \"clitestsubnet3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet3\",\r\n - \ \"etag\": \"W/\\\"c9875b32-8fe4-4839-ad53-4ff2c0bc8913\\\"\",\r\n + \ \"etag\": \"W/\\\"8dab3f9c-d22f-4a9e-97be-cc05de753a62\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2699,13 +2775,13 @@ interactions: cache-control: - no-cache content-length: - - '3299' + - '2850' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:02 GMT + - Fri, 06 Mar 2020 02:17:33 GMT etag: - - W/"c9875b32-8fe4-4839-ad53-4ff2c0bc8913" + - W/"8dab3f9c-d22f-4a9e-97be-cc05de753a62" expires: - '-1' pragma: @@ -2722,7 +2798,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d31d66b5-3ee2-4f6f-9af6-26316190efc0 + - f0e101c8-bbd7-4929-8564-a01a547e4a2c status: code: 200 message: OK @@ -2757,7 +2833,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:03 GMT + - Fri, 06 Mar 2020 02:17:34 GMT expires: - '-1' pragma: @@ -2802,22 +2878,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:31:04.42Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:17:35.543Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9ae61e4a-e37c-4b45-a73d-d7a751e48929?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/6d8e1451-538a-476a-b032-0d44e7d8eabd?api-version=2017-12-01 cache-control: - no-cache content-length: - - '89' + - '90' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:05 GMT + - Fri, 06 Mar 2020 02:17:35 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/9ae61e4a-e37c-4b45-a73d-d7a751e48929?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/6d8e1451-538a-476a-b032-0d44e7d8eabd?api-version=2017-12-01 pragma: - no-cache server: @@ -2827,7 +2903,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -2848,19 +2924,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/9ae61e4a-e37c-4b45-a73d-d7a751e48929?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/6d8e1451-538a-476a-b032-0d44e7d8eabd?api-version=2017-12-01 response: body: - string: '{"name":"9ae61e4a-e37c-4b45-a73d-d7a751e48929","status":"Succeeded","startTime":"2020-03-04T18:31:04.42Z"}' + string: '{"name":"6d8e1451-538a-476a-b032-0d44e7d8eabd","status":"Succeeded","startTime":"2020-03-06T02:17:35.543Z"}' headers: cache-control: - no-cache content-length: - - '106' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:35 GMT + - Fri, 06 Mar 2020 02:18:06 GMT expires: - '-1' pragma: @@ -2907,7 +2983,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:35 GMT + - Fri, 06 Mar 2020 02:18:07 GMT expires: - '-1' pragma: @@ -2956,7 +3032,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:35 GMT + - Fri, 06 Mar 2020 02:18:07 GMT expires: - '-1' pragma: @@ -2998,10 +3074,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule1?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-04T18:31:37.47Z"}' + string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-06T02:18:08.75Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5480f24c-9261-45bb-bfcf-10b09ef8709b?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/988a5384-47da-4230-befd-b80dacce53cc?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -3009,11 +3085,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:38 GMT + - Fri, 06 Mar 2020 02:18:09 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/5480f24c-9261-45bb-bfcf-10b09ef8709b?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/988a5384-47da-4230-befd-b80dacce53cc?api-version=2017-12-01 pragma: - no-cache server: @@ -3044,10 +3120,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/5480f24c-9261-45bb-bfcf-10b09ef8709b?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/988a5384-47da-4230-befd-b80dacce53cc?api-version=2017-12-01 response: body: - string: '{"name":"5480f24c-9261-45bb-bfcf-10b09ef8709b","status":"Succeeded","startTime":"2020-03-04T18:31:37.47Z"}' + string: '{"name":"988a5384-47da-4230-befd-b80dacce53cc","status":"Succeeded","startTime":"2020-03-06T02:18:08.75Z"}' headers: cache-control: - no-cache @@ -3056,7 +3132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:53 GMT + - Fri, 06 Mar 2020 02:18:24 GMT expires: - '-1' pragma: @@ -3105,7 +3181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:54 GMT + - Fri, 06 Mar 2020 02:18:25 GMT expires: - '-1' pragma: @@ -3147,10 +3223,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-04T18:31:55.653Z"}' + string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-06T02:18:27.117Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3d8cb748-1656-4839-8f46-0b64568dd72f?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/bb204428-c9ae-4751-bed8-3f17a6780478?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -3158,11 +3234,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:31:56 GMT + - Fri, 06 Mar 2020 02:18:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/3d8cb748-1656-4839-8f46-0b64568dd72f?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/bb204428-c9ae-4751-bed8-3f17a6780478?api-version=2017-12-01 pragma: - no-cache server: @@ -3193,10 +3269,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/3d8cb748-1656-4839-8f46-0b64568dd72f?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/bb204428-c9ae-4751-bed8-3f17a6780478?api-version=2017-12-01 response: body: - string: '{"name":"3d8cb748-1656-4839-8f46-0b64568dd72f","status":"Succeeded","startTime":"2020-03-04T18:31:55.653Z"}' + string: '{"name":"bb204428-c9ae-4751-bed8-3f17a6780478","status":"Succeeded","startTime":"2020-03-06T02:18:27.117Z"}' headers: cache-control: - no-cache @@ -3205,7 +3281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:11 GMT + - Fri, 06 Mar 2020 02:18:43 GMT expires: - '-1' pragma: @@ -3254,7 +3330,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:12 GMT + - Fri, 06 Mar 2020 02:18:44 GMT expires: - '-1' pragma: @@ -3298,18 +3374,20 @@ interactions: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a5d2a753-7ffb-478d-acc4-e41219cee314?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/18f9d7e7-a4d6-4c98-85cc-f3bd0db47099?api-version=2019-11-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 04 Mar 2020 18:32:12 GMT + - Fri, 06 Mar 2020 02:18:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/a5d2a753-7ffb-478d-acc4-e41219cee314?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operationResults/18f9d7e7-a4d6-4c98-85cc-f3bd0db47099?api-version=2019-11-01 pragma: - no-cache server: @@ -3320,9 +3398,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a0396595-9c6d-429d-8c07-fdb13bc69ef7 + - ef80673f-ad10-4e01-aa9a-901615d4f350 x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -3343,7 +3421,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/a5d2a753-7ffb-478d-acc4-e41219cee314?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/18f9d7e7-a4d6-4c98-85cc-f3bd0db47099?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3355,7 +3433,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:23 GMT + - Fri, 06 Mar 2020 02:18:55 GMT expires: - '-1' pragma: @@ -3372,7 +3450,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - deac940a-83e7-430c-9d65-ad2dee4aa17a + - 2ffeaf71-8c12-451c-895d-073203a18295 status: code: 200 message: OK @@ -3407,7 +3485,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:24 GMT + - Fri, 06 Mar 2020 02:18:56 GMT expires: - '-1' pragma: @@ -3457,7 +3535,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:25 GMT + - Fri, 06 Mar 2020 02:18:57 GMT expires: - '-1' pragma: @@ -3501,10 +3579,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/log_slow_admin_statements?api-version=2017-12-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:32:27.373Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:18:58.707Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0a1ec630-79ce-4dca-9285-f0b1ec4e0651?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/92a544a6-7364-4f4e-b18e-a0816719c946?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -3512,11 +3590,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:26 GMT + - Fri, 06 Mar 2020 02:18:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/0a1ec630-79ce-4dca-9285-f0b1ec4e0651?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/92a544a6-7364-4f4e-b18e-a0816719c946?api-version=2017-12-01 pragma: - no-cache server: @@ -3526,7 +3604,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1196' status: code: 202 message: Accepted @@ -3547,10 +3625,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/0a1ec630-79ce-4dca-9285-f0b1ec4e0651?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/92a544a6-7364-4f4e-b18e-a0816719c946?api-version=2017-12-01 response: body: - string: '{"name":"0a1ec630-79ce-4dca-9285-f0b1ec4e0651","status":"Succeeded","startTime":"2020-03-04T18:32:27.373Z"}' + string: '{"name":"92a544a6-7364-4f4e-b18e-a0816719c946","status":"Succeeded","startTime":"2020-03-06T02:18:58.707Z"}' headers: cache-control: - no-cache @@ -3559,7 +3637,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:42 GMT + - Fri, 06 Mar 2020 02:19:14 GMT expires: - '-1' pragma: @@ -3607,7 +3685,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:43 GMT + - Fri, 06 Mar 2020 02:19:14 GMT expires: - '-1' pragma: @@ -3651,10 +3729,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/log_slow_admin_statements?api-version=2017-12-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:32:44.16Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:19:15.89Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4dc459eb-8dee-4c2a-926a-c11bb019e392?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/72682258-f73f-4f3f-839c-fbd91a3aae98?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -3662,11 +3740,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:43 GMT + - Fri, 06 Mar 2020 02:19:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/4dc459eb-8dee-4c2a-926a-c11bb019e392?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/72682258-f73f-4f3f-839c-fbd91a3aae98?api-version=2017-12-01 pragma: - no-cache server: @@ -3676,7 +3754,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -3697,10 +3775,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/4dc459eb-8dee-4c2a-926a-c11bb019e392?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/72682258-f73f-4f3f-839c-fbd91a3aae98?api-version=2017-12-01 response: body: - string: '{"name":"4dc459eb-8dee-4c2a-926a-c11bb019e392","status":"Succeeded","startTime":"2020-03-04T18:32:44.16Z"}' + string: '{"name":"72682258-f73f-4f3f-839c-fbd91a3aae98","status":"Succeeded","startTime":"2020-03-06T02:19:15.89Z"}' headers: cache-control: - no-cache @@ -3709,7 +3787,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:58 GMT + - Fri, 06 Mar 2020 02:19:30 GMT expires: - '-1' pragma: @@ -3757,7 +3835,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:32:58 GMT + - Fri, 06 Mar 2020 02:19:30 GMT expires: - '-1' pragma: @@ -3802,12 +3880,12 @@ interactions: the events to audit logs.","defaultValue":"CONNECTION","dataType":"Set","allowedValues":"DDL,DML_SELECT,DML_NONSELECT,DCL,ADMIN,DML,GENERAL,CONNECTION,TABLE_ACCESS","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/audit_log_events","name":"audit_log_events","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"azure_superuser","description":"The comma-separated user list whose commands will not be in the audit logs.","defaultValue":"azure_superuser","dataType":"String","allowedValues":"","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/audit_log_exclude_users","name":"audit_log_exclude_users","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"","description":"The comma-separated user list whose commands will be in the audit logs. It takes - higher priority if the same user name is found in audit_log_exclude_users.","defaultValue":"","dataType":"String","allowedValues":"","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/audit_log_include_users","name":"audit_log_include_users","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"43200","description":"The + higher priority if the same user name is found in audit_log_exclude_users.","defaultValue":"","dataType":"String","allowedValues":"","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/audit_log_include_users","name":"audit_log_include_users","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"86400","description":"The number of seconds for automatic binary log file removal. The default is 0, which means no automatic removal. Possible removals happen at startup and - when the binary log is flushed.","defaultValue":"43200","dataType":"Integer","allowedValues":"0-4294967295","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/binlog_expire_logs_seconds","name":"binlog_expire_logs_seconds","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"0","description":"Controls + when the binary log is flushed.","defaultValue":"86400","dataType":"Integer","allowedValues":"0-4294967295","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/binlog_expire_logs_seconds","name":"binlog_expire_logs_seconds","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1000","description":"Controls how many microseconds the binary log commit waits before synchronizing the - binary log file to disk.","defaultValue":"0","dataType":"Integer","allowedValues":"0,11-1000000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/binlog_group_commit_sync_delay","name":"binlog_group_commit_sync_delay","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"0","description":"The + binary log file to disk.","defaultValue":"1000","dataType":"Integer","allowedValues":"0,11-1000000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/binlog_group_commit_sync_delay","name":"binlog_group_commit_sync_delay","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"0","description":"The maximum number of transactions to wait for before aborting the current delay as specified by binlog-group-commit-sync-delay.","defaultValue":"0","dataType":"Integer","allowedValues":"0-100000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/binlog_group_commit_sync_no_delay_count","name":"binlog_group_commit_sync_no_delay_count","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"minimal","description":"For MySQL row-based replication, this variable determines how row images are written @@ -3840,9 +3918,9 @@ interactions: InnoDB system tablespace file when it becomes full.","defaultValue":"64","dataType":"Integer","allowedValues":"1-1000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_autoextend_increment","name":"innodb_autoextend_increment","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1","description":"The lock mode to use for generating auto-increment values.","defaultValue":"1","dataType":"Integer","allowedValues":"0,1,2","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_autoinc_lock_mode","name":"innodb_autoinc_lock_mode","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"25","description":"Specifies the percentage of the most recently used pages for each buffer pool to read - out and dump.","defaultValue":"25","dataType":"Integer","allowedValues":"1-100","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_buffer_pool_dump_pct","name":"innodb_buffer_pool_dump_pct","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"7516192768","description":"The + out and dump.","defaultValue":"25","dataType":"Integer","allowedValues":"1-100","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_buffer_pool_dump_pct","name":"innodb_buffer_pool_dump_pct","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"3758096384","description":"The size in bytes of the buffer pool, the memory area where InnoDB caches table - and index data.","defaultValue":"7516192768","dataType":"Integer","allowedValues":"134217728-7516192768","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_buffer_pool_size","name":"innodb_buffer_pool_size","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"25","description":"Maximum + and index data.","defaultValue":"3758096384","dataType":"Integer","allowedValues":"134217728-3758096384","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_buffer_pool_size","name":"innodb_buffer_pool_size","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"25","description":"Maximum size for the InnoDB change buffer, as a percentage of the total size of the buffer pool. You might increase this value for a MySQL server with heavy insert, update, and delete activity, or decrease it for a MySQL server with unchanging @@ -3876,10 +3954,10 @@ interactions: same lock.","defaultValue":"ON","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_deadlock_detect","name":"innodb_deadlock_detect","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"DYNAMIC","description":"The innodb_default_row_format option defines the default row format for InnoDB tables and user-created temporary tables.","defaultValue":"DYNAMIC","dataType":"Enumeration","allowedValues":"DYNAMIC,COMPACT,REDUNDANT","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_default_row_format","name":"innodb_default_row_format","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"Barracuda","description":"Indicates - the InnoDB file format for file-per-table tablespaces.","defaultValue":"Barracuda","dataType":"Enumeration","allowedValues":"Antelope,Barracuda","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_file_format","name":"innodb_file_format","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"ON","description":"InnoDB + the InnoDB file format for file-per-table tablespaces.","defaultValue":"Barracuda","dataType":"Enumeration","allowedValues":"Antelope,Barracuda","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_file_format","name":"innodb_file_format","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"OFF","description":"InnoDB stores the data and indexes for each newly created table in a separate .ibd file instead of the system tablespace. It cannot be updated any more for a - master/replica server to keep the replication consistency.","defaultValue":"ON","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_file_per_table","name":"innodb_file_per_table","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"100","description":"InnoDB + master/replica server to keep the replication consistency.","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_file_per_table","name":"innodb_file_per_table","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"100","description":"InnoDB performs a bulk load when creating or rebuilding indexes.","defaultValue":"100","dataType":"Integer","allowedValues":"10-100","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_fill_factor","name":"innodb_fill_factor","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"8000000","description":"The memory allocated, in bytes, for the InnoDB FULLTEXT search index cache, which holds a parsed document in memory while creating an InnoDB FULLTEXT index.","defaultValue":"8000000","dataType":"Integer","allowedValues":"1600000-80000000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_ft_cache_size","name":"innodb_ft_cache_size","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"ON","description":"Specifies @@ -3921,8 +3999,8 @@ interactions: values protect against the buffer pool being filled by data that is referenced only for a brief period, such as during a full table scan.","defaultValue":"1000","dataType":"Integer","allowedValues":"0-4294967295","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_old_blocks_time","name":"innodb_old_blocks_time","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"OFF","description":"Changes the way OPTIMIZE TABLE operates on InnoDB tables. Intended to be enabled temporarily, - during maintenance operations for InnoDB tables with FULLTEXT indexes.","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_optimize_fulltext_only","name":"innodb_optimize_fulltext_only","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"2","description":"The - number of page cleaner threads that flush dirty pages from buffer pool instances.","defaultValue":"2","dataType":"Integer","allowedValues":"1-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_page_cleaners","name":"innodb_page_cleaners","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"300","description":"Defines + during maintenance operations for InnoDB tables with FULLTEXT indexes.","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_optimize_fulltext_only","name":"innodb_optimize_fulltext_only","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"4","description":"The + number of page cleaner threads that flush dirty pages from buffer pool instances.","defaultValue":"4","dataType":"Integer","allowedValues":"1-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_page_cleaners","name":"innodb_page_cleaners","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"300","description":"Defines the number of undo log pages that purge parses and processes in one batch from the history list.","defaultValue":"300","dataType":"Integer","allowedValues":"1-5000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_purge_batch_size","name":"innodb_purge_batch_size","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"128","description":"Defines the frequency with which the purge system frees rollback segments in terms @@ -3931,8 +4009,8 @@ interactions: number of background threads devoted to the InnoDB purge operation.","defaultValue":"4","dataType":"Integer","allowedValues":"1-32","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_purge_threads","name":"innodb_purge_threads","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"OFF","description":"Enables the random read-ahead technique for optimizing InnoDB I/O.","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_random_read_ahead","name":"innodb_random_read_ahead","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"56","description":"Controls the sensitivity of linear read-ahead that InnoDB uses to prefetch pages into - the buffer pool.","defaultValue":"56","dataType":"Integer","allowedValues":"0-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_read_ahead_threshold","name":"innodb_read_ahead_threshold","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1","description":"The - number of I/O threads for read operations in InnoDB.","defaultValue":"1","dataType":"Integer","allowedValues":"1-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_read_io_threads","name":"innodb_read_io_threads","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"128","description":"Defines + the buffer pool.","defaultValue":"56","dataType":"Integer","allowedValues":"0-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_read_ahead_threshold","name":"innodb_read_ahead_threshold","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"4","description":"The + number of I/O threads for read operations in InnoDB.","defaultValue":"4","dataType":"Integer","allowedValues":"1-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_read_io_threads","name":"innodb_read_io_threads","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"128","description":"Defines the number of rollback segments used by InnoDB.","defaultValue":"128","dataType":"Integer","allowedValues":"1-128","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_rollback_segments","name":"innodb_rollback_segments","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"ON","description":"Causes InnoDB to automatically recalculate persistent statistics after the data in a table is changed substantially.","defaultValue":"ON","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_stats_auto_recalc","name":"innodb_stats_auto_recalc","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"OFF","description":" @@ -3958,8 +4036,8 @@ interactions: InnoDB to lock a table internally if autocommit = 0.","defaultValue":"ON","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_table_locks","name":"innodb_table_locks","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"0","description":"InnoDB tries to keep the number of operating system threads concurrently inside InnoDB less than or equal to the limit given by this variable.","defaultValue":"0","dataType":"Integer","allowedValues":"0-1000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_thread_concurrency","name":"innodb_thread_concurrency","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"10000","description":"Defines - how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.","defaultValue":"10000","dataType":"Integer","allowedValues":"0-1000000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_thread_sleep_delay","name":"innodb_thread_sleep_delay","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1","description":"The - number of I/O threads for write operations in InnoDB.","defaultValue":"1","dataType":"Integer","allowedValues":"1-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_write_io_threads","name":"innodb_write_io_threads","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"28800","description":"Number + how long InnoDB threads sleep before joining the InnoDB queue, in microseconds.","defaultValue":"10000","dataType":"Integer","allowedValues":"0-1000000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_thread_sleep_delay","name":"innodb_thread_sleep_delay","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"4","description":"The + number of I/O threads for write operations in InnoDB.","defaultValue":"4","dataType":"Integer","allowedValues":"1-64","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/innodb_write_io_threads","name":"innodb_write_io_threads","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"28800","description":"Number of seconds the server waits for activity on an interactive connection before closing it.","defaultValue":"28800","dataType":"Integer","allowedValues":"1-31536000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/interactive_timeout","name":"interactive_timeout","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"262144","description":"The minimum size of the buffer that is used for plain index scans, range index @@ -4061,7 +4139,7 @@ interactions: parameter controls whetherthe server permits no client updates. When the server is read replica or server storage is full, this parameter will not take effect.","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/read_only","name":"read_only","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1073741824","description":"This option places an upper limit on the total size in bytes of all relay logs - on the slave.","defaultValue":"1073741824","dataType":"Integer","allowedValues":"1073741824-3221225472","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/relay_log_space_limit","name":"relay_log_space_limit","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"379963419","description":"The + on the slave.","defaultValue":"1073741824","dataType":"Integer","allowedValues":"1073741824-3221225472","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/relay_log_space_limit","name":"relay_log_space_limit","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"95142213","description":"The server ID, used in replication to give each master and slave a unique identity.","defaultValue":"1000","dataType":"Integer","allowedValues":"1000-4294967295","source":"user-override","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/server_id","name":"server_id","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"ON","description":"Controls whether the server tracks changes to the default schema (database) name within the current session and makes this information available to the client when @@ -4080,8 +4158,8 @@ interactions: current server SQL mode.","defaultValue":"","dataType":"Set","allowedValues":",ALLOW_INVALID_DATES,ANSI_QUOTES,ERROR_FOR_DIVISION_BY_ZERO,HIGH_NOT_PRECEDENCE,IGNORE_SPACE,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_BACKSLASH_ESCAPES,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION,NO_FIELD_OPTIONS,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_UNSIGNED_SUBTRACTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY,PAD_CHAR_TO_FULL_LENGTH,PIPES_AS_CONCAT,REAL_AS_FLOAT,STRICT_ALL_TABLES,STRICT_TRANS_TABLES","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/sql_mode","name":"sql_mode","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"256","description":"Sets a soft upper limit for the number of cached stored routines per connection.","defaultValue":"256","dataType":"Integer","allowedValues":"16-524288","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/stored_program_cache","name":"stored_program_cache","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"2000","description":"The number of table definitions (from .frm files) that can be stored in the definition - cache.","defaultValue":"2000","dataType":"Integer","allowedValues":"400-524288","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/table_definition_cache","name":"table_definition_cache","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"2400","description":"The - number of open tables for all threads.","defaultValue":"2400","dataType":"Integer","allowedValues":"1-20000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/table_open_cache","name":"table_open_cache","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1","description":"The + cache.","defaultValue":"2000","dataType":"Integer","allowedValues":"400-524288","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/table_definition_cache","name":"table_definition_cache","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"2000","description":"The + number of open tables for all threads.","defaultValue":"2000","dataType":"Integer","allowedValues":"1-20000","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/table_open_cache","name":"table_open_cache","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1","description":"The number of open tables cache instances.","defaultValue":"1","dataType":"Integer","allowedValues":"1-16","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"False"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/table_open_cache_instances","name":"table_open_cache_instances","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"65535","description":"The minimal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.","defaultValue":"65535","dataType":"Integer","allowedValues":"1-65535","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/thread_pool_max_threads","name":"thread_pool_max_threads","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"1","description":"The maximal number of threads in the thread pool. Only works when thread_handling=pool-of-threads.","defaultValue":"1","dataType":"Integer","allowedValues":"1-65535","source":"system-default","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/thread_pool_min_threads","name":"thread_pool_min_threads","type":"Microsoft.DBforMySQL/servers/configurations"},{"properties":{"value":"SYSTEM","description":"The @@ -4102,11 +4180,11 @@ interactions: cache-control: - no-cache content-length: - - '110792' + - '110799' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:33:00 GMT + - Fri, 06 Mar 2020 02:19:32 GMT expires: - '-1' pragma: @@ -4150,22 +4228,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/slow_query_log?api-version=2017-12-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:33:02.107Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:19:33.79Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/09fb1f6d-daad-4ace-8606-b7d2da675aa5?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/af827c4c-e2d3-46da-a58c-ebe07e3c573f?api-version=2017-12-01 cache-control: - no-cache content-length: - - '80' + - '79' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:33:01 GMT + - Fri, 06 Mar 2020 02:19:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/operationResults/09fb1f6d-daad-4ace-8606-b7d2da675aa5?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/operationResults/af827c4c-e2d3-46da-a58c-ebe07e3c573f?api-version=2017-12-01 pragma: - no-cache server: @@ -4196,19 +4274,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/09fb1f6d-daad-4ace-8606-b7d2da675aa5?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus2euap/azureAsyncOperation/af827c4c-e2d3-46da-a58c-ebe07e3c573f?api-version=2017-12-01 response: body: - string: '{"name":"09fb1f6d-daad-4ace-8606-b7d2da675aa5","status":"InProgress","startTime":"2020-03-04T18:33:02.107Z"}' + string: '{"name":"af827c4c-e2d3-46da-a58c-ebe07e3c573f","status":"Succeeded","startTime":"2020-03-06T02:19:33.79Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:33:17 GMT + - Fri, 06 Mar 2020 02:19:49 GMT expires: - '-1' pragma: @@ -4243,19 +4321,20 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/09fb1f6d-daad-4ace-8606-b7d2da675aa5?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/slow_query_log?api-version=2017-12-01 response: body: - string: '{"name":"09fb1f6d-daad-4ace-8606-b7d2da675aa5","status":"InProgress","startTime":"2020-03-04T18:33:02.107Z"}' + string: '{"properties":{"value":"ON","description":"Enable or disable the slow + query log","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"user-override","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/slow_query_log","name":"slow_query_log","type":"Microsoft.DBforMySQL/servers/configurations"}' headers: cache-control: - no-cache content-length: - - '108' + - '596' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:33:32 GMT + - Fri, 06 Mar 2020 02:19:49 GMT expires: - '-1' pragma: @@ -4281,28 +4360,30 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - mysql server configuration set + - mysql server-logs list Connection: - keep-alive ParameterSetName: - - -n -g -s --value + - -g -s --file-last-written User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/09fb1f6d-daad-4ace-8606-b7d2da675aa5?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/logFiles?api-version=2017-12-01 response: body: - string: '{"name":"09fb1f6d-daad-4ace-8606-b7d2da675aa5","status":"InProgress","startTime":"2020-03-04T18:33:02.107Z"}' + string: '{"value":[{"properties":{"name":"mysql-slow-azuredbclitest000002-2020030602.log","sizeInKB":1,"createdTime":"0001-01-01T00:00:00+00:00","lastModifiedTime":"2020-03-06T02:19:34+00:00","type":"slowlog","url":"https://wasd2prodea2eu1afse11.file.core.windows.net/ce5a0fbaf4094c1a998d009a45edb31a/serverlogs/mysql-slow-azuredbclitest000002-2020030602.log?sv=2018-11-09&sr=f&sig=jHtZAVYA2nOq%2BNKOLZF%2FT2utfQUH4fSIyFL5ZAZwE%2B0%3D&se=2020-03-06T03%3A19%3A50Z&sp=r"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/logFiles/mysql-slow-azuredbclitest000002-2020030602.log","name":"mysql-slow-azuredbclitest000002-2020030602.log","type":"Microsoft.DBforMySQL/servers/logFiles"}]}' headers: cache-control: - no-cache content-length: - - '108' + - '1047' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:33:47 GMT + - Fri, 06 Mar 2020 02:19:50 GMT expires: - '-1' pragma: @@ -4328,28 +4409,30 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - mysql server configuration set + - mysql server private-link-resource list Connection: - keep-alive ParameterSetName: - - -n -g -s --value + - -g -s User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforMySQL/locations/eastus/azureAsyncOperation/09fb1f6d-daad-4ace-8606-b7d2da675aa5?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateLinkResources?api-version=2018-06-01 response: body: - string: '{"name":"09fb1f6d-daad-4ace-8606-b7d2da675aa5","status":"Succeeded","startTime":"2020-03-04T18:33:02.107Z"}' + string: '{"value":[{"properties":{"groupId":"mysqlServer","requiredMembers":["mysqlServer"]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateLinkResources/plr","name":"plr","type":"Microsoft.DBforMySQL/servers/privateLinkResources"}]}' headers: cache-control: - no-cache content-length: - - '107' + - '436' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:02 GMT + - Fri, 06 Mar 2020 02:19:50 GMT expires: - '-1' pragma: @@ -4368,53 +4451,80 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "cli-subnet-000004"}]}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - mysql server configuration set + - network vnet create Connection: - keep-alive + Content-Length: + - '227' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -n -g -s --value + - -n -g -l --subnet-name User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/slow_query_log?api-version=2017-12-01 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2019-11-01 response: body: - string: '{"properties":{"value":"ON","description":"Enable or disable the slow - query log","defaultValue":"OFF","dataType":"Enumeration","allowedValues":"ON,OFF","source":"user-override","isConfigPendingRestart":"False","isDynamicConfig":"True"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/configurations/slow_query_log","name":"slow_query_log","type":"Microsoft.DBforMySQL/servers/configurations"}' + string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n + \ \"etag\": \"W/\\\"12ef2378-c671-45da-889b-5be8cef5bc7c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"resourceGuid\": \"4c0f9309-1b3e-41f9-a18d-d2b18d3ecb60\",\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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n + \ \"etag\": \"W/\\\"12ef2378-c671-45da-889b-5be8cef5bc7c\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": + [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": + \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n + \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/aa833982-7f1c-4eed-a8f3-7cc848027f30?api-version=2019-11-01 cache-control: - no-cache content-length: - - '596' + - '1533' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:02 GMT + - Fri, 06 Mar 2020 02:19:53 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: + - fdd5722f-d3cc-4a69-8d91-fa8530d6be1d + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -4423,36 +4533,35 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - mysql server-logs list + - network vnet create Connection: - keep-alive ParameterSetName: - - -g -s --file-last-written + - -n -g -l --subnet-name User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 - accept-language: - - en-US + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/logFiles?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/aa833982-7f1c-4eed-a8f3-7cc848027f30?api-version=2019-11-01 response: body: - string: '{"value":[{"properties":{"name":"mysql-slow-azuredbclitest000002-2020030418.log","sizeInKB":1,"createdTime":"0001-01-01T00:00:00+00:00","lastModifiedTime":"2020-03-04T18:33:55+00:00","type":"slowlog","url":"https://wasd2prodeus1apfse4261.file.core.windows.net/e1ed322b83794bd0b34dd8aaf177057c/serverlogs/mysql-slow-azuredbclitest000002-2020030418.log?sv=2018-11-09&sr=f&sig=eVpIW3MC%2F0ivMW6QEAaPDAR2A0C%2FzU08glk962d8E5U%3D&se=2020-03-04T19%3A34%3A03Z&sp=r"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/logFiles/mysql-slow-azuredbclitest000002-2020030418.log","name":"mysql-slow-azuredbclitest000002-2020030418.log","type":"Microsoft.DBforMySQL/servers/logFiles"}]}' + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '1046' + - '29' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:03 GMT + - Fri, 06 Mar 2020 02:19:56 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -4461,6 +4570,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-arm-service-request-id: + - ee6da83a-0144-4cb3-8d29-21299c4a63d0 status: code: 200 message: OK @@ -4472,200 +4583,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - mysql server private-link-resource list + - network vnet create Connection: - keep-alive ParameterSetName: - - -g -s + - -n -g -l --subnet-name User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 - accept-language: - - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateLinkResources?api-version=2018-06-01 - response: - body: - string: '{"value":[{"properties":{"groupId":"mysqlServer","requiredMembers":["mysqlServer"]},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateLinkResources/plr","name":"plr","type":"Microsoft.DBforMySQL/servers/privateLinkResources"}]}' - headers: - cache-control: - - no-cache - content-length: - - '436' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 04 Mar 2020 18:34:04 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: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "cli-subnet-000004"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - Content-Length: - - '222' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -n -g -l --subnet-name - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2019-11-01 - response: - body: - string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"c75871cd-b85e-448f-acc1-3ee56190c237\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"7f871b26-4c08-4c65-aa54-62645e12149a\",\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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"c75871cd-b85e-448f-acc1-3ee56190c237\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": - [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": - \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n - \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": - false,\r\n \"enableVmProtection\": false\r\n }\r\n}" - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/27b924de-38ac-4545-acf2-ee538590143d?api-version=2019-11-01 - cache-control: - - no-cache - content-length: - - '1528' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 04 Mar 2020 18:34:05 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: - - f4a529a1-aa9c-4425-b33d-af909119d8b1 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - status: - code: 201 - message: Created -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - -n -g -l --subnet-name - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/27b924de-38ac-4545-acf2-ee538590143d?api-version=2019-11-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: - - Wed, 04 Mar 2020 18:34:08 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: - - 64c9358f-ca17-43a1-a434-9ac194ba8b67 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network vnet create - Connection: - - keep-alive - ParameterSetName: - - -n -g -l --subnet-name - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003?api-version=2019-11-01 response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"c8bffcd5-8868-4b99-91b3-ef319f1f8429\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"0c09e292-f151-4c07-b9fa-95a7ed9eb716\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"7f871b26-4c08-4c65-aa54-62645e12149a\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"4c0f9309-1b3e-41f9-a18d-d2b18d3ecb60\",\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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"c8bffcd5-8868-4b99-91b3-ef319f1f8429\\\"\",\r\n + \ \"etag\": \"W/\\\"0c09e292-f151-4c07-b9fa-95a7ed9eb716\\\"\",\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\": @@ -4676,13 +4615,13 @@ interactions: cache-control: - no-cache content-length: - - '1530' + - '1535' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:08 GMT + - Fri, 06 Mar 2020 02:19:56 GMT etag: - - W/"c8bffcd5-8868-4b99-91b3-ef319f1f8429" + - W/"0c09e292-f151-4c07-b9fa-95a7ed9eb716" expires: - '-1' pragma: @@ -4699,7 +4638,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 032a94b2-6d27-4ddb-a309-2993566644f0 + - 4027aa2d-3068-4063-a2ca-921a38a3edf1 status: code: 200 message: OK @@ -4726,7 +4665,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"c8bffcd5-8868-4b99-91b3-ef319f1f8429\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"0c09e292-f151-4c07-b9fa-95a7ed9eb716\\\"\",\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\": @@ -4739,9 +4678,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:09 GMT + - Fri, 06 Mar 2020 02:19:56 GMT etag: - - W/"c8bffcd5-8868-4b99-91b3-ef319f1f8429" + - W/"0c09e292-f151-4c07-b9fa-95a7ed9eb716" expires: - '-1' pragma: @@ -4758,7 +4697,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 078fe330-d499-40ee-8f7d-d24318282c83 + - a70b2d5a-743f-4657-93b8-a89274cc9a7d status: code: 200 message: OK @@ -4791,14 +4730,14 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"df63ad43-8117-48aa-8098-4a192144cba6\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"c085c9df-e857-465a-a7db-36e3d847727e\\\"\",\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/eastus/operations/29309ba4-5863-4a39-90ce-a65ae0130709?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/77623a22-f9a2-412d-afe9-5b3e4c33a7cb?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -4806,7 +4745,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:10 GMT + - Fri, 06 Mar 2020 02:19:58 GMT expires: - '-1' pragma: @@ -4823,9 +4762,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 160233a5-ac18-48fb-8c8f-74a9751377ce + - f833e6b7-27a4-432f-9076-e9d0c19da1c8 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -4846,7 +4785,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/29309ba4-5863-4a39-90ce-a65ae0130709?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/77623a22-f9a2-412d-afe9-5b3e4c33a7cb?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4858,7 +4797,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:13 GMT + - Fri, 06 Mar 2020 02:20:01 GMT expires: - '-1' pragma: @@ -4875,7 +4814,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 76424811-3f86-4b8d-a0f9-598d8eadd784 + - f70f992a-17e5-40dd-909d-7c0780ee5e0e status: code: 200 message: OK @@ -4900,7 +4839,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"624c0c08-3e42-40f3-b51a-03d6ac0c90f9\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"49ec482a-3fe8-4214-bf69-2682f5abdf45\\\"\",\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\": @@ -4913,9 +4852,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:14 GMT + - Fri, 06 Mar 2020 02:20:01 GMT etag: - - W/"624c0c08-3e42-40f3-b51a-03d6ac0c90f9" + - W/"49ec482a-3fe8-4214-bf69-2682f5abdf45" expires: - '-1' pragma: @@ -4932,7 +4871,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ae152326-fa64-4275-80b9-26bcc74fa3ee + - ac78c8ab-eb21-4723-8e38-8e3814d4ef33 status: code: 200 message: OK @@ -4958,16 +4897,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-04T18:35:20.137+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.317+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' headers: cache-control: - no-cache content-length: - - '1081' + - '1103' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:14 GMT + - Fri, 06 Mar 2020 02:20:02 GMT expires: - '-1' pragma: @@ -5016,7 +4955,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:15 GMT + - Fri, 06 Mar 2020 02:20:03 GMT expires: - '-1' pragma: @@ -5035,9 +4974,9 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "eastus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + body: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002", - "groupIds": ["mysqlServer"]}, "name": "cli-pec-000006"}]}}\''''' + "groupIds": ["mysqlServer"]}, "name": "cli-pec-000008"}]}}\''''' headers: Accept: - application/json @@ -5048,7 +4987,7 @@ interactions: Connection: - keep-alive Content-Length: - - '695' + - '700' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -5064,12 +5003,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"a39ab3a2-2f4e-4c14-aa9f-0b65ec5de5f6\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"250d8979-207b-4dae-8494-ad5461a4f569\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"e4b21521-4231-4c98-9a85-684c8e1fcbe1\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"a39ab3a2-2f4e-4c14-aa9f-0b65ec5de5f6\\\"\",\r\n + \"c379c9b5-910c-4f14-a09a-4599b241bb76\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008\",\r\n + \ \"etag\": \"W/\\\"250d8979-207b-4dae-8494-ad5461a4f569\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002\",\r\n \ \"groupIds\": [\r\n \"mysqlServer\"\r\n ],\r\n @@ -5078,19 +5017,21 @@ interactions: \"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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.830ee17a-4b22-49ee-af74-427f0ba9f082\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.4c43a8c7-8f96-4676-a046-b9db2eff4c48\"\r\n \ }\r\n ]\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4db379bc-4882-4626-bf22-5f58a9a47888?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/03aea7a4-8607-4e51-8cad-3871bdd2c65d?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2325' + - '2330' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:19 GMT + - Fri, 06 Mar 2020 02:20:06 GMT expires: - '-1' pragma: @@ -5103,9 +5044,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 18c8de3e-4d41-4159-83ed-887ebc3bb088 + - b849a0bb-02b6-4d99-b3c3-0b6a618736be x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 201 message: Created @@ -5127,58 +5068,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4db379bc-4882-4626-bf22-5f58a9a47888?api-version=2019-11-01 - response: - body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '30' - content-type: - - application/json; charset=utf-8 - date: - - Wed, 04 Mar 2020 18:34:30 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: - - 4fec2550-5582-45db-abcf-8d0e0317986d - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - network private-endpoint create - Connection: - - keep-alive - ParameterSetName: - - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id - --group-ids - User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4db379bc-4882-4626-bf22-5f58a9a47888?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/03aea7a4-8607-4e51-8cad-3871bdd2c65d?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5190,7 +5080,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:40 GMT + - Fri, 06 Mar 2020 02:20:16 GMT expires: - '-1' pragma: @@ -5207,7 +5097,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 368fa69f-2dc5-4fe5-94d4-0dd71ab43243 + - 7f8580c7-d510-4fca-9e7c-381f794226f1 status: code: 200 message: OK @@ -5229,7 +5119,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4db379bc-4882-4626-bf22-5f58a9a47888?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/03aea7a4-8607-4e51-8cad-3871bdd2c65d?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -5241,7 +5131,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:34:50 GMT + - Fri, 06 Mar 2020 02:20:27 GMT expires: - '-1' pragma: @@ -5258,7 +5148,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7f151ff4-0ea3-45f3-bebd-96cd348c3b96 + - 15818811-1fde-4bb5-b7ba-73c6316d90e4 status: code: 200 message: OK @@ -5280,7 +5170,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/4db379bc-4882-4626-bf22-5f58a9a47888?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/03aea7a4-8607-4e51-8cad-3871bdd2c65d?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -5292,7 +5182,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:00 GMT + - Fri, 06 Mar 2020 02:20:37 GMT expires: - '-1' pragma: @@ -5309,7 +5199,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 700cb3f2-2ef4-4f9a-991e-59673c847b6b + - 219bf87d-0308-4724-b0c2-0016a5ed9635 status: code: 200 message: OK @@ -5335,12 +5225,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"cf7b3ca9-8151-40cf-8448-eef3f6d4c072\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"f7279b2c-4a60-4396-aab7-b8eab280c687\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"e4b21521-4231-4c98-9a85-684c8e1fcbe1\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"cf7b3ca9-8151-40cf-8448-eef3f6d4c072\\\"\",\r\n + \"c379c9b5-910c-4f14-a09a-4599b241bb76\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008\",\r\n + \ \"etag\": \"W/\\\"f7279b2c-4a60-4396-aab7-b8eab280c687\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002\",\r\n \ \"groupIds\": [\r\n \"mysqlServer\"\r\n ],\r\n @@ -5349,19 +5239,19 @@ interactions: \"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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.830ee17a-4b22-49ee-af74-427f0ba9f082\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.4c43a8c7-8f96-4676-a046-b9db2eff4c48\"\r\n \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2339' + - '2344' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:00 GMT + - Fri, 06 Mar 2020 02:20:37 GMT etag: - - W/"cf7b3ca9-8151-40cf-8448-eef3f6d4c072" + - W/"f7279b2c-4a60-4396-aab7-b8eab280c687" expires: - '-1' pragma: @@ -5378,7 +5268,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b5087e5e-c9f5-426b-a3d4-4d9c943bfc93 + - 7cbaeaba-5f88-436d-838f-4b10d83f6567 status: code: 200 message: OK @@ -5401,16 +5291,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-04T18:35:20.137+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.317+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' headers: cache-control: - no-cache content-length: - - '1875' + - '1897' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:01 GMT + - Fri, 06 Mar 2020 02:20:37 GMT expires: - '-1' pragma: @@ -5447,10 +5337,10 @@ interactions: accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f","name":"cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30","name":"cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' headers: cache-control: - no-cache @@ -5459,7 +5349,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:02 GMT + - Fri, 06 Mar 2020 02:20:38 GMT expires: - '-1' pragma: @@ -5489,17 +5379,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f","name":"cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30","name":"cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' headers: cache-control: - no-cache @@ -5508,7 +5398,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:03 GMT + - Fri, 06 Mar 2020 02:20:38 GMT expires: - '-1' pragma: @@ -5527,7 +5417,8 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' headers: Accept: - application/json @@ -5538,18 +5429,18 @@ interactions: Connection: - keep-alive Content-Length: - - '2' + - '113' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30?api-version=2018-06-01 response: body: string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private @@ -5562,7 +5453,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:03 GMT + - Fri, 06 Mar 2020 02:20:39 GMT expires: - '-1' pragma: @@ -5590,17 +5481,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f","name":"cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30","name":"cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' headers: cache-control: - no-cache @@ -5609,7 +5500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:04 GMT + - Fri, 06 Mar 2020 02:20:39 GMT expires: - '-1' pragma: @@ -5628,7 +5519,8 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' headers: Accept: - application/json @@ -5639,18 +5531,18 @@ interactions: Connection: - keep-alive Content-Length: - - '2' + - '113' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30?api-version=2018-06-01 response: body: string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private @@ -5663,7 +5555,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:04 GMT + - Fri, 06 Mar 2020 02:20:40 GMT expires: - '-1' pragma: @@ -5675,7 +5567,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 400 message: Bad Request @@ -5700,13 +5592,13 @@ interactions: accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-84618a0f-0b1c-4164-b0a1-d56d85bbfc0f?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-49e44b5c-b663-40c8-b481-e6ee80c07b30?api-version=2018-06-01 response: body: - string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-04T18:35:06.08Z"}' + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:20:41.18Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/privateEndpointConnectionAzureAsyncOperation/4f31b3f0-bc9f-4620-a968-43abaede07f9?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/0d45ee81-6bc7-49cb-b39c-bdaf3d6fe744?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -5714,11 +5606,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:07 GMT + - Fri, 06 Mar 2020 02:20:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/privateEndpointConnectionOperationResults/4f31b3f0-bc9f-4620-a968-43abaede07f9?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionOperationResults/0d45ee81-6bc7-49cb-b39c-bdaf3d6fe744?api-version=2018-06-01 pragma: - no-cache server: @@ -5749,10 +5641,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus/privateEndpointConnectionAzureAsyncOperation/4f31b3f0-bc9f-4620-a968-43abaede07f9?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/0d45ee81-6bc7-49cb-b39c-bdaf3d6fe744?api-version=2018-06-01 response: body: - string: '{"name":"4f31b3f0-bc9f-4620-a968-43abaede07f9","status":"Succeeded","startTime":"2020-03-04T18:35:06.08Z"}' + string: '{"name":"0d45ee81-6bc7-49cb-b39c-bdaf3d6fe744","status":"Succeeded","startTime":"2020-03-06T02:20:41.18Z"}' headers: cache-control: - no-cache @@ -5761,7 +5653,1552 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:35:22 GMT + - Fri, 06 Mar 2020 02:20:57 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: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002", + "groupIds": ["mysqlServer"]}, "name": "cli-pec-000009"}]}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '706' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n + \ \"etag\": \"W/\\\"745ca0ff-08c3-4c4d-8549-8ded60fc8b54\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"3a4ea32a-0de6-4475-bd2f-222dfbe8b5f6\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009\",\r\n + \ \"etag\": \"W/\\\"745ca0ff-08c3-4c4d-8549-8ded60fc8b54\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mysqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.0f2da0e3-370a-46a3-bbbf-7ced225ff478\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5b40630f-89e4-4772-a139-80a3763b4885?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '2358' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21: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: + - 12e43ed7-ecfb-4c3a-a8f9-78bdebd67e6d + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5b40630f-89e4-4772-a139-80a3763b4885?api-version=2019-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:11 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: + - e77f586d-98db-49a4-acfb-9977b0a0bf4e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5b40630f-89e4-4772-a139-80a3763b4885?api-version=2019-11-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, 06 Mar 2020 02:21:21 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: + - 0627a8fb-e23a-409f-8691-e1780389a0ff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n + \ \"etag\": \"W/\\\"9e877105-73c2-4979-a43d-e39f9b8611d7\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"3a4ea32a-0de6-4475-bd2f-222dfbe8b5f6\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009\",\r\n + \ \"etag\": \"W/\\\"9e877105-73c2-4979-a43d-e39f9b8611d7\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mysqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.0f2da0e3-370a-46a3-bbbf-7ced225ff478\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2342' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:22 GMT + etag: + - W/"9e877105-73c2-4979-a43d-e39f9b8611d7" + 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: + - 5fdb84e5-bdf1-409d-96c2-c255514acada + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002?api-version=2017-12-01 + response: + body: + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.317+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '1883' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:23 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: + - mysql server private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","name":"cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:23 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: + - mysql server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","name":"cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:24 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad?api-version=2018-06-01 + response: + body: + string: '{"operation":"ApproveElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:21:25.35Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/21412cbe-7914-4182-bb7b-b83f493a00e7?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:26 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionOperationResults/21412cbe-7914-4182-bb7b-b83f493a00e7?api-version=2018-06-01 + 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: + - '1196' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/21412cbe-7914-4182-bb7b-b83f493a00e7?api-version=2018-06-01 + response: + body: + string: '{"name":"21412cbe-7914-4182-bb7b-b83f493a00e7","status":"Succeeded","startTime":"2020-03-06T02:21:25.35Z"}' + headers: + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:41 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: + - mysql server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","name":"cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '934' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:41 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: + - mysql server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","name":"cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '934' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:42 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad?api-version=2018-06-01 + response: + body: + string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private + Endpoint Connection Status is not Pending"}}' + headers: + cache-control: + - no-cache + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:42 GMT + expires: + - '-1' + 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: + - '1198' + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-ca8c222a-2979-4e48-a04c-dbc7a0f2c6ad?api-version=2018-06-01 + response: + body: + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:21:44.283Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/97fac645-e985-46ee-ba2d-d9e95cceb2bb?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:21:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionOperationResults/97fac645-e985-46ee-ba2d-d9e95cceb2bb?api-version=2018-06-01 + 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 +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection delete + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/97fac645-e985-46ee-ba2d-d9e95cceb2bb?api-version=2018-06-01 + response: + body: + string: '{"name":"97fac645-e985-46ee-ba2d-d9e95cceb2bb","status":"Succeeded","startTime":"2020-03-06T02:21:44.283Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:00 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: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002", + "groupIds": ["mysqlServer"]}, "name": "cli-pec-000010"}]}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '706' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007\",\r\n + \ \"etag\": \"W/\\\"08b5fa73-f3ee-468a-b472-744517b1ffe4\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"84570bc2-e990-4f3a-90ba-61b5e9f8af36\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000010\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010\",\r\n + \ \"etag\": \"W/\\\"08b5fa73-f3ee-468a-b472-744517b1ffe4\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mysqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.15bb3f46-d8da-40b8-bd08-78dd01fc37ec\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/7bfe33ff-e0e0-4417-ae74-b3d1d5bdc695?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '2358' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:03 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: + - 575120df-e404-4092-b5a7-02c84b4053ef + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/7bfe33ff-e0e0-4417-ae74-b3d1d5bdc695?api-version=2019-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9ed45f46-3918-424e-a25c-9aae94070e50 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/7bfe33ff-e0e0-4417-ae74-b3d1d5bdc695?api-version=2019-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:24 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: + - 94bfc05a-a756-422a-9505-1c86dc95f9c2 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/7bfe33ff-e0e0-4417-ae74-b3d1d5bdc695?api-version=2019-11-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, 06 Mar 2020 02:22:34 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: + - 7e5004f8-9fbe-4c65-ad80-a8b79f286241 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007\",\r\n + \ \"etag\": \"W/\\\"ef69d5d3-7bf8-4d90-a662-489ca1b04ad6\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"84570bc2-e990-4f3a-90ba-61b5e9f8af36\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000010\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010\",\r\n + \ \"etag\": \"W/\\\"ef69d5d3-7bf8-4d90-a662-489ca1b04ad6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"mysqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.15bb3f46-d8da-40b8-bd08-78dd01fc37ec\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2342' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:34 GMT + etag: + - W/"ef69d5d3-7bf8-4d90-a662-489ca1b04ad6" + 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: + - 049fd28c-a75f-4c37-8849-1151f8299551 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002?api-version=2017-12-01 + response: + body: + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"5.7","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.mysql.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:56.317+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforMySQL/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '1883' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:35 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: + - mysql server private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","name":"cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:36 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: + - mysql server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","name":"cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '916' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:37 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461?api-version=2018-06-01 + response: + body: + string: '{"operation":"RejectElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:22:37.54Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/ffc5cc2e-0542-4e16-a108-b25c0fcf8e4b?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '98' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:38 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionOperationResults/ffc5cc2e-0542-4e16-a108-b25c0fcf8e4b?api-version=2018-06-01 + 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: + - mysql server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/ffc5cc2e-0542-4e16-a108-b25c0fcf8e4b?api-version=2018-06-01 + response: + body: + string: '{"name":"ffc5cc2e-0542-4e16-a108-b25c0fcf8e4b","status":"Succeeded","startTime":"2020-03-06T02:22:37.54Z"}' + headers: + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22: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: + - mysql server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","name":"cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '934' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","name":"cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461","type":"Microsoft.DBforMySQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '934' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22: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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461?api-version=2018-06-01 + response: + body: + string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private + Endpoint Connection Status is not Pending"}}' + headers: + cache-control: + - no-cache + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:55 GMT + expires: + - '-1' + 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: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-a8adab00-44b2-44ec-9b5d-90157f5cc461?api-version=2018-06-01 + response: + body: + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:22:56.567Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/2c2a58da-1008-44a0-a55c-4e5fc0bbd7ae?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:22:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionOperationResults/2c2a58da-1008-44a0-a55c-4e5fc0bbd7ae?api-version=2018-06-01 + 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 +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - mysql server private-endpoint-connection delete + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforMySQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/2c2a58da-1008-44a0-a55c-4e5fc0bbd7ae?api-version=2018-06-01 + response: + body: + string: '{"name":"2c2a58da-1008-44a0-a55c-4e5fc0bbd7ae","status":"Succeeded","startTime":"2020-03-06T02:22:56.567Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:23:12 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_postgres_proxy_resources_mgmt.yaml b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_postgres_proxy_resources_mgmt.yaml index c0611506c9c..1685746e8e6 100644 --- a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_postgres_proxy_resources_mgmt.yaml +++ b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/recordings/test_postgres_proxy_resources_mgmt.yaml @@ -2,7 +2,7 @@ interactions: - request: body: '{"sku": {"name": "GP_Gen5_2"}, "properties": {"storageProfile": {"storageAutogrow": "Enabled"}, "createMode": "Default", "administratorLogin": "cloudsa", "administratorLoginPassword": - "SecretPassword123"}, "location": "eastus"}' + "SecretPassword123"}, "location": "eastus2euap"}' headers: Accept: - application/json @@ -13,7 +13,7 @@ interactions: Connection: - keep-alive Content-Length: - - '227' + - '232' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -27,10 +27,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServer","startTime":"2020-03-04T18:04:31.94Z"}' + string: '{"operation":"UpsertElasticServer","startTime":"2020-03-06T02:07:51.86Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/89057693-d079-4a60-a4e7-b70d146b9d1b?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/cf5708fb-b6fc-4662-8a94-01da06264261?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -38,11 +38,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:04:31 GMT + - Fri, 06 Mar 2020 02:07:52 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/89057693-d079-4a60-a4e7-b70d146b9d1b?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/cf5708fb-b6fc-4662-8a94-01da06264261?api-version=2017-12-01 pragma: - no-cache server: @@ -73,10 +73,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/89057693-d079-4a60-a4e7-b70d146b9d1b?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/cf5708fb-b6fc-4662-8a94-01da06264261?api-version=2017-12-01 response: body: - string: '{"name":"89057693-d079-4a60-a4e7-b70d146b9d1b","status":"InProgress","startTime":"2020-03-04T18:04:31.94Z"}' + string: '{"name":"cf5708fb-b6fc-4662-8a94-01da06264261","status":"InProgress","startTime":"2020-03-06T02:07:51.86Z"}' headers: cache-control: - no-cache @@ -85,7 +85,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:05:31 GMT + - Fri, 06 Mar 2020 02:08:52 GMT expires: - '-1' pragma: @@ -120,10 +120,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/89057693-d079-4a60-a4e7-b70d146b9d1b?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/cf5708fb-b6fc-4662-8a94-01da06264261?api-version=2017-12-01 response: body: - string: '{"name":"89057693-d079-4a60-a4e7-b70d146b9d1b","status":"Succeeded","startTime":"2020-03-04T18:04:31.94Z"}' + string: '{"name":"cf5708fb-b6fc-4662-8a94-01da06264261","status":"Succeeded","startTime":"2020-03-06T02:07:51.86Z"}' headers: cache-control: - no-cache @@ -132,7 +132,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:32 GMT + - Fri, 06 Mar 2020 02:09:53 GMT expires: - '-1' pragma: @@ -170,16 +170,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-04T18:14:32.347+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:52.237+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' headers: cache-control: - no-cache content-length: - - '1094' + - '1116' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:32 GMT + - Fri, 06 Mar 2020 02:09:53 GMT expires: - '-1' pragma: @@ -223,22 +223,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:06:34.023Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:09:54.9Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e55bbf71-712d-47a3-8b71-bb4c23101435?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/5bce1401-b5db-4d6b-b6cd-d9a283e40c03?api-version=2017-12-01 cache-control: - no-cache content-length: - - '87' + - '85' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:33 GMT + - Fri, 06 Mar 2020 02:09:56 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/e55bbf71-712d-47a3-8b71-bb4c23101435?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/5bce1401-b5db-4d6b-b6cd-d9a283e40c03?api-version=2017-12-01 pragma: - no-cache server: @@ -248,7 +248,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -269,19 +269,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/e55bbf71-712d-47a3-8b71-bb4c23101435?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/5bce1401-b5db-4d6b-b6cd-d9a283e40c03?api-version=2017-12-01 response: body: - string: '{"name":"e55bbf71-712d-47a3-8b71-bb4c23101435","status":"Succeeded","startTime":"2020-03-04T18:06:34.023Z"}' + string: '{"name":"5bce1401-b5db-4d6b-b6cd-d9a283e40c03","status":"Succeeded","startTime":"2020-03-06T02:09:54.9Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '105' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:49 GMT + - Fri, 06 Mar 2020 02:10:11 GMT expires: - '-1' pragma: @@ -328,7 +328,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:49 GMT + - Fri, 06 Mar 2020 02:10:11 GMT expires: - '-1' pragma: @@ -377,7 +377,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:49 GMT + - Fri, 06 Mar 2020 02:10:12 GMT expires: - '-1' pragma: @@ -426,7 +426,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:51 GMT + - Fri, 06 Mar 2020 02:10:12 GMT expires: - '-1' pragma: @@ -470,22 +470,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:06:52.423Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:10:14.09Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3ba601e4-a0f1-4ceb-9f19-bc82a5b9c399?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/57fb919f-4d71-4da5-8bde-25aa388e4f20?api-version=2017-12-01 cache-control: - no-cache content-length: - - '87' + - '86' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:06:51 GMT + - Fri, 06 Mar 2020 02:10:14 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/3ba601e4-a0f1-4ceb-9f19-bc82a5b9c399?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/57fb919f-4d71-4da5-8bde-25aa388e4f20?api-version=2017-12-01 pragma: - no-cache server: @@ -516,19 +516,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/3ba601e4-a0f1-4ceb-9f19-bc82a5b9c399?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/57fb919f-4d71-4da5-8bde-25aa388e4f20?api-version=2017-12-01 response: body: - string: '{"name":"3ba601e4-a0f1-4ceb-9f19-bc82a5b9c399","status":"Succeeded","startTime":"2020-03-04T18:06:52.423Z"}' + string: '{"name":"57fb919f-4d71-4da5-8bde-25aa388e4f20","status":"Succeeded","startTime":"2020-03-06T02:10:14.09Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:07 GMT + - Fri, 06 Mar 2020 02:10:30 GMT expires: - '-1' pragma: @@ -575,7 +575,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:07 GMT + - Fri, 06 Mar 2020 02:10:30 GMT expires: - '-1' pragma: @@ -624,7 +624,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:08 GMT + - Fri, 06 Mar 2020 02:10:31 GMT expires: - '-1' pragma: @@ -668,22 +668,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:07:09.58Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:10:32.307Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/39b78d9d-0885-4d40-b335-a94f297d045a?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/ef36bbdc-afab-4c11-8a1d-d0336d81e1de?api-version=2017-12-01 cache-control: - no-cache content-length: - - '86' + - '87' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:09 GMT + - Fri, 06 Mar 2020 02:10:33 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/39b78d9d-0885-4d40-b335-a94f297d045a?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/ef36bbdc-afab-4c11-8a1d-d0336d81e1de?api-version=2017-12-01 pragma: - no-cache server: @@ -693,7 +693,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -714,19 +714,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/39b78d9d-0885-4d40-b335-a94f297d045a?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/ef36bbdc-afab-4c11-8a1d-d0336d81e1de?api-version=2017-12-01 response: body: - string: '{"name":"39b78d9d-0885-4d40-b335-a94f297d045a","status":"Succeeded","startTime":"2020-03-04T18:07:09.58Z"}' + string: '{"name":"ef36bbdc-afab-4c11-8a1d-d0336d81e1de","status":"Succeeded","startTime":"2020-03-06T02:10:32.307Z"}' headers: cache-control: - no-cache content-length: - - '106' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:24 GMT + - Fri, 06 Mar 2020 02:10:48 GMT expires: - '-1' pragma: @@ -773,7 +773,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:24 GMT + - Fri, 06 Mar 2020 02:10:48 GMT expires: - '-1' pragma: @@ -822,7 +822,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:26 GMT + - Fri, 06 Mar 2020 02:10:49 GMT expires: - '-1' pragma: @@ -866,22 +866,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:07:26.97Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:10:50.193Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2eb6bc26-838a-42cf-b490-d9190fb0acd5?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/3c9f7c26-4f48-4ce4-930c-3636aaf4a34d?api-version=2017-12-01 cache-control: - no-cache content-length: - - '86' + - '87' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:27 GMT + - Fri, 06 Mar 2020 02:10:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/2eb6bc26-838a-42cf-b490-d9190fb0acd5?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/3c9f7c26-4f48-4ce4-930c-3636aaf4a34d?api-version=2017-12-01 pragma: - no-cache server: @@ -891,7 +891,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -912,19 +912,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/2eb6bc26-838a-42cf-b490-d9190fb0acd5?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/3c9f7c26-4f48-4ce4-930c-3636aaf4a34d?api-version=2017-12-01 response: body: - string: '{"name":"2eb6bc26-838a-42cf-b490-d9190fb0acd5","status":"Succeeded","startTime":"2020-03-04T18:07:26.97Z"}' + string: '{"name":"3c9f7c26-4f48-4ce4-930c-3636aaf4a34d","status":"Succeeded","startTime":"2020-03-06T02:10:50.193Z"}' headers: cache-control: - no-cache content-length: - - '106' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:42 GMT + - Fri, 06 Mar 2020 02:11:05 GMT expires: - '-1' pragma: @@ -971,7 +971,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:42 GMT + - Fri, 06 Mar 2020 02:11:07 GMT expires: - '-1' pragma: @@ -1015,10 +1015,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/firewallRules/rule2?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-04T18:07:43.713Z"}' + string: '{"operation":"UpsertElasticServerFirewallRules","startTime":"2020-03-06T02:11:07.687Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a4fc44f6-09ee-4ce8-897d-aba482e2e44f?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/8c6b30dd-b163-43ab-915b-b0736770318b?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -1026,11 +1026,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:43 GMT + - Fri, 06 Mar 2020 02:11:08 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/a4fc44f6-09ee-4ce8-897d-aba482e2e44f?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/8c6b30dd-b163-43ab-915b-b0736770318b?api-version=2017-12-01 pragma: - no-cache server: @@ -1040,7 +1040,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -1061,10 +1061,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/a4fc44f6-09ee-4ce8-897d-aba482e2e44f?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/8c6b30dd-b163-43ab-915b-b0736770318b?api-version=2017-12-01 response: body: - string: '{"name":"a4fc44f6-09ee-4ce8-897d-aba482e2e44f","status":"Succeeded","startTime":"2020-03-04T18:07:43.713Z"}' + string: '{"name":"8c6b30dd-b163-43ab-915b-b0736770318b","status":"Succeeded","startTime":"2020-03-06T02:11:07.687Z"}' headers: cache-control: - no-cache @@ -1073,7 +1073,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:59 GMT + - Fri, 06 Mar 2020 02:11:24 GMT expires: - '-1' pragma: @@ -1120,7 +1120,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:07:59 GMT + - Fri, 06 Mar 2020 02:11:24 GMT expires: - '-1' pragma: @@ -1169,7 +1169,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:01 GMT + - Fri, 06 Mar 2020 02:11:25 GMT expires: - '-1' pragma: @@ -1211,10 +1211,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/firewallRules/rule1?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-04T18:08:02.51Z"}' + string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-06T02:11:26.15Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/81bd5953-a6ba-4a17-b187-9f3a40997c7d?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/d27add1e-b6a2-4521-b5dd-7d35523ee7f4?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -1222,11 +1222,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:02 GMT + - Fri, 06 Mar 2020 02:11:26 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/81bd5953-a6ba-4a17-b187-9f3a40997c7d?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/d27add1e-b6a2-4521-b5dd-7d35523ee7f4?api-version=2017-12-01 pragma: - no-cache server: @@ -1236,7 +1236,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14997' status: code: 202 message: Accepted @@ -1257,10 +1257,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/81bd5953-a6ba-4a17-b187-9f3a40997c7d?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/d27add1e-b6a2-4521-b5dd-7d35523ee7f4?api-version=2017-12-01 response: body: - string: '{"name":"81bd5953-a6ba-4a17-b187-9f3a40997c7d","status":"Succeeded","startTime":"2020-03-04T18:08:02.51Z"}' + string: '{"name":"d27add1e-b6a2-4521-b5dd-7d35523ee7f4","status":"Succeeded","startTime":"2020-03-06T02:11:26.15Z"}' headers: cache-control: - no-cache @@ -1269,7 +1269,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:17 GMT + - Fri, 06 Mar 2020 02:11:42 GMT expires: - '-1' pragma: @@ -1318,7 +1318,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:18 GMT + - Fri, 06 Mar 2020 02:11:43 GMT expires: - '-1' pragma: @@ -1360,10 +1360,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/firewallRules/rule2?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-04T18:08:19.947Z"}' + string: '{"operation":"DropElasticServerFirewallRule","startTime":"2020-03-06T02:11:44.743Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/721064de-0cec-4b08-a32a-1e2ec1bcfe6a?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/77fe50a7-17c3-4221-93ab-f4c14f8e57c5?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -1371,11 +1371,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:19 GMT + - Fri, 06 Mar 2020 02:11:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/721064de-0cec-4b08-a32a-1e2ec1bcfe6a?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/77fe50a7-17c3-4221-93ab-f4c14f8e57c5?api-version=2017-12-01 pragma: - no-cache server: @@ -1406,10 +1406,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/721064de-0cec-4b08-a32a-1e2ec1bcfe6a?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/77fe50a7-17c3-4221-93ab-f4c14f8e57c5?api-version=2017-12-01 response: body: - string: '{"name":"721064de-0cec-4b08-a32a-1e2ec1bcfe6a","status":"Succeeded","startTime":"2020-03-04T18:08:19.947Z"}' + string: '{"name":"77fe50a7-17c3-4221-93ab-f4c14f8e57c5","status":"Succeeded","startTime":"2020-03-06T02:11:44.743Z"}' headers: cache-control: - no-cache @@ -1418,7 +1418,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:34 GMT + - Fri, 06 Mar 2020 02:12:01 GMT expires: - '-1' pragma: @@ -1467,7 +1467,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:36 GMT + - Fri, 06 Mar 2020 02:12:01 GMT expires: - '-1' pragma: @@ -1486,9 +1486,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "clitestsubnet1"}]}}' + body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "clitestsubnet1"}]}}' headers: Accept: - application/json @@ -1499,7 +1499,7 @@ interactions: Connection: - keep-alive Content-Length: - - '212' + - '217' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1514,15 +1514,15 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"975a3915-76cd-437a-8342-a5b61fe11777\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"bbdc2447-999a-4116-9caf-56f06773a204\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"975a3915-76cd-437a-8342-a5b61fe11777\\\"\",\r\n + \ \"etag\": \"W/\\\"bbdc2447-999a-4116-9caf-56f06773a204\\\"\",\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\": @@ -1530,16 +1530,18 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2029196-758e-4024-a9d6-e06e0a38f08a?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/1c012874-d97b-4ae4-a73b-35a7a837342a?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1469' + - '1474' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:37 GMT + - Fri, 06 Mar 2020 02:12:03 GMT expires: - '-1' pragma: @@ -1552,9 +1554,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 910866cd-bb93-49e1-87ac-6543db0d5a53 + - b99485ed-caec-46d2-9293-007dca0b2e61 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -1575,7 +1577,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/f2029196-758e-4024-a9d6-e06e0a38f08a?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/1c012874-d97b-4ae4-a73b-35a7a837342a?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1587,7 +1589,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:40 GMT + - Fri, 06 Mar 2020 02:12:06 GMT expires: - '-1' pragma: @@ -1604,7 +1606,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f5a962b-3beb-42f9-9ca6-ab238abdeaf7 + - 70277c02-433b-4ce6-9084-4a7d6d998fce status: code: 200 message: OK @@ -1629,15 +1631,15 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"f3513730-eb9b-4ac5-8495-a62aa5bb21e1\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"0d57c7a2-fec0-47c7-ab3d-d34d2c3d7c0d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"f3513730-eb9b-4ac5-8495-a62aa5bb21e1\\\"\",\r\n + \ \"etag\": \"W/\\\"0d57c7a2-fec0-47c7-ab3d-d34d2c3d7c0d\\\"\",\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\": @@ -1648,13 +1650,13 @@ interactions: cache-control: - no-cache content-length: - - '1471' + - '1476' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:41 GMT + - Fri, 06 Mar 2020 02:12:07 GMT etag: - - W/"f3513730-eb9b-4ac5-8495-a62aa5bb21e1" + - W/"0d57c7a2-fec0-47c7-ab3d-d34d2c3d7c0d" expires: - '-1' pragma: @@ -1671,7 +1673,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 00a403cf-d660-4baa-ad4f-323c53e7104e + - ac34a1c4-b38f-4510-bffa-d799119ab757 status: code: 200 message: OK @@ -1698,15 +1700,15 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"f3513730-eb9b-4ac5-8495-a62aa5bb21e1\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"0d57c7a2-fec0-47c7-ab3d-d34d2c3d7c0d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"f3513730-eb9b-4ac5-8495-a62aa5bb21e1\\\"\",\r\n + \ \"etag\": \"W/\\\"0d57c7a2-fec0-47c7-ab3d-d34d2c3d7c0d\\\"\",\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\": @@ -1717,13 +1719,13 @@ interactions: cache-control: - no-cache content-length: - - '1471' + - '1476' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:42 GMT + - Fri, 06 Mar 2020 02:12:08 GMT etag: - - W/"f3513730-eb9b-4ac5-8495-a62aa5bb21e1" + - W/"0d57c7a2-fec0-47c7-ab3d-d34d2c3d7c0d" expires: - '-1' pragma: @@ -1740,13 +1742,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1001d952-fca0-48ac-8d45-9962b408b20a + - e9ab4402-7f77-4639-a578-2b727560ce99 status: code: 200 message: OK - request: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet", - "location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet1"}, @@ -1763,7 +1765,7 @@ interactions: Connection: - keep-alive Content-Length: - - '945' + - '950' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -1778,22 +1780,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"ab6c47ab-801f-4178-a7cd-383c8708189e\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"d2ab3b25-a5c9-4f72-a40d-a34017fe4151\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"ab6c47ab-801f-4178-a7cd-383c8708189e\\\"\",\r\n + \ \"etag\": \"W/\\\"d2ab3b25-a5c9-4f72-a40d-a34017fe4151\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"ab6c47ab-801f-4178-a7cd-383c8708189e\\\"\",\r\n + \ \"etag\": \"W/\\\"d2ab3b25-a5c9-4f72-a40d-a34017fe4151\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -1802,15 +1804,15 @@ interactions: false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/82cd6745-b02f-4c30-8279-66a4edba5b8c?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a82f4974-a16b-49fd-ac9d-45323dd21e1e?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2155' + - '2160' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:43 GMT + - Fri, 06 Mar 2020 02:12:09 GMT expires: - '-1' pragma: @@ -1827,9 +1829,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 978c307a-17b2-44f8-ac72-d65f6a3f11fd + - cad43efd-a1e0-4667-9130-61a035408f17 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1850,7 +1852,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/82cd6745-b02f-4c30-8279-66a4edba5b8c?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/a82f4974-a16b-49fd-ac9d-45323dd21e1e?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1862,7 +1864,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:46 GMT + - Fri, 06 Mar 2020 02:12:12 GMT expires: - '-1' pragma: @@ -1879,7 +1881,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 241ef49f-814f-4688-926c-1450da11b37f + - 2d904f2f-0cb7-4607-8d79-ce2ff2941ae8 status: code: 200 message: OK @@ -1904,22 +1906,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"a642dfac-784d-4351-9ad1-b0dd0c7aab9c\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"7470cb00-6ba9-42b5-8592-438f679aacd2\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"a642dfac-784d-4351-9ad1-b0dd0c7aab9c\\\"\",\r\n + \ \"etag\": \"W/\\\"7470cb00-6ba9-42b5-8592-438f679aacd2\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"a642dfac-784d-4351-9ad1-b0dd0c7aab9c\\\"\",\r\n + \ \"etag\": \"W/\\\"7470cb00-6ba9-42b5-8592-438f679aacd2\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -1930,13 +1932,13 @@ interactions: cache-control: - no-cache content-length: - - '2158' + - '2163' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:46 GMT + - Fri, 06 Mar 2020 02:12:12 GMT etag: - - W/"a642dfac-784d-4351-9ad1-b0dd0c7aab9c" + - W/"7470cb00-6ba9-42b5-8592-438f679aacd2" expires: - '-1' pragma: @@ -1953,7 +1955,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 203805c6-d616-4da6-8520-3c3dddd00df2 + - c37279dc-8258-4887-83ac-b6b80a4851f4 status: code: 200 message: OK @@ -1984,22 +1986,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule1?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:08:47.597Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:12:14.72Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0521b239-95ff-4f48-9e76-972c9e272b87?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/ae30e323-5f6a-479a-8133-845fc2aea4c9?api-version=2017-12-01 cache-control: - no-cache content-length: - - '90' + - '89' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:08:48 GMT + - Fri, 06 Mar 2020 02:12:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/0521b239-95ff-4f48-9e76-972c9e272b87?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/ae30e323-5f6a-479a-8133-845fc2aea4c9?api-version=2017-12-01 pragma: - no-cache server: @@ -2009,7 +2011,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -2030,19 +2032,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/0521b239-95ff-4f48-9e76-972c9e272b87?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/ae30e323-5f6a-479a-8133-845fc2aea4c9?api-version=2017-12-01 response: body: - string: '{"name":"0521b239-95ff-4f48-9e76-972c9e272b87","status":"Succeeded","startTime":"2020-03-04T18:08:47.597Z"}' + string: '{"name":"ae30e323-5f6a-479a-8133-845fc2aea4c9","status":"Succeeded","startTime":"2020-03-06T02:12:14.72Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '106' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:18 GMT + - Fri, 06 Mar 2020 02:12:45 GMT expires: - '-1' pragma: @@ -2089,7 +2091,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:18 GMT + - Fri, 06 Mar 2020 02:12:46 GMT expires: - '-1' pragma: @@ -2138,7 +2140,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:19 GMT + - Fri, 06 Mar 2020 02:12:47 GMT expires: - '-1' pragma: @@ -2183,10 +2185,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:09:21.113Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:12:48.397Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1740f6a9-1678-480e-8256-4ebe5403b87a?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/4ac3f9ec-c25b-4290-8836-df8ccd792c78?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -2194,11 +2196,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:22 GMT + - Fri, 06 Mar 2020 02:12:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/1740f6a9-1678-480e-8256-4ebe5403b87a?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/4ac3f9ec-c25b-4290-8836-df8ccd792c78?api-version=2017-12-01 pragma: - no-cache server: @@ -2208,7 +2210,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -2229,10 +2231,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/1740f6a9-1678-480e-8256-4ebe5403b87a?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/4ac3f9ec-c25b-4290-8836-df8ccd792c78?api-version=2017-12-01 response: body: - string: '{"name":"1740f6a9-1678-480e-8256-4ebe5403b87a","status":"Succeeded","startTime":"2020-03-04T18:09:21.113Z"}' + string: '{"name":"4ac3f9ec-c25b-4290-8836-df8ccd792c78","status":"Succeeded","startTime":"2020-03-06T02:12:48.397Z"}' headers: cache-control: - no-cache @@ -2241,7 +2243,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:51 GMT + - Fri, 06 Mar 2020 02:13:19 GMT expires: - '-1' pragma: @@ -2288,7 +2290,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:52 GMT + - Fri, 06 Mar 2020 02:13:19 GMT expires: - '-1' pragma: @@ -2329,22 +2331,22 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"7d465bc6-2615-466f-ae9a-c6b15ffc5f6c\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"db517023-bae7-4b02-81fb-82440e7278cb\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"7d465bc6-2615-466f-ae9a-c6b15ffc5f6c\\\"\",\r\n + \ \"etag\": \"W/\\\"db517023-bae7-4b02-81fb-82440e7278cb\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"7d465bc6-2615-466f-ae9a-c6b15ffc5f6c\\\"\",\r\n + \ \"etag\": \"W/\\\"db517023-bae7-4b02-81fb-82440e7278cb\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2355,13 +2357,13 @@ interactions: cache-control: - no-cache content-length: - - '2158' + - '2163' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:53 GMT + - Fri, 06 Mar 2020 02:13:21 GMT etag: - - W/"7d465bc6-2615-466f-ae9a-c6b15ffc5f6c" + - W/"db517023-bae7-4b02-81fb-82440e7278cb" expires: - '-1' pragma: @@ -2378,13 +2380,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f8d6d48f-992c-45fc-8221-3d2af19a132f + - c27e643d-08ad-4be4-a95d-96ad108a693c status: code: 200 message: OK - request: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet", - "location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [], "privateEndpointNetworkPolicies": "Enabled", "privateLinkServiceNetworkPolicies": "Enabled"}, "name": "clitestsubnet1"}, @@ -2404,7 +2406,7 @@ interactions: Connection: - keep-alive Content-Length: - - '1364' + - '1369' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -2419,29 +2421,29 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"04c5d1e8-89a0-4930-8af4-919f6029fa9d\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"a8166438-89bb-44b7-a11c-5cb9842034b5\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"04c5d1e8-89a0-4930-8af4-919f6029fa9d\\\"\",\r\n + \ \"etag\": \"W/\\\"a8166438-89bb-44b7-a11c-5cb9842034b5\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"04c5d1e8-89a0-4930-8af4-919f6029fa9d\\\"\",\r\n + \ \"etag\": \"W/\\\"a8166438-89bb-44b7-a11c-5cb9842034b5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.1.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 \"name\": \"clitestsubnet3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet3\",\r\n - \ \"etag\": \"W/\\\"04c5d1e8-89a0-4930-8af4-919f6029fa9d\\\"\",\r\n + \ \"etag\": \"W/\\\"a8166438-89bb-44b7-a11c-5cb9842034b5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2450,15 +2452,15 @@ interactions: false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c3b2bd37-6baf-4eec-8622-8dc00cc97f66?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/57a4dd2f-2071-4afa-848a-1809a2ccc48f?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2841' + - '2846' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:54 GMT + - Fri, 06 Mar 2020 02:13:22 GMT expires: - '-1' pragma: @@ -2475,7 +2477,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 418c4884-a015-446f-9a17-3003c5605a77 + - efe95e6b-7e9f-4566-a8f1-e6447e259a5d x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2498,7 +2500,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/c3b2bd37-6baf-4eec-8622-8dc00cc97f66?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/57a4dd2f-2071-4afa-848a-1809a2ccc48f?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -2510,7 +2512,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:57 GMT + - Fri, 06 Mar 2020 02:13:25 GMT expires: - '-1' pragma: @@ -2527,7 +2529,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4b608d85-f5c4-40ce-8d30-e521454f2bd1 + - 9a5fcd31-56ea-4579-9bb0-0139931815d3 status: code: 200 message: OK @@ -2552,29 +2554,29 @@ interactions: response: body: string: "{\r\n \"name\": \"clitestvnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet\",\r\n - \ \"etag\": \"W/\\\"64a53226-64f7-492f-8947-531ebedb1195\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"3a5574c9-c465-48cd-94a4-0d41e01a5a4b\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"6cae420d-017d-44a2-937e-a5f820731288\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ad874668-c7ad-438b-b715-6672b4d6b3fe\",\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\": \"clitestsubnet1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet1\",\r\n - \ \"etag\": \"W/\\\"64a53226-64f7-492f-8947-531ebedb1195\\\"\",\r\n + \ \"etag\": \"W/\\\"3a5574c9-c465-48cd-94a4-0d41e01a5a4b\\\"\",\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 \"name\": \"clitestsubnet2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet2\",\r\n - \ \"etag\": \"W/\\\"64a53226-64f7-492f-8947-531ebedb1195\\\"\",\r\n + \ \"etag\": \"W/\\\"3a5574c9-c465-48cd-94a4-0d41e01a5a4b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.1.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 \"name\": \"clitestsubnet3\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/clitestvnet/subnets/clitestsubnet3\",\r\n - \ \"etag\": \"W/\\\"64a53226-64f7-492f-8947-531ebedb1195\\\"\",\r\n + \ \"etag\": \"W/\\\"3a5574c9-c465-48cd-94a4-0d41e01a5a4b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.3.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": @@ -2585,13 +2587,13 @@ interactions: cache-control: - no-cache content-length: - - '2845' + - '2850' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:57 GMT + - Fri, 06 Mar 2020 02:13:25 GMT etag: - - W/"64a53226-64f7-492f-8947-531ebedb1195" + - W/"3a5574c9-c465-48cd-94a4-0d41e01a5a4b" expires: - '-1' pragma: @@ -2608,7 +2610,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d5e4ae59-16aa-43c1-9140-b09e2bf1cd67 + - 00b45aa8-9309-4733-b10e-363981047edc status: code: 200 message: OK @@ -2643,7 +2645,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:09:58 GMT + - Fri, 06 Mar 2020 02:13:26 GMT expires: - '-1' pragma: @@ -2688,10 +2690,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2017-12-01 response: body: - string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-04T18:09:59.503Z"}' + string: '{"operation":"UpsertElasticServerVnetFirewallRule","startTime":"2020-03-06T02:13:27.297Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06db1ef6-a3de-428d-a9bb-ca0b51902f66?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/bc42cc71-bc8d-4583-bc33-b66a04dd8aeb?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -2699,11 +2701,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:00 GMT + - Fri, 06 Mar 2020 02:13:27 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/06db1ef6-a3de-428d-a9bb-ca0b51902f66?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/bc42cc71-bc8d-4583-bc33-b66a04dd8aeb?api-version=2017-12-01 pragma: - no-cache server: @@ -2734,10 +2736,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/06db1ef6-a3de-428d-a9bb-ca0b51902f66?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/bc42cc71-bc8d-4583-bc33-b66a04dd8aeb?api-version=2017-12-01 response: body: - string: '{"name":"06db1ef6-a3de-428d-a9bb-ca0b51902f66","status":"Succeeded","startTime":"2020-03-04T18:09:59.503Z"}' + string: '{"name":"bc42cc71-bc8d-4583-bc33-b66a04dd8aeb","status":"Succeeded","startTime":"2020-03-06T02:13:27.297Z"}' headers: cache-control: - no-cache @@ -2746,7 +2748,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:30 GMT + - Fri, 06 Mar 2020 02:13:58 GMT expires: - '-1' pragma: @@ -2793,7 +2795,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:31 GMT + - Fri, 06 Mar 2020 02:13:58 GMT expires: - '-1' pragma: @@ -2842,7 +2844,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:31 GMT + - Fri, 06 Mar 2020 02:13:59 GMT expires: - '-1' pragma: @@ -2884,22 +2886,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule1?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-04T18:10:32.74Z"}' + string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-06T02:14:00.457Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7b571290-69e0-462b-b114-1a584385ef52?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/b41ba047-89aa-42fb-8fd1-88eae6afa89d?api-version=2017-12-01 cache-control: - no-cache content-length: - - '87' + - '88' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:35 GMT + - Fri, 06 Mar 2020 02:14:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/7b571290-69e0-462b-b114-1a584385ef52?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/b41ba047-89aa-42fb-8fd1-88eae6afa89d?api-version=2017-12-01 pragma: - no-cache server: @@ -2909,7 +2911,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14999' status: code: 202 message: Accepted @@ -2930,19 +2932,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/7b571290-69e0-462b-b114-1a584385ef52?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/b41ba047-89aa-42fb-8fd1-88eae6afa89d?api-version=2017-12-01 response: body: - string: '{"name":"7b571290-69e0-462b-b114-1a584385ef52","status":"Succeeded","startTime":"2020-03-04T18:10:32.74Z"}' + string: '{"name":"b41ba047-89aa-42fb-8fd1-88eae6afa89d","status":"Succeeded","startTime":"2020-03-06T02:14:00.457Z"}' headers: cache-control: - no-cache content-length: - - '106' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:50 GMT + - Fri, 06 Mar 2020 02:14:16 GMT expires: - '-1' pragma: @@ -2991,7 +2993,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:51 GMT + - Fri, 06 Mar 2020 02:14:17 GMT expires: - '-1' pragma: @@ -3033,10 +3035,10 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/virtualNetworkRules/vnet_rule2?api-version=2017-12-01 response: body: - string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-04T18:10:53.083Z"}' + string: '{"operation":"DropElasticServerVnetFirewallRule","startTime":"2020-03-06T02:14:18.887Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/580e7517-bc93-4c11-95ba-178bd006107f?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/799711da-7268-46a6-88f4-c4ef1f040824?api-version=2017-12-01 cache-control: - no-cache content-length: @@ -3044,11 +3046,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:10:53 GMT + - Fri, 06 Mar 2020 02:14:19 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/580e7517-bc93-4c11-95ba-178bd006107f?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/799711da-7268-46a6-88f4-c4ef1f040824?api-version=2017-12-01 pragma: - no-cache server: @@ -3079,10 +3081,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/580e7517-bc93-4c11-95ba-178bd006107f?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/799711da-7268-46a6-88f4-c4ef1f040824?api-version=2017-12-01 response: body: - string: '{"name":"580e7517-bc93-4c11-95ba-178bd006107f","status":"Succeeded","startTime":"2020-03-04T18:10:53.083Z"}' + string: '{"name":"799711da-7268-46a6-88f4-c4ef1f040824","status":"Succeeded","startTime":"2020-03-06T02:14:18.887Z"}' headers: cache-control: - no-cache @@ -3091,7 +3093,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:09 GMT + - Fri, 06 Mar 2020 02:14:35 GMT expires: - '-1' pragma: @@ -3140,7 +3142,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:10 GMT + - Fri, 06 Mar 2020 02:14:36 GMT expires: - '-1' pragma: @@ -3184,18 +3186,20 @@ interactions: body: string: '' headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cbb5ac00-4e6a-4b2f-b4f2-34523bc54e64?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d16042bd-cc14-418e-94c3-117f7b94f8ed?api-version=2019-11-01 cache-control: - no-cache content-length: - '0' date: - - Wed, 04 Mar 2020 18:11:10 GMT + - Fri, 06 Mar 2020 02:14:36 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/cbb5ac00-4e6a-4b2f-b4f2-34523bc54e64?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operationResults/d16042bd-cc14-418e-94c3-117f7b94f8ed?api-version=2019-11-01 pragma: - no-cache server: @@ -3206,7 +3210,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 42176100-afb2-4f68-ac6c-82acc6b3c390 + - 1d54966c-7bdd-4c20-b8f4-db90cd860660 x-ms-ratelimit-remaining-subscription-deletes: - '14999' status: @@ -3229,7 +3233,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cbb5ac00-4e6a-4b2f-b4f2-34523bc54e64?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/d16042bd-cc14-418e-94c3-117f7b94f8ed?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -3241,7 +3245,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:21 GMT + - Fri, 06 Mar 2020 02:14:47 GMT expires: - '-1' pragma: @@ -3258,7 +3262,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c1e6edde-b402-441d-8b43-b924f7a1e5c0 + - 97380ec1-b4de-454f-bb72-7ac48ab5cb00 status: code: 200 message: OK @@ -3296,7 +3300,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:22 GMT + - Fri, 06 Mar 2020 02:14:49 GMT expires: - '-1' pragma: @@ -3346,7 +3350,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:23 GMT + - Fri, 06 Mar 2020 02:14:50 GMT expires: - '-1' pragma: @@ -3390,22 +3394,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/configurations/array_nulls?api-version=2017-12-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:11:24.82Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:14:50.787Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f750517-9ce4-4e32-b2ed-df76ab9b096c?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/233d7e7f-3057-4658-8c87-d4db30bd5d23?api-version=2017-12-01 cache-control: - no-cache content-length: - - '79' + - '80' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:24 GMT + - Fri, 06 Mar 2020 02:14:50 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/8f750517-9ce4-4e32-b2ed-df76ab9b096c?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/233d7e7f-3057-4658-8c87-d4db30bd5d23?api-version=2017-12-01 pragma: - no-cache server: @@ -3415,7 +3419,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -3436,19 +3440,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/8f750517-9ce4-4e32-b2ed-df76ab9b096c?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/233d7e7f-3057-4658-8c87-d4db30bd5d23?api-version=2017-12-01 response: body: - string: '{"name":"8f750517-9ce4-4e32-b2ed-df76ab9b096c","status":"Succeeded","startTime":"2020-03-04T18:11:24.82Z"}' + string: '{"name":"233d7e7f-3057-4658-8c87-d4db30bd5d23","status":"Succeeded","startTime":"2020-03-06T02:14:50.787Z"}' headers: cache-control: - no-cache content-length: - - '106' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:39 GMT + - Fri, 06 Mar 2020 02:15:06 GMT expires: - '-1' pragma: @@ -3496,7 +3500,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:40 GMT + - Fri, 06 Mar 2020 02:15:06 GMT expires: - '-1' pragma: @@ -3540,22 +3544,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/configurations/array_nulls?api-version=2017-12-01 response: body: - string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-04T18:11:41.697Z"}' + string: '{"operation":"UpdateElasticServerConfig","startTime":"2020-03-06T02:15:07.7Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/21b9c006-17ce-4ebb-9c5b-0539ab0ba2d1?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/4bd92102-ea5d-4ef0-95d4-17af9b81ae1e?api-version=2017-12-01 cache-control: - no-cache content-length: - - '80' + - '78' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:41 GMT + - Fri, 06 Mar 2020 02:15:07 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/operationResults/21b9c006-17ce-4ebb-9c5b-0539ab0ba2d1?api-version=2017-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/operationResults/4bd92102-ea5d-4ef0-95d4-17af9b81ae1e?api-version=2017-12-01 pragma: - no-cache server: @@ -3565,7 +3569,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 202 message: Accepted @@ -3586,19 +3590,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus/azureAsyncOperation/21b9c006-17ce-4ebb-9c5b-0539ab0ba2d1?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/azureAsyncOperation/4bd92102-ea5d-4ef0-95d4-17af9b81ae1e?api-version=2017-12-01 response: body: - string: '{"name":"21b9c006-17ce-4ebb-9c5b-0539ab0ba2d1","status":"Succeeded","startTime":"2020-03-04T18:11:41.697Z"}' + string: '{"name":"4bd92102-ea5d-4ef0-95d4-17af9b81ae1e","status":"Succeeded","startTime":"2020-03-06T02:15:07.7Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '105' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:57 GMT + - Fri, 06 Mar 2020 02:15:22 GMT expires: - '-1' pragma: @@ -3646,7 +3650,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:57 GMT + - Fri, 06 Mar 2020 02:15:22 GMT expires: - '-1' pragma: @@ -3824,7 +3828,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:58 GMT + - Fri, 06 Mar 2020 02:15:24 GMT expires: - '-1' pragma: @@ -3864,16 +3868,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/logFiles?api-version=2017-12-01 response: body: - string: '{"value":[{"properties":{"name":"postgresql-2020-03-04_180537.log","sizeInKB":7,"createdTime":"0001-01-01T00:00:00+00:00","lastModifiedTime":"2020-03-04T18:11:42+00:00","type":"text","url":"https://wasd2prodeus1apfse4276.file.core.windows.net/92514f54358b48f48528324005db49e5/pg_log/postgresql-2020-03-04_180537.log?sv=2018-11-09&sr=f&sig=rwXlKDLu3V%2FilPgnw6QB%2Bao2c%2BdsqfLeo13D7YhUiBw%3D&se=2020-03-04T19%3A11%3A59Z&sp=r"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/logFiles/postgresql-2020-03-04_180537.log","name":"postgresql-2020-03-04_180537.log","type":"Microsoft.DBforPostgreSQL/servers/logFiles"}]}' + string: '{"value":[{"properties":{"name":"postgresql-2020-03-06_020850.log","sizeInKB":6,"createdTime":"0001-01-01T00:00:00+00:00","lastModifiedTime":"2020-03-06T02:15:08+00:00","type":"text","url":"https://wasd2prodea2eu1afse30.file.core.windows.net/c86d752ee84d44a5b00fedc8e0d6cf98/pg_log/postgresql-2020-03-06_020850.log?sv=2018-11-09&sr=f&sig=seBdkKcYgMhNO85QgtkwSJA4wIvG6zIXqwvEaedibxo%3D&se=2020-03-06T03%3A15%3A25Z&sp=r"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/logFiles/postgresql-2020-03-06_020850.log","name":"postgresql-2020-03-06_020850.log","type":"Microsoft.DBforPostgreSQL/servers/logFiles"}]}' headers: cache-control: - no-cache content-length: - - '823' + - '816' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:59 GMT + - Fri, 06 Mar 2020 02:15:25 GMT expires: - '-1' pragma: @@ -3922,7 +3926,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:11:59 GMT + - Fri, 06 Mar 2020 02:15:25 GMT expires: - '-1' pragma: @@ -3941,9 +3945,9 @@ interactions: code: 200 message: OK - request: - body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": {"addressPrefix": - "10.0.0.0/24"}, "name": "cli-subnet-000004"}]}}' + body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}, "subnets": [{"properties": + {"addressPrefix": "10.0.0.0/24"}, "name": "cli-subnet-000004"}]}}' headers: Accept: - application/json @@ -3954,7 +3958,7 @@ interactions: Connection: - keep-alive Content-Length: - - '222' + - '227' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -3969,15 +3973,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"75ff48f4-6636-4070-a7f2-5d9d16399748\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"77146e76-ba11-4c55-942b-649f19329565\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"7b6d28ff-168c-4402-ac35-f759dafeb974\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"abec124d-04b3-4330-8db2-aad27348f80a\",\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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"75ff48f4-6636-4070-a7f2-5d9d16399748\\\"\",\r\n + \ \"etag\": \"W/\\\"77146e76-ba11-4c55-942b-649f19329565\\\"\",\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\": @@ -3985,16 +3989,18 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0c38f1e6-5210-492e-80b9-e6be69b75666?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/b2f6dd96-29c1-41cd-94d6-6b155f0d7856?api-version=2019-11-01 cache-control: - no-cache content-length: - - '1528' + - '1533' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:00 GMT + - Fri, 06 Mar 2020 02:15:27 GMT expires: - '-1' pragma: @@ -4007,9 +4013,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8062e758-d5a9-42a4-b1e4-6de6f5bf3c5a + - 9c64ac7e-8928-4256-aca2-0a34f6da7f42 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -4030,7 +4036,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/0c38f1e6-5210-492e-80b9-e6be69b75666?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/b2f6dd96-29c1-41cd-94d6-6b155f0d7856?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4042,7 +4048,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:04 GMT + - Fri, 06 Mar 2020 02:15:30 GMT expires: - '-1' pragma: @@ -4059,7 +4065,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 375df580-728c-4387-9721-57b8a516551c + - 93f638d3-0112-4133-b6d9-9d4b0fbbd42b status: code: 200 message: OK @@ -4084,15 +4090,15 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-vnet-000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003\",\r\n - \ \"etag\": \"W/\\\"e045f918-3173-49c6-be66-8930b0349acd\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"6337aaa2-fa60-4fff-b93d-410eb49b558c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"7b6d28ff-168c-4402-ac35-f759dafeb974\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"abec124d-04b3-4330-8db2-aad27348f80a\",\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/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"e045f918-3173-49c6-be66-8930b0349acd\\\"\",\r\n + \ \"etag\": \"W/\\\"6337aaa2-fa60-4fff-b93d-410eb49b558c\\\"\",\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\": @@ -4103,13 +4109,13 @@ interactions: cache-control: - no-cache content-length: - - '1530' + - '1535' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:04 GMT + - Fri, 06 Mar 2020 02:15:31 GMT etag: - - W/"e045f918-3173-49c6-be66-8930b0349acd" + - W/"6337aaa2-fa60-4fff-b93d-410eb49b558c" expires: - '-1' pragma: @@ -4126,7 +4132,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f7f6d79e-0049-4f38-9d2b-63b3dc4c7b7e + - ddfa6600-157a-4ec5-8ab1-ba6075bd2119 status: code: 200 message: OK @@ -4153,7 +4159,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"e045f918-3173-49c6-be66-8930b0349acd\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"6337aaa2-fa60-4fff-b93d-410eb49b558c\\\"\",\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\": @@ -4166,9 +4172,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:04 GMT + - Fri, 06 Mar 2020 02:15:31 GMT etag: - - W/"e045f918-3173-49c6-be66-8930b0349acd" + - W/"6337aaa2-fa60-4fff-b93d-410eb49b558c" expires: - '-1' pragma: @@ -4185,7 +4191,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6b568d8b-d2e6-4941-8cf4-025495a88335 + - 927143e3-d134-4164-af15-19fe39dd004f status: code: 200 message: OK @@ -4218,14 +4224,14 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"d726d9e5-2440-411f-8a18-9b1b4f86cecd\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"b88aff0b-73fd-43e9-8643-1dd5457a3199\\\"\",\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/eastus/operations/9a9539e6-c114-4217-8804-b0f6b016875e?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/858d07a2-486a-426a-8127-bca6900b6db1?api-version=2019-11-01 cache-control: - no-cache content-length: @@ -4233,7 +4239,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:05 GMT + - Fri, 06 Mar 2020 02:15:36 GMT expires: - '-1' pragma: @@ -4250,9 +4256,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 70eaea1d-70eb-46ed-a357-d84de2cbbba8 + - 6da51ece-34fc-4ec8-a4b3-70296abe3e44 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1198' status: code: 200 message: OK @@ -4273,7 +4279,7 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9a9539e6-c114-4217-8804-b0f6b016875e?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/858d07a2-486a-426a-8127-bca6900b6db1?api-version=2019-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -4285,7 +4291,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:09 GMT + - Fri, 06 Mar 2020 02:15:39 GMT expires: - '-1' pragma: @@ -4302,7 +4308,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 045e6f7d-2455-4f2e-b91b-6c3ade53432b + - b03cd4d9-df3b-4c34-83d7-3d6f59e62dac status: code: 200 message: OK @@ -4327,7 +4333,7 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-subnet-000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004\",\r\n - \ \"etag\": \"W/\\\"5942c359-4900-49f1-aff8-5c540b586b61\\\"\",\r\n \"properties\": + \ \"etag\": \"W/\\\"01c73a1b-768c-45ac-8639-aadd5962518e\\\"\",\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\": @@ -4340,9 +4346,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:09 GMT + - Fri, 06 Mar 2020 02:15:40 GMT etag: - - W/"5942c359-4900-49f1-aff8-5c540b586b61" + - W/"01c73a1b-768c-45ac-8639-aadd5962518e" expires: - '-1' pragma: @@ -4359,7 +4365,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c081a54c-82af-49f2-9cf5-8c22f70019af + - f99a61c3-74a4-4ab3-94e4-6face9cc97a0 status: code: 200 message: OK @@ -4385,16 +4391,16 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-04T18:14:32.347+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:52.237+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' headers: cache-control: - no-cache content-length: - - '1094' + - '1116' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:10 GMT + - Fri, 06 Mar 2020 02:15:40 GMT expires: - '-1' pragma: @@ -4443,7 +4449,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:11 GMT + - Fri, 06 Mar 2020 02:15:41 GMT expires: - '-1' pragma: @@ -4462,9 +4468,9 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "eastus", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + body: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002", - "groupIds": ["postgresqlServer"]}, "name": "cli-pec-000006"}]}}\''''' + "groupIds": ["postgresqlServer"]}, "name": "cli-pec-000008"}]}}\''''' headers: Accept: - application/json @@ -4475,7 +4481,7 @@ interactions: Connection: - keep-alive Content-Length: - - '705' + - '710' Content-Type: - application/json; charset=utf-8 ParameterSetName: @@ -4491,12 +4497,12 @@ interactions: response: body: string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"2170d14c-8ac6-4461-970f-b42ab4af00b6\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"5063c198-12f8-4dec-81c6-443aa144fd72\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": - \"7ed7017d-6b20-4103-8f1a-df36815913d6\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"2170d14c-8ac6-4461-970f-b42ab4af00b6\\\"\",\r\n + \"177495bd-69d3-40c9-b594-d15c89673300\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008\",\r\n + \ \"etag\": \"W/\\\"5063c198-12f8-4dec-81c6-443aa144fd72\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002\",\r\n \ \"groupIds\": [\r\n \"postgresqlServer\"\r\n ],\r\n @@ -4505,19 +4511,21 @@ interactions: \"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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.f41dd161-3e13-40cc-9322-6138c3b59cf2\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.820d4b54-c380-4a4e-9eda-cfa061dd2bc3\"\r\n \ }\r\n ]\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/270eb2b5-8f9c-412e-8250-2bc9863e8b84?api-version=2019-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/7105cd19-45b5-4a7e-8e4f-12155844b4ce?api-version=2019-11-01 cache-control: - no-cache content-length: - - '2335' + - '2340' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:14 GMT + - Fri, 06 Mar 2020 02:15:45 GMT expires: - '-1' pragma: @@ -4530,7 +4538,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - af206abb-9feb-45f9-8dd0-df140db53d0a + - f1804a8e-0422-4490-b3a7-1c7ec8c01c7a x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -4554,19 +4562,19 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/270eb2b5-8f9c-412e-8250-2bc9863e8b84?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/7105cd19-45b5-4a7e-8e4f-12155844b4ce?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"status\": \"Succeeded\"\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '29' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:25 GMT + - Fri, 06 Mar 2020 02:15:56 GMT expires: - '-1' pragma: @@ -4583,7 +4591,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 3674cf56-8ec1-4b4a-9fb8-089a2ee7f919 + - 19316f7b-349e-496e-8f19-7d0faca3536f status: code: 200 message: OK @@ -4605,19 +4613,37 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/270eb2b5-8f9c-412e-8250-2bc9863e8b84?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2019-11-01 response: body: - string: "{\r\n \"status\": \"InProgress\"\r\n}" + string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n + \ \"etag\": \"W/\\\"08092c5d-fb2d-4418-b912-8169cf22f0ac\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"177495bd-69d3-40c9-b594-d15c89673300\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"cli-pec-000008\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008\",\r\n + \ \"etag\": \"W/\\\"08092c5d-fb2d-4418-b912-8169cf22f0ac\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"postgresqlServer\"\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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.820d4b54-c380-4a4e-9eda-cfa061dd2bc3\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '30' + - '2354' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:36 GMT + - Fri, 06 Mar 2020 02:15:56 GMT + etag: + - W/"08092c5d-fb2d-4418-b912-8169cf22f0ac" expires: - '-1' pragma: @@ -4634,7 +4660,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6329b970-2201-452f-9031-841f8c9c684d + - 3acb79cb-f6ff-4a6a-8a12-39036d88683f status: code: 200 message: OK @@ -4642,40 +4668,37 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint create + - rest Connection: - keep-alive ParameterSetName: - - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id - --group-ids + - --method --uri User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + - AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/270eb2b5-8f9c-412e-8250-2bc9863e8b84?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002?api-version=2017-12-01 response: body: - string: "{\r\n \"status\": \"Succeeded\"\r\n}" + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:52.237+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' headers: cache-control: - no-cache content-length: - - '29' + - '1915' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:46 GMT + - Fri, 06 Mar 2020 02:15:57 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -4684,8 +4707,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - e9b0ad55-154c-48ba-8fe4-6b82c17a4e1a status: code: 200 message: OK @@ -4697,54 +4718,36 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - network private-endpoint create + - postgres server private-endpoint-connection show Connection: - keep-alive ParameterSetName: - - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id - --group-ids + - --server-name -g --name User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005?api-version=2019-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d?api-version=2018-06-01 response: body: - string: "{\r\n \"name\": \"cli-pe-000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005\",\r\n - \ \"etag\": \"W/\\\"96ec7acb-b103-4d0a-a163-97669f8498d5\\\"\",\r\n \"type\": - \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": - \"7ed7017d-6b20-4103-8f1a-df36815913d6\",\r\n \"privateLinkServiceConnections\": - [\r\n {\r\n \"name\": \"cli-pec-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006\",\r\n - \ \"etag\": \"W/\\\"96ec7acb-b103-4d0a-a163-97669f8498d5\\\"\",\r\n - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002\",\r\n - \ \"groupIds\": [\r\n \"postgresqlServer\"\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/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000005.nic.f41dd161-3e13-40cc-9322-6138c3b59cf2\"\r\n - \ }\r\n ]\r\n }\r\n}" + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d","name":"cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' headers: cache-control: - no-cache content-length: - - '2349' + - '940' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:46 GMT - etag: - - W/"96ec7acb-b103-4d0a-a163-97669f8498d5" + - Fri, 06 Mar 2020 02:15:57 GMT expires: - '-1' pragma: - no-cache server: - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains transfer-encoding: @@ -4753,8 +4756,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-arm-service-request-id: - - be2b6ba4-6b3f-43de-b977-3dee43105f9a status: code: 200 message: OK @@ -4762,31 +4763,34 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - rest + - postgres server private-endpoint-connection approve Connection: - keep-alive ParameterSetName: - - --method --uri + - --server-name -g --name --description User-Agent: - - AZURECLI/2.1.0 + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d?api-version=2018-06-01 response: body: - string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLSEnforcementDisabled","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-04T18:14:32.347+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Enabled"},"location":"eastus","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d","name":"cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' headers: cache-control: - no-cache content-length: - - '1893' + - '940' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:47 GMT + - Fri, 06 Mar 2020 02:15:57 GMT expires: - '-1' pragma: @@ -4805,37 +4809,43 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - postgres server private-endpoint-connection show + - postgres server private-endpoint-connection approve Connection: - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b?api-version=2018-06-01 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b","name":"cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private + Endpoint Connection Status is not Pending"}}' headers: cache-control: - no-cache content-length: - - '940' + - '124' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:48 GMT + - Fri, 06 Mar 2020 02:15:58 GMT expires: - '-1' pragma: @@ -4844,15 +4854,13 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' status: - code: 200 - message: OK + code: 400 + message: Bad Request - request: body: null headers: @@ -4861,21 +4869,21 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - postgres server private-endpoint-connection approve + - postgres server private-endpoint-connection reject Connection: - keep-alive ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b","name":"cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000008"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d","name":"cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' headers: cache-control: - no-cache @@ -4884,7 +4892,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:49 GMT + - Fri, 06 Mar 2020 02:15:59 GMT expires: - '-1' pragma: @@ -4903,29 +4911,30 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - postgres server private-endpoint-connection approve + - postgres server private-endpoint-connection reject Connection: - keep-alive Content-Length: - - '2' + - '113' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - --server-name -g --name + - --server-name -g --name --description User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d?api-version=2018-06-01 response: body: string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private @@ -4938,7 +4947,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:49 GMT + - Fri, 06 Mar 2020 02:15:59 GMT expires: - '-1' pragma: @@ -4962,30 +4971,81 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - postgres server private-endpoint-connection reject + - postgres server private-endpoint-connection delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --server-name -g --name + - --id User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-af5637d2-b160-4b5c-8c81-8ef5389a068d?api-version=2018-06-01 + response: + body: + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:16:00.357Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/9f0ef617-6e97-49d4-bd62-9ee0c64d4b1c?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16:01 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionOperationResults/9f0ef617-6e97-49d4-bd62-9ee0c64d4b1c?api-version=2018-06-01 + 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 +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection delete + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/9f0ef617-6e97-49d4-bd62-9ee0c64d4b1c?api-version=2018-06-01 response: body: - string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000005/privateLinkServiceConnections/cli-pec-000006"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-approved","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b","name":"cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + string: '{"name":"9f0ef617-6e97-49d4-bd62-9ee0c64d4b1c","status":"Succeeded","startTime":"2020-03-06T02:16:00.357Z"}' headers: cache-control: - no-cache content-length: - - '940' + - '107' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:50 GMT + - Fri, 06 Mar 2020 02:16:16 GMT expires: - '-1' pragma: @@ -5004,54 +5064,1498 @@ interactions: code: 200 message: OK - request: - body: '{}' + body: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002", + "groupIds": ["postgresqlServer"]}, "name": "cli-pec-000009"}]}}\''''' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - postgres server private-endpoint-connection reject + - network private-endpoint create Connection: - keep-alive Content-Length: - - '2' + - '716' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - --server-name -g --name + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request User-Agent: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 - azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2019-11-01 response: body: - string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private - Endpoint Connection Status is not Pending"}}' + string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n + \ \"etag\": \"W/\\\"c5335edc-ebf1-499d-bcf6-ff1636c48830\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"f4f06a5e-a59a-4e37-878a-e43b11708765\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009\",\r\n + \ \"etag\": \"W/\\\"c5335edc-ebf1-499d-bcf6-ff1636c48830\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"postgresqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.11a37984-1692-4189-81ee-dc395a8a5ecc\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e19fded8-d966-42dd-916f-77936447e878?api-version=2019-11-01 cache-control: - no-cache content-length: - - '124' + - '2368' content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:51 GMT + - Fri, 06 Mar 2020 02:16:21 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: + - 882da96e-6e63-4eb4-9bdf-a5dceb83d110 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e19fded8-d966-42dd-916f-77936447e878?api-version=2019-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - dcf5bcf5-f0d2-43a1-b918-c6bfb6f500a9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e19fded8-d966-42dd-916f-77936447e878?api-version=2019-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16:41 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: + - a4ad8d48-71ef-4861-9fb4-8d2713064d0b + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/e19fded8-d966-42dd-916f-77936447e878?api-version=2019-11-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, 06 Mar 2020 02:16:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - bdcb812b-f9d5-4c5f-a647-9ccf6fcbc347 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000006\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006\",\r\n + \ \"etag\": \"W/\\\"f29867e3-8f20-470c-bf42-6211e9a470d3\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"f4f06a5e-a59a-4e37-878a-e43b11708765\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000009\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/manualPrivateLinkServiceConnections/cli-pec-000009\",\r\n + \ \"etag\": \"W/\\\"f29867e3-8f20-470c-bf42-6211e9a470d3\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"postgresqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000006.nic.11a37984-1692-4189-81ee-dc395a8a5ecc\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2352' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16:52 GMT + etag: + - W/"f29867e3-8f20-470c-bf42-6211e9a470d3" + 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: + - 7407369d-3087-4af7-bd7b-10df901fa6f7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002?api-version=2017-12-01 + response: + body: + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:52.237+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '1901' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","name":"cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '926' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16: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: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","name":"cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '926' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16: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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71?api-version=2018-06-01 + response: + body: + string: '{"operation":"ApproveElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:16:56.02Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/0428693d-2b21-46c2-a33a-d4ba12d9876b?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:16:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionOperationResults/0428693d-2b21-46c2-a33a-d4ba12d9876b?api-version=2018-06-01 + 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: + - postgres server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/0428693d-2b21-46c2-a33a-d4ba12d9876b?api-version=2018-06-01 + response: + body: + string: '{"name":"0428693d-2b21-46c2-a33a-d4ba12d9876b","status":"Succeeded","startTime":"2020-03-06T02:16:56.02Z"}' + headers: + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:11 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: + - postgres server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","name":"cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '944' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:11 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: + - postgres server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000006/privateLinkServiceConnections/cli-pec-000009"},"privateLinkServiceConnectionState":{"status":"Approved","description":"You + are approved!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","name":"cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '944' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:13 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71?api-version=2018-06-01 + response: + body: + string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private + Endpoint Connection Status is not Pending"}}' + headers: + cache-control: + - no-cache + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:13 GMT + expires: + - '-1' + 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: + - '1197' + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000006-5c473366-4ca8-4fee-a5da-12ba67340d71?api-version=2018-06-01 + response: + body: + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:17:14.74Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/d937786e-ad62-4b37-9dc4-688e73ffeed2?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '96' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:15 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionOperationResults/d937786e-ad62-4b37-9dc4-688e73ffeed2?api-version=2018-06-01 + 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 +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection delete + Connection: + - keep-alive + ParameterSetName: + - --id + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/d937786e-ad62-4b37-9dc4-688e73ffeed2?api-version=2018-06-01 + response: + body: + string: '{"name":"d937786e-ad62-4b37-9dc4-688e73ffeed2","status":"Succeeded","startTime":"2020-03-06T02:17:14.74Z"}' + headers: + cache-control: + - no-cache + content-length: + - '106' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:31 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: 'b''b\''{"location": "eastus2euap", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000003/subnets/cli-subnet-000004"}, + "manualPrivateLinkServiceConnections": [{"properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002", + "groupIds": ["postgresqlServer"]}, "name": "cli-pec-000010"}]}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + Content-Length: + - '716' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007\",\r\n + \ \"etag\": \"W/\\\"e99832f2-338d-44af-b1c5-83492d9728c1\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"26e8f5fb-efc5-4e9d-a5a2-389e7d92dda2\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000010\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010\",\r\n + \ \"etag\": \"W/\\\"e99832f2-338d-44af-b1c5-83492d9728c1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"postgresqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.8a46228c-9fde-44f7-b2e3-c636ae6a6c95\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/05924219-a0cb-4406-afa6-12c39817bb4c?api-version=2019-11-01 + cache-control: + - no-cache + content-length: + - '2368' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:34 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: + - 436212ca-687b-4eeb-849e-445ee204a5d5 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/05924219-a0cb-4406-afa6-12c39817bb4c?api-version=2019-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - c76d7255-413e-46a8-864b-e9cc9a7f0b8e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/05924219-a0cb-4406-afa6-12c39817bb4c?api-version=2019-11-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:17:55 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: + - 5b0e9fe2-be1d-49eb-bfc6-13cfed149902 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/05924219-a0cb-4406-afa6-12c39817bb4c?api-version=2019-11-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, 06 Mar 2020 02:18: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: + - 8d69e21c-09a7-49e4-bfd1-9285c3df53f7 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network private-endpoint create + Connection: + - keep-alive + ParameterSetName: + - -g -n --vnet-name --subnet -l --connection-name --private-connection-resource-id + --group-ids --manual-request + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-network/9.0.0 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007?api-version=2019-11-01 + response: + body: + string: "{\r\n \"name\": \"cli-pe-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007\",\r\n + \ \"etag\": \"W/\\\"bf4bc43c-2b38-4888-acc8-375b1ad7aef4\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"26e8f5fb-efc5-4e9d-a5a2-389e7d92dda2\",\r\n \"privateLinkServiceConnections\": + [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": + \"cli-pec-000010\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/manualPrivateLinkServiceConnections/cli-pec-000010\",\r\n + \ \"etag\": \"W/\\\"bf4bc43c-2b38-4888-acc8-375b1ad7aef4\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002\",\r\n + \ \"groupIds\": [\r\n \"postgresqlServer\"\r\n ],\r\n + \ \"privateLinkServiceConnectionState\": {\r\n \"status\": + \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": + \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/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/clitest.rg000001/providers/Microsoft.Network/networkInterfaces/cli-pe-000007.nic.8a46228c-9fde-44f7-b2e3-c636ae6a6c95\"\r\n + \ }\r\n ]\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2352' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:05 GMT + etag: + - W/"bf4bc43c-2b38-4888-acc8-375b1ad7aef4" + 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: + - 6e3dc715-3701-4213-beb5-1f88a17d59a3 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - rest + Connection: + - keep-alive + ParameterSetName: + - --method --uri + User-Agent: + - AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002?api-version=2017-12-01 + response: + body: + string: '{"sku":{"name":"GP_Gen5_2","tier":"GeneralPurpose","family":"Gen5","capacity":2},"properties":{"administratorLogin":"cloudsa","storageProfile":{"storageMB":5120,"backupRetentionDays":7,"geoRedundantBackup":"Disabled","storageAutogrow":"Enabled"},"version":"9.6","sslEnforcement":"Enabled","minimalTlsVersion":"TLS1_2","userVisibleState":"Ready","fullyQualifiedDomainName":"azuredbclitest000002.postgres.database.azure.com","earliestRestoreDate":"2020-03-06T02:17:52.237+00:00","replicationRole":"None","masterServerId":"","replicaCapacity":5,"byokEnforcement":"Disabled","privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"}}],"infrastructureEncryption":"Disabled","publicNetworkAccess":"Enabled"},"location":"eastus2euap","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002","name":"azuredbclitest000002","type":"Microsoft.DBforPostgreSQL/servers"}' + headers: + cache-control: + - no-cache + content-length: + - '1901' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:06 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: + - postgres server private-endpoint-connection show + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","name":"cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '926' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:07 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: + - postgres server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Pending","description":"","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","name":"cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '926' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:08 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", + "description": "You are rejected!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection reject + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a?api-version=2018-06-01 + response: + body: + string: '{"operation":"RejectElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:18:08.893Z"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/97afa7b3-f162-486b-8c60-ab4d9dbe4965?api-version=2018-06-01 + cache-control: + - no-cache + content-length: + - '99' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:10 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionOperationResults/97afa7b3-f162-486b-8c60-ab4d9dbe4965?api-version=2018-06-01 + 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: + - postgres server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/97afa7b3-f162-486b-8c60-ab4d9dbe4965?api-version=2018-06-01 + response: + body: + string: '{"name":"97afa7b3-f162-486b-8c60-ab4d9dbe4965","status":"Succeeded","startTime":"2020-03-06T02:18:08.893Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:25 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: + - postgres server private-endpoint-connection reject + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","name":"cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '944' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:25 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: + - postgres server private-endpoint-connection approve + Connection: + - keep-alive + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a?api-version=2018-06-01 + response: + body: + string: '{"properties":{"privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/privateEndpoints/cli-pe-000007/privateLinkServiceConnections/cli-pec-000010"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"You + are rejected!","actionsRequired":"None"},"provisioningState":"Ready"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","name":"cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a","type":"Microsoft.DBforPostgreSQL/servers/privateEndpointConnections"}' + headers: + cache-control: + - no-cache + content-length: + - '944' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:26 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: '{"properties": {"privateLinkServiceConnectionState": {"status": "Approved", + "description": "You are approved!"}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - postgres server private-endpoint-connection approve + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --server-name -g --name --description + User-Agent: + - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 + azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a?api-version=2018-06-01 + response: + body: + string: '{"error":{"code":"PrivateEndpointConnectionStatusNotPending","message":"Private + Endpoint Connection Status is not Pending"}}' + headers: + cache-control: + - no-cache + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 06 Mar 2020 02:18:26 GMT + expires: + - '-1' + 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: + - '1198' status: code: 400 message: Bad Request @@ -5076,13 +6580,13 @@ interactions: accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000005-a1eee105-237e-4a6d-903f-6fce184ef25b?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/servers/azuredbclitest000002/privateEndpointConnections/cli-pe-000007-f5b4f83a-4591-46e2-8c4a-7b1dc290b03a?api-version=2018-06-01 response: body: - string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-04T18:12:52.067Z"}' + string: '{"operation":"DropElasticServerPrivateEndpointConnection","startTime":"2020-03-06T02:18:28.087Z"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/privateEndpointConnectionAzureAsyncOperation/a7a4792a-efe9-4f6b-ac90-2b85ef9ce806?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/a896face-2753-48f8-a742-56ea2f7e4ddc?api-version=2018-06-01 cache-control: - no-cache content-length: @@ -5090,11 +6594,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:12:52 GMT + - Fri, 06 Mar 2020 02:18:28 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/privateEndpointConnectionOperationResults/a7a4792a-efe9-4f6b-ac90-2b85ef9ce806?api-version=2018-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionOperationResults/a896face-2753-48f8-a742-56ea2f7e4ddc?api-version=2018-06-01 pragma: - no-cache server: @@ -5125,10 +6629,10 @@ interactions: - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.11 msrest_azure/0.6.2 azure-mgmt-rdbms/2017-12-01 Azure-SDK-For-Python AZURECLI/2.1.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus/privateEndpointConnectionAzureAsyncOperation/a7a4792a-efe9-4f6b-ac90-2b85ef9ce806?api-version=2018-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.DBforPostgreSQL/locations/eastus2euap/privateEndpointConnectionAzureAsyncOperation/a896face-2753-48f8-a742-56ea2f7e4ddc?api-version=2018-06-01 response: body: - string: '{"name":"a7a4792a-efe9-4f6b-ac90-2b85ef9ce806","status":"Succeeded","startTime":"2020-03-04T18:12:52.067Z"}' + string: '{"name":"a896face-2753-48f8-a742-56ea2f7e4ddc","status":"Succeeded","startTime":"2020-03-06T02:18:28.087Z"}' headers: cache-control: - no-cache @@ -5137,7 +6641,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 04 Mar 2020 18:13:08 GMT + - Fri, 06 Mar 2020 02:18:44 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_commands.py b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_commands.py index 81badba4f18..6fd1bef9687 100644 --- a/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_commands.py +++ b/src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_commands.py @@ -31,7 +31,7 @@ class ServerPreparer(AbstractPreparer, SingleValueReplacer): # pylint: disable=too-many-instance-attributes def __init__(self, engine_type='mysql', engine_parameter_name='database_engine', - name_prefix=SERVER_NAME_PREFIX, parameter_name='server', location='eastus', + name_prefix=SERVER_NAME_PREFIX, parameter_name='server', location='eastus2euap', admin_user='cloudsa', admin_password='SecretPassword123', resource_group_parameter_name='resource_group', skip_delete=True, sku_name='GP_Gen5_2'): @@ -369,7 +369,7 @@ def _test_firewall_mgmt(self, resource_group, server, database_engine): def _test_vnet_firewall_mgmt(self, resource_group, server, database_engine): vnet_firewall_rule_1 = 'vnet_rule1' vnet_firewall_rule_2 = 'vnet_rule2' - location = 'eastus' + location = 'eastus2euap' vnet_name = 'clitestvnet' ignore_missing_endpoint = 'true' address_prefix = '10.0.0.0/16' @@ -516,13 +516,17 @@ def _test_private_link_resource(self, resource_group, server, database_engine, g self.assertEqual(result[0]['properties']['groupId'], group_id) def _test_private_endpoint_connection(self, resource_group, server, database_engine): - loc = 'eastus' + loc = 'eastus2euap' 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) - - # Prepare network + pe_name_auto = self.create_random_name('cli-pe-', 24) + pe_name_manual_approve = self.create_random_name('cli-pe-', 24) + pe_name_manual_reject = self.create_random_name('cli-pe-', 24) + pe_connection_name_auto = self.create_random_name('cli-pec-', 24) + pe_connection_name_manual_approve = self.create_random_name('cli-pec-', 24) + pe_connection_name_manual_reject = self.create_random_name('cli-pec-', 24) + + # Prepare network and disable network policies self.cmd('network vnet create -n {} -g {} -l {} --subnet-name {}' .format(vnet, resource_group, loc, subnet), checks=self.check('length(newVNet.subnets)', 1)) @@ -539,20 +543,25 @@ def _test_private_endpoint_connection(self, resource_group, server, database_eng .format(database_engine, resource_group, server)).get_output_in_json() group_id = result[0]['properties']['groupId'] + approval_description = 'You are approved!' + rejection_description = 'You are rejected!' + api_version = '2018-06-01' if database_engine == 'mariadb' else '2017-12-01' + expectedError = 'Private Endpoint Connection Status is not Pending' + + # Testing Auto-Approval workflow # Create a private endpoint connection private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' '--connection-name {} --private-connection-resource-id {} ' '--group-ids {}' - .format(resource_group, pe, vnet, subnet, loc, pe_connection, server_id, group_id)).get_output_in_json() - self.assertEqual(private_endpoint['name'], pe) - self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], pe_connection) + .format(resource_group, pe_name_auto, vnet, subnet, loc, pe_connection_name_auto, server_id, group_id)).get_output_in_json() + self.assertEqual(private_endpoint['name'], pe_name_auto) + self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['name'], pe_connection_name_auto) self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Approved') self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') self.assertEqual(private_endpoint['privateLinkServiceConnections'][0]['groupIds'][0], group_id) # Get Private Endpoint Connection Name and Id - api_version = '2018-06-01' if database_engine == 'mariadb' else '2017-12-01' - result = self.cmd('az rest --method get --uri https://management.azure.com{}?api-version={}' + result = self.cmd('rest --method get --uri https://management.azure.com{}?api-version={}' .format(server_id, api_version, server)).get_output_in_json() self.assertEqual(len(result['properties']['privateEndpointConnections']), 1) self.assertEqual(result['properties']['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], @@ -563,15 +572,109 @@ def _test_private_endpoint_connection(self, resource_group, server, database_eng self.cmd('{} server private-endpoint-connection show --server-name {} -g {} --name {}' .format(database_engine, server, resource_group, server_pec_name), - checks=self.check('id', server_pec_id)) + checks=[ + self.check('id', server_pec_id), + self.check('privateLinkServiceConnectionState.status', 'Approved'), + self.check('provisioningState', 'Ready') + ]) + + with self.assertRaisesRegexp(CloudError, expectedError): + self.cmd('{} server private-endpoint-connection approve --server-name {} -g {} --name {} --description "{}"' + .format(database_engine, server, resource_group, server_pec_name, approval_description)) + + with self.assertRaisesRegexp(CloudError, expectedError): + self.cmd('{} server private-endpoint-connection reject --server-name {} -g {} --name {} --description "{}"' + .format(database_engine, server, resource_group, server_pec_name, rejection_description)) + + self.cmd('{} server private-endpoint-connection delete --id {}' + .format(database_engine, server_pec_id)) + + # Testing Manual-Approval workflow [Approval] + # Create a private endpoint connection + private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' + '--connection-name {} --private-connection-resource-id {} ' + '--group-ids {} --manual-request' + .format(resource_group, pe_name_manual_approve, vnet, subnet, loc, pe_connection_name_manual_approve, server_id, group_id)).get_output_in_json() + self.assertEqual(private_endpoint['name'], pe_name_manual_approve) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['name'], pe_connection_name_manual_approve) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Pending') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['groupIds'][0], group_id) + + # Get Private Endpoint Connection Name and Id + result = self.cmd('rest --method get --uri https://management.azure.com{}?api-version={}' + .format(server_id, api_version, server)).get_output_in_json() + self.assertEqual(len(result['properties']['privateEndpointConnections']), 1) + self.assertEqual(result['properties']['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], + 'Pending') + server_pec_id = result['properties']['privateEndpointConnections'][0]['id'] + result = parse_proxy_resource_id(server_pec_id) + server_pec_name = result['child_name_1'] + + self.cmd('{} server private-endpoint-connection show --server-name {} -g {} --name {}' + .format(database_engine, server, resource_group, server_pec_name), + checks=[ + self.check('id', server_pec_id), + self.check('privateLinkServiceConnectionState.status', 'Pending'), + self.check('provisioningState', 'Ready') + ]) + + self.cmd('{} server private-endpoint-connection approve --server-name {} -g {} --name {} --description "{}"' + .format(database_engine, server, resource_group, server_pec_name, approval_description), + checks=[ + self.check('privateLinkServiceConnectionState.status', 'Approved'), + self.check('privateLinkServiceConnectionState.description', approval_description), + self.check('provisioningState', 'Ready') + ]) - with self.assertRaisesRegexp(CloudError, 'Private Endpoint Connection Status is not Pending'): - self.cmd('{} server private-endpoint-connection approve --server-name {} -g {} --name {}' - .format(database_engine, server, resource_group, server_pec_name)) + with self.assertRaisesRegexp(CloudError, expectedError): + self.cmd('{} server private-endpoint-connection reject --server-name {} -g {} --name {} --description "{}"' + .format(database_engine, server, resource_group, server_pec_name, rejection_description)) + + self.cmd('{} server private-endpoint-connection delete --id {}' + .format(database_engine, server_pec_id)) + + # Testing Manual-Approval workflow [Rejection] + # Create a private endpoint connection + private_endpoint = self.cmd('network private-endpoint create -g {} -n {} --vnet-name {} --subnet {} -l {} ' + '--connection-name {} --private-connection-resource-id {} ' + '--group-ids {} --manual-request true' + .format(resource_group, pe_name_manual_reject, vnet, subnet, loc, pe_connection_name_manual_reject, server_id, group_id)).get_output_in_json() + self.assertEqual(private_endpoint['name'], pe_name_manual_reject) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['name'], pe_connection_name_manual_reject) + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['privateLinkServiceConnectionState']['status'], 'Pending') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['provisioningState'], 'Succeeded') + self.assertEqual(private_endpoint['manualPrivateLinkServiceConnections'][0]['groupIds'][0], group_id) + + # Get Private Endpoint Connection Name and Id + result = self.cmd('rest --method get --uri https://management.azure.com{}?api-version={}' + .format(server_id, api_version, server)).get_output_in_json() + self.assertEqual(len(result['properties']['privateEndpointConnections']), 1) + self.assertEqual(result['properties']['privateEndpointConnections'][0]['properties']['privateLinkServiceConnectionState']['status'], + 'Pending') + server_pec_id = result['properties']['privateEndpointConnections'][0]['id'] + result = parse_proxy_resource_id(server_pec_id) + server_pec_name = result['child_name_1'] + + self.cmd('{} server private-endpoint-connection show --server-name {} -g {} --name {}' + .format(database_engine, server, resource_group, server_pec_name), + checks=[ + self.check('id', server_pec_id), + self.check('privateLinkServiceConnectionState.status', 'Pending'), + self.check('provisioningState', 'Ready') + ]) + + self.cmd('{} server private-endpoint-connection reject --server-name {} -g {} --name {} --description "{}"' + .format(database_engine, server, resource_group, server_pec_name, rejection_description), + checks=[ + self.check('privateLinkServiceConnectionState.status', 'Rejected'), + self.check('privateLinkServiceConnectionState.description', rejection_description), + self.check('provisioningState', 'Ready') + ]) - with self.assertRaisesRegexp(CloudError, 'Private Endpoint Connection Status is not Pending'): - self.cmd('{} server private-endpoint-connection reject --server-name {} -g {} --name {}' - .format(database_engine, server, resource_group, server_pec_name)) + with self.assertRaisesRegexp(CloudError, expectedError): + self.cmd('{} server private-endpoint-connection approve --server-name {} -g {} --name {} --description "{}"' + .format(database_engine, server, resource_group, server_pec_name, approval_description)) self.cmd('{} server private-endpoint-connection delete --id {}' .format(database_engine, server_pec_id))