diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst index a8486c71b39..a7a8ca0a5ae 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -147,6 +147,11 @@ Release History * Added "--read-scale" and "--read-replicas" parameters to sql db create and update commands, to support read scale management. +**SQL VM** + +* New package upgrade 0.5. +* Add new --license-type supporting Disaster Recovery Benefit (DR). + **Storage** * GA Release Large File Shares property for storage account create and update command @@ -174,8 +179,8 @@ Release History **AppConfig** * Add support for using ":" for `as az appconfig kv import` separator -* Fix issue for listing key values with multiple labels including null label. -* Update management plane sdk, azure-mgmt-appconfiguration, to version 0.3.0. +* Fix issue for listing key values with multiple labels including null label. +* Update management plane sdk, azure-mgmt-appconfiguration, to version 0.3.0. **AppService** diff --git a/src/azure-cli/azure/cli/command_modules/sqlvm/_help.py b/src/azure-cli/azure/cli/command_modules/sqlvm/_help.py index b1c88e70b83..93504594d5c 100644 --- a/src/azure-cli/azure/cli/command_modules/sqlvm/_help.py +++ b/src/azure-cli/azure/cli/command_modules/sqlvm/_help.py @@ -31,6 +31,9 @@ - name: Create a SQL virtual machine with AHUB billing tag. text: > az sql vm create -n sqlvm -g myresourcegroup -l eastus --license-type AHUB + - name: Create a SQL virtual machine with DR billing tag. + text: > + az sql vm create -n sqlvm -g myresourcegroup -l eastus --license-type DR - name: Create a SQL virtual machine with specific sku type and license type. text: > az sql vm create -n sqlvm -g myresourcegroup -l eastus --image-sku Enterprise --license-type AHUB @@ -143,4 +146,7 @@ - name: Update a SQL virtual machine billing tag to AHUB. text: > az sql vm update -n sqlvm -g myresourcegroup --license-type AHUB + - name: Update a SQL virtual machine billing tag to DR. + text: > + az sql vm update -n sqlvm -g myresourcegroup --license-type DR """ diff --git a/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_update_license_and_sku.yaml b/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_update_license_and_sku.yaml index 333443e7d4e..46dc6ccacc2 100644 --- a/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_update_license_and_sku.yaml +++ b/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_update_license_and_sku.yaml @@ -13,16 +13,16 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/8.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/MicrosoftSQLServer/artifacttypes/vmimage/offers/SQL2017-WS2016/skus/Enterprise/versions?$top=1&$orderby=name%20desc&api-version=2019-07-01 response: body: - string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"14.1.190910\",\r\n - \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/MicrosoftSQLServer/ArtifactTypes/VMImage/Offers/SQL2017-WS2016/Skus/Enterprise/Versions/14.1.190910\"\r\n + string: "[\r\n {\r\n \"location\": \"westus\",\r\n \"name\": \"14.1.191008\",\r\n + \ \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/MicrosoftSQLServer/ArtifactTypes/VMImage/Offers/SQL2017-WS2016/Skus/Enterprise/Versions/14.1.191008\"\r\n \ }\r\n]" headers: cache-control: @@ -32,7 +32,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:51:34 GMT + - Thu, 12 Dec 2019 19:21:58 GMT expires: - '-1' pragma: @@ -65,12 +65,12 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/8.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/MicrosoftSQLServer/artifacttypes/vmimage/offers/SQL2017-WS2016/skus/Enterprise/versions/14.1.190910?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/publishers/MicrosoftSQLServer/artifacttypes/vmimage/offers/SQL2017-WS2016/skus/Enterprise/versions/14.1.191008?api-version=2019-07-01 response: body: string: "{\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"replicaType\": @@ -79,7 +79,7 @@ interactions: false\r\n },\r\n \"osDiskImage\": {\r\n \"operatingSystem\": \"Windows\",\r\n \ \"sizeInGb\": 128,\r\n \"sizeInBytes\": 136367309312\r\n },\r\n \ \"dataDiskImages\": []\r\n },\r\n \"location\": \"westus\",\r\n \"name\": - \"14.1.190910\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/MicrosoftSQLServer/ArtifactTypes/VMImage/Offers/SQL2017-WS2016/Skus/Enterprise/Versions/14.1.190910\"\r\n}" + \"14.1.191008\",\r\n \"id\": \"/Subscriptions/00000000-0000-0000-0000-000000000000/Providers/Microsoft.Compute/Locations/westus/Publishers/MicrosoftSQLServer/ArtifactTypes/VMImage/Offers/SQL2017-WS2016/Skus/Enterprise/Versions/14.1.191008\"\r\n}" headers: cache-control: - no-cache @@ -88,7 +88,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:51:37 GMT + - Thu, 12 Dec 2019 19:21:59 GMT expires: - '-1' pragma: @@ -121,8 +121,8 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET @@ -138,7 +138,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:51:38 GMT + - Thu, 12 Dec 2019 19:21:59 GMT expires: - '-1' pragma: @@ -166,8 +166,8 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/8.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET @@ -176,12 +176,12 @@ interactions: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"Standard_B1ls\",\r\n \ \"numberOfCores\": 1,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": - 1024,\r\n \"memoryInMB\": 512,\r\n \"maxDataDiskCount\": 2\r\n },\r\n + 4096,\r\n \"memoryInMB\": 512,\r\n \"maxDataDiskCount\": 2\r\n },\r\n \ {\r\n \"name\": \"Standard_B1ms\",\r\n \"numberOfCores\": 1,\r\n \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 4096,\r\n \ \"memoryInMB\": 2048,\r\n \"maxDataDiskCount\": 2\r\n },\r\n \ {\r\n \"name\": \"Standard_B1s\",\r\n \"numberOfCores\": 1,\r\n - \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 2048,\r\n + \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 4096,\r\n \ \"memoryInMB\": 1024,\r\n \"maxDataDiskCount\": 2\r\n },\r\n \ {\r\n \"name\": \"Standard_B2ms\",\r\n \"numberOfCores\": 2,\r\n \ \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 16384,\r\n @@ -449,7 +449,7 @@ interactions: 204800,\r\n \"memoryInMB\": 32768,\r\n \"maxDataDiskCount\": 16\r\n \ },\r\n {\r\n \"name\": \"Standard_D16_v3\",\r\n \"numberOfCores\": 16,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": - 409600,\r\n \"memoryInMB\": 65636,\r\n \"maxDataDiskCount\": 32\r\n + 409600,\r\n \"memoryInMB\": 65536,\r\n \"maxDataDiskCount\": 32\r\n \ },\r\n {\r\n \"name\": \"Standard_D32_v3\",\r\n \"numberOfCores\": 32,\r\n \"osDiskSizeInMB\": 1047552,\r\n \"resourceDiskSizeInMB\": 819200,\r\n \"memoryInMB\": 131072,\r\n \"maxDataDiskCount\": 32\r\n @@ -747,7 +747,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:51:40 GMT + - Thu, 12 Dec 2019 19:21:59 GMT expires: - '-1' pragma: @@ -818,26 +818,26 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/vm_deploy_aG4ZT2wTElWTfXWDKI8A2JnHdaUukkEc","name":"vm_deploy_aG4ZT2wTElWTfXWDKI8A2JnHdaUukkEc","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8379006142237063745","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-10-21T15:51:45.6198153Z","duration":"PT1.4180913S","correlationId":"bcb87a1e-aa15-494f-b285-9657ea281fe9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/virtualNetworks/clisqlvm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"clisqlvm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkSecurityGroups/clisqlvm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"clisqlvm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/publicIPAddresses/clisqlvm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"clisqlvm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"clisqlvm000002"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/vm_deploy_9z74btKWOzrip1gJxxurXa6VkxhqMbNE","name":"vm_deploy_9z74btKWOzrip1gJxxurXa6VkxhqMbNE","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17822308212418825291","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-12-12T19:22:01.2132756Z","duration":"PT0.8480623S","correlationId":"5e2d3d66-7253-437d-86ba-0eca68a17db4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/virtualNetworks/clisqlvm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"clisqlvm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkSecurityGroups/clisqlvm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"clisqlvm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/publicIPAddresses/clisqlvm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"clisqlvm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"clisqlvm000002"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/vm_deploy_aG4ZT2wTElWTfXWDKI8A2JnHdaUukkEc/operationStatuses/08586299337812759193?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/vm_deploy_9z74btKWOzrip1gJxxurXa6VkxhqMbNE/operationStatuses/08586254283651124175?api-version=2019-07-01 cache-control: - no-cache content-length: - - '2925' + - '2926' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:51:45 GMT + - Thu, 12 Dec 2019 19:22:00 GMT expires: - '-1' pragma: @@ -847,7 +847,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1199' status: code: 201 message: Created @@ -865,10 +865,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -880,7 +880,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:52:19 GMT + - Thu, 12 Dec 2019 19:22:31 GMT expires: - '-1' pragma: @@ -908,10 +908,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -923,7 +923,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:52:50 GMT + - Thu, 12 Dec 2019 19:23:01 GMT expires: - '-1' pragma: @@ -951,10 +951,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -966,7 +966,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:53:21 GMT + - Thu, 12 Dec 2019 19:23:31 GMT expires: - '-1' pragma: @@ -994,10 +994,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1009,7 +1009,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:53:52 GMT + - Thu, 12 Dec 2019 19:24:01 GMT expires: - '-1' pragma: @@ -1037,10 +1037,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1052,7 +1052,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:54:24 GMT + - Thu, 12 Dec 2019 19:24:31 GMT expires: - '-1' pragma: @@ -1080,10 +1080,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1095,7 +1095,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:54:55 GMT + - Thu, 12 Dec 2019 19:25:01 GMT expires: - '-1' pragma: @@ -1123,10 +1123,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1138,7 +1138,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:55:27 GMT + - Thu, 12 Dec 2019 19:25:31 GMT expires: - '-1' pragma: @@ -1166,10 +1166,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -1181,7 +1181,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:55:57 GMT + - Thu, 12 Dec 2019 19:26:02 GMT expires: - '-1' pragma: @@ -1209,10 +1209,10 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586299337812759193?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586254283651124175?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -1224,7 +1224,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:56:28 GMT + - Thu, 12 Dec 2019 19:26:32 GMT expires: - '-1' pragma: @@ -1252,22 +1252,22 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/4.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/vm_deploy_aG4ZT2wTElWTfXWDKI8A2JnHdaUukkEc","name":"vm_deploy_aG4ZT2wTElWTfXWDKI8A2JnHdaUukkEc","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8379006142237063745","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-10-21T15:56:23.6850406Z","duration":"PT4M39.4833166S","correlationId":"bcb87a1e-aa15-494f-b285-9657ea281fe9","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/virtualNetworks/clisqlvm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"clisqlvm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkSecurityGroups/clisqlvm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"clisqlvm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/publicIPAddresses/clisqlvm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"clisqlvm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"clisqlvm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkSecurityGroups/clisqlvm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/publicIPAddresses/clisqlvm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/virtualNetworks/clisqlvm000002VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Resources/deployments/vm_deploy_9z74btKWOzrip1gJxxurXa6VkxhqMbNE","name":"vm_deploy_9z74btKWOzrip1gJxxurXa6VkxhqMbNE","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17822308212418825291","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-12-12T19:26:25.6509897Z","duration":"PT4M25.2857764S","correlationId":"5e2d3d66-7253-437d-86ba-0eca68a17db4","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"networkSecurityGroups","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"networkInterfaces","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachines","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/virtualNetworks/clisqlvm000002VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"clisqlvm000002VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkSecurityGroups/clisqlvm000002NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"clisqlvm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/publicIPAddresses/clisqlvm000002PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"clisqlvm000002PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"clisqlvm000002VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"clisqlvm000002"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkSecurityGroups/clisqlvm000002NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/publicIPAddresses/clisqlvm000002PublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/virtualNetworks/clisqlvm000002VNET"}]}}' headers: cache-control: - no-cache content-length: - - '4052' + - '4053' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:56:30 GMT + - Thu, 12 Dec 2019 19:26:32 GMT expires: - '-1' pragma: @@ -1295,8 +1295,8 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/8.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET @@ -1305,15 +1305,16 @@ interactions: body: string: "{\r\n \"name\": \"clisqlvm000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"3f230604-0d42-405c-beec-87a15f1edb60\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"f65ab29b-ca6a-4bec-b562-39f1c73f25a6\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS2_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"MicrosoftSQLServer\",\r\n \"offer\": \"SQL2017-WS2016\",\r\n \"sku\": - \"Enterprise\",\r\n \"version\": \"latest\"\r\n },\r\n \"osDisk\": - {\r\n \"osType\": \"Windows\",\r\n \"name\": \"clisqlvm000002_OsDisk_1_3390fd52b91c42409d50d3afd162d4d2\",\r\n + \"Enterprise\",\r\n \"version\": \"latest\",\r\n \"exactVersion\": + \"14.1.191008\"\r\n },\r\n \"osDisk\": {\r\n \"osType\": + \"Windows\",\r\n \"name\": \"clisqlvm000002_OsDisk_1_88e5f0e4ab094f22a492a71028ec2648\",\r\n \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/disks/clisqlvm000002_OsDisk_1_3390fd52b91c42409d50d3afd162d4d2\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/disks/clisqlvm000002_OsDisk_1_88e5f0e4ab094f22a492a71028ec2648\"\r\n \ },\r\n \"diskSizeGB\": 127\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"clisqlvm000002\",\r\n \ \"adminUsername\": \"admin123\",\r\n \"windowsConfiguration\": @@ -1326,16 +1327,16 @@ interactions: \ {\r\n \"code\": \"ProvisioningState/Unavailable\",\r\n \ \"level\": \"Warning\",\r\n \"displayStatus\": \"Not Ready\",\r\n \"message\": \"VM status blob is found but not yet - populated.\",\r\n \"time\": \"2019-10-21T15:56:33+00:00\"\r\n }\r\n + populated.\",\r\n \"time\": \"2019-12-12T19:26:34+00:00\"\r\n }\r\n \ ]\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": - \"clisqlvm000002_OsDisk_1_3390fd52b91c42409d50d3afd162d4d2\",\r\n \"statuses\": + \"clisqlvm000002_OsDisk_1_88e5f0e4ab094f22a492a71028ec2648\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-10-21T15:53:55.3758921+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-12T19:24:15.25061+00:00\"\r\n \ }\r\n ]\r\n }\r\n ],\r\n \"hyperVGeneration\": \"V1\",\r\n \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2019-10-21T15:56:16.2199988+00:00\"\r\n + succeeded\",\r\n \"time\": \"2019-12-12T19:26:24.3913439+00:00\"\r\n \ },\r\n {\r\n \"code\": \"PowerState/running\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"VM running\"\r\n \ }\r\n ]\r\n }\r\n }\r\n}" @@ -1343,11 +1344,11 @@ interactions: cache-control: - no-cache content-length: - - '3143' + - '3181' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:56:32 GMT + - Thu, 12 Dec 2019 19:26:33 GMT expires: - '-1' pragma: @@ -1364,7 +1365,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3991,Microsoft.Compute/LowCostGet30Min;31855 + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31961 status: code: 200 message: OK @@ -1382,8 +1383,8 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET @@ -1391,12 +1392,12 @@ interactions: response: body: string: "{\r\n \"name\": \"clisqlvm000002VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic\",\r\n - \ \"etag\": \"W/\\\"b662cd4e-2c8c-44d8-b858-8becbccc189d\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"310b5d35-a102-4a32-bd8b-d245c84eb811\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"b95997e9-3c9c-48d1-bf28-534c90d56bed\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"c0fc2122-897d-4ab4-b88d-2cefdc00f7d4\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigclisqlvm000002\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic/ipConfigurations/ipconfigclisqlvm000002\",\r\n - \ \"etag\": \"W/\\\"b662cd4e-2c8c-44d8-b858-8becbccc189d\\\"\",\r\n + \ \"etag\": \"W/\\\"310b5d35-a102-4a32-bd8b-d245c84eb811\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -1405,8 +1406,8 @@ interactions: \ },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": - \"op4v2obsyice5ixelhgl3biwza.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-30-91-2A\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"dtaw2czizn4elcs1gswf0n5k1f.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-37-EA-18\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkSecurityGroups/clisqlvm000002NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -1420,9 +1421,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:56:35 GMT + - Thu, 12 Dec 2019 19:26:34 GMT etag: - - W/"b662cd4e-2c8c-44d8-b858-8becbccc189d" + - W/"310b5d35-a102-4a32-bd8b-d245c84eb811" expires: - '-1' pragma: @@ -1439,7 +1440,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 67b3accd-c32c-4589-96f7-00da57b8877a + - 46827473-a0eb-4f91-9eaf-341d80c21adc status: code: 200 message: OK @@ -1457,8 +1458,8 @@ interactions: ParameterSetName: - -l -g -n --admin-username --admin-password --image --size User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET @@ -1466,26 +1467,25 @@ interactions: response: body: string: "{\r\n \"name\": \"clisqlvm000002PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/publicIPAddresses/clisqlvm000002PublicIP\",\r\n - \ \"etag\": \"W/\\\"a44256c6-4448-4ab2-81bf-764548c3f21d\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"8c5a7087-6f28-4ad0-8627-36c6996aa5c8\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"68c64127-7a2f-4a32-8260-e31c9c346be8\",\r\n - \ \"ipAddress\": \"138.91.162.12\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"721ffa8b-65f5-470a-8c69-b6d63c8272df\",\r\n + \ \"ipAddress\": \"40.78.17.46\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Network/networkInterfaces/clisqlvm000002VMNic/ipConfigurations/ipconfigclisqlvm000002\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n - \ \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n - \ }\r\n}" + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '1070' + - '1043' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:56:36 GMT + - Thu, 12 Dec 2019 19:26:34 GMT etag: - - W/"a44256c6-4448-4ab2-81bf-764548c3f21d" + - W/"8c5a7087-6f28-4ad0-8627-36c6996aa5c8" expires: - '-1' pragma: @@ -1502,7 +1502,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eab08893-7f0b-4e61-a7c5-a32af29d07e7 + - 193409bf-b667-43b6-93ce-940c866e952d status: code: 200 message: OK @@ -1530,8 +1530,8 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: PUT @@ -1541,7 +1541,7 @@ interactions: string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Provisioning","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Unknown"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview cache-control: - no-cache content-length: @@ -1549,7 +1549,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:56:43 GMT + - Thu, 12 Dec 2019 19:26:36 GMT expires: - '-1' pragma: @@ -1561,7 +1561,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1199' status: code: 201 message: Created @@ -1579,22 +1579,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:57:02 GMT + - Thu, 12 Dec 2019 19:26:51 GMT expires: - '-1' pragma: @@ -1626,22 +1626,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:57:20 GMT + - Thu, 12 Dec 2019 19:27:06 GMT expires: - '-1' pragma: @@ -1673,22 +1673,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:57:39 GMT + - Thu, 12 Dec 2019 19:27:22 GMT expires: - '-1' pragma: @@ -1720,22 +1720,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:57:58 GMT + - Thu, 12 Dec 2019 19:27:37 GMT expires: - '-1' pragma: @@ -1767,22 +1767,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:58:15 GMT + - Thu, 12 Dec 2019 19:27:52 GMT expires: - '-1' pragma: @@ -1814,22 +1814,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:58:34 GMT + - Thu, 12 Dec 2019 19:28:07 GMT expires: - '-1' pragma: @@ -1861,22 +1861,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:58:52 GMT + - Thu, 12 Dec 2019 19:28:21 GMT expires: - '-1' pragma: @@ -1908,22 +1908,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"InProgress","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:59:11 GMT + - Thu, 12 Dec 2019 19:28:36 GMT expires: - '-1' pragma: @@ -1955,13 +1955,13 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/bb937223-2f20-4397-9e64-f52658bfc586?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"name":"bb937223-2f20-4397-9e64-f52658bfc586","status":"Succeeded","startTime":"2019-10-21T15:56:42.443Z"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache @@ -1970,7 +1970,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:59:28 GMT + - Thu, 12 Dec 2019 19:28:51 GMT expires: - '-1' pragma: @@ -2002,22 +2002,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"InProgress","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '734' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:59:32 GMT + - Thu, 12 Dec 2019 19:29:07 GMT expires: - '-1' pragma: @@ -2049,24 +2049,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/af226d1b-09f9-4fe3-bd00-bca4683507bf?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"name":"af226d1b-09f9-4fe3-bd00-bca4683507bf","status":"Succeeded","startTime":"2019-12-12T19:26:35.59Z"}' headers: cache-control: - no-cache content-length: - - '734' + - '106' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:59:36 GMT + - Thu, 12 Dec 2019 19:29:22 GMT expires: - '-1' pragma: @@ -2092,16 +2090,14 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm create Connection: - keep-alive ParameterSetName: - - -n -g --image-sku --license-type + - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: @@ -2115,7 +2111,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:59:38 GMT + - Thu, 12 Dec 2019 19:29:22 GMT expires: - '-1' pragma: @@ -2134,46 +2130,37 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", - "sqlImageOffer": "SQL2017-WS2016", "sqlServerLicenseType": "PAYG", "sqlManagement": - "LightWeight", "sqlImageSku": "Enterprise"}}\''''' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm create Connection: - keep-alive - Content-Length: - - '412' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -n -g --image-sku --license-type + - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US - method: PUT + method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Updating","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9c554b8b-590b-4ca6-978a-93202e47058b?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '700' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 15:59:44 GMT + - Thu, 12 Dec 2019 19:29:23 GMT expires: - '-1' pragma: @@ -2188,8 +2175,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1187' status: code: 200 message: OK @@ -2207,22 +2192,24 @@ interactions: ParameterSetName: - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9c554b8b-590b-4ca6-978a-93202e47058b?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"9c554b8b-590b-4ca6-978a-93202e47058b","status":"InProgress","startTime":"2019-10-21T15:59:43.107Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '108' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:00:02 GMT + - Thu, 12 Dec 2019 19:29:23 GMT expires: - '-1' pragma: @@ -2241,7 +2228,10 @@ interactions: code: 200 message: OK - request: - body: null + body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", + "sqlImageOffer": "SQL2017-WS2016", "sqlServerLicenseType": "PAYG", "sqlManagement": + "LightWeight", "sqlImageSku": "Enterprise"}}\''''' headers: Accept: - application/json @@ -2251,25 +2241,33 @@ interactions: - sql vm update Connection: - keep-alive + Content-Length: + - '412' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9c554b8b-590b-4ca6-978a-93202e47058b?api-version=2017-03-01-preview + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"9c554b8b-590b-4ca6-978a-93202e47058b","status":"InProgress","startTime":"2019-10-21T15:59:43.107Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Updating","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/682b4c79-a2c0-42d4-9f39-faa5d6f818e9?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '108' + - '700' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:00:20 GMT + - Thu, 12 Dec 2019 19:29:25 GMT expires: - '-1' pragma: @@ -2284,6 +2282,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -2301,22 +2301,22 @@ interactions: ParameterSetName: - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9c554b8b-590b-4ca6-978a-93202e47058b?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/682b4c79-a2c0-42d4-9f39-faa5d6f818e9?api-version=2017-03-01-preview response: body: - string: '{"name":"9c554b8b-590b-4ca6-978a-93202e47058b","status":"InProgress","startTime":"2019-10-21T15:59:43.107Z"}' + string: '{"name":"682b4c79-a2c0-42d4-9f39-faa5d6f818e9","status":"Succeeded","startTime":"2019-12-12T19:29:25.217Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:00:37 GMT + - Thu, 12 Dec 2019 19:29:40 GMT expires: - '-1' pragma: @@ -2348,22 +2348,22 @@ interactions: ParameterSetName: - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9c554b8b-590b-4ca6-978a-93202e47058b?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"9c554b8b-590b-4ca6-978a-93202e47058b","status":"InProgress","startTime":"2019-10-21T15:59:43.107Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '108' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:00:55 GMT + - Thu, 12 Dec 2019 19:29:41 GMT expires: - '-1' pragma: @@ -2389,45 +2389,49 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9c554b8b-590b-4ca6-978a-93202e47058b?api-version=2017-03-01-preview + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"9c554b8b-590b-4ca6-978a-93202e47058b","status":"InProgress","startTime":"2019-10-21T15:59:43.107Z"}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/459999d9-f59d-47b4-9776-1f4c48f4c5ae?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '108' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Mon, 21 Oct 2019 16:01:13 GMT + - Thu, 12 Dec 2019 19:29:43 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/sqlVirtualMachineOperationResults/459999d9-f59d-47b4-9776-1f4c48f4c5ae?api-version=2017-03-01-preview 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 + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2436,28 +2440,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm delete Connection: - keep-alive ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9c554b8b-590b-4ca6-978a-93202e47058b?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/459999d9-f59d-47b4-9776-1f4c48f4c5ae?api-version=2017-03-01-preview response: body: - string: '{"name":"9c554b8b-590b-4ca6-978a-93202e47058b","status":"Succeeded","startTime":"2019-10-21T15:59:43.107Z"}' + string: '{"name":"459999d9-f59d-47b4-9776-1f4c48f4c5ae","status":"InProgress","startTime":"2019-12-12T19:29:42.497Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '108' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:01:31 GMT + - Thu, 12 Dec 2019 19:29:58 GMT expires: - '-1' pragma: @@ -2483,28 +2487,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm delete Connection: - keep-alive ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/459999d9-f59d-47b4-9776-1f4c48f4c5ae?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"name":"459999d9-f59d-47b4-9776-1f4c48f4c5ae","status":"InProgress","startTime":"2019-12-12T19:29:42.497Z"}' headers: cache-control: - no-cache content-length: - - '734' + - '108' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:01:34 GMT + - Thu, 12 Dec 2019 19:30:14 GMT expires: - '-1' pragma: @@ -2533,46 +2537,42 @@ interactions: - sql vm delete Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/459999d9-f59d-47b4-9776-1f4c48f4c5ae?api-version=2017-03-01-preview response: body: - string: '' + string: '{"name":"459999d9-f59d-47b4-9776-1f4c48f4c5ae","status":"InProgress","startTime":"2019-12-12T19:29:42.497Z"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '0' + - '108' + content-type: + - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:01:38 GMT + - Thu, 12 Dec 2019 19:30:28 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/sqlVirtualMachineOperationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview 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 - x-ms-ratelimit-remaining-subscription-deletes: - - '14996' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -2587,13 +2587,13 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/459999d9-f59d-47b4-9776-1f4c48f4c5ae?api-version=2017-03-01-preview response: body: - string: '{"name":"e62e74e8-dbc1-44e8-a06d-51cad5179b86","status":"InProgress","startTime":"2019-10-21T16:01:38.743Z"}' + string: '{"name":"459999d9-f59d-47b4-9776-1f4c48f4c5ae","status":"InProgress","startTime":"2019-12-12T19:29:42.497Z"}' headers: cache-control: - no-cache @@ -2602,7 +2602,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:01:57 GMT + - Thu, 12 Dec 2019 19:30:43 GMT expires: - '-1' pragma: @@ -2634,22 +2634,22 @@ interactions: ParameterSetName: - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/459999d9-f59d-47b4-9776-1f4c48f4c5ae?api-version=2017-03-01-preview response: body: - string: '{"name":"e62e74e8-dbc1-44e8-a06d-51cad5179b86","status":"InProgress","startTime":"2019-10-21T16:01:38.743Z"}' + string: '{"name":"459999d9-f59d-47b4-9776-1f4c48f4c5ae","status":"Succeeded","startTime":"2019-12-12T19:29:42.497Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:02:15 GMT + - Thu, 12 Dec 2019 19:30:58 GMT expires: - '-1' pragma: @@ -2668,35 +2668,49 @@ interactions: code: 200 message: OK - request: - body: null + body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", + "sqlServerLicenseType": "PAYG", "sqlManagement": "LightWeight", "sqlImageSku": + "Enterprise", "autoPatchingSettings": {}, "autoBackupSettings": {}, "keyVaultCredentialSettings": + {}, "serverConfigurationsManagementSettings": {"sqlConnectivityUpdateSettings": + {}, "sqlWorkloadTypeUpdateSettings": {}, "additionalFeaturesServerConfigurations": + {}}}}\''''' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - sql vm delete + - sql vm create Connection: - keep-alive + Content-Length: + - '629' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -n -g --yes + - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"e62e74e8-dbc1-44e8-a06d-51cad5179b86","status":"InProgress","startTime":"2019-10-21T16:01:38.743Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Provisioning","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Unknown"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/4dcbaa03-347a-4bb3-b164-cb54147ee2c8?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '108' + - '701' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:02:33 GMT + - Thu, 12 Dec 2019 19:31:01 GMT expires: - '-1' pragma: @@ -2705,15 +2719,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: + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -2722,28 +2734,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm delete + - sql vm create Connection: - keep-alive ParameterSetName: - - -n -g --yes + - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/4dcbaa03-347a-4bb3-b164-cb54147ee2c8?api-version=2017-03-01-preview response: body: - string: '{"name":"e62e74e8-dbc1-44e8-a06d-51cad5179b86","status":"InProgress","startTime":"2019-10-21T16:01:38.743Z"}' + string: '{"name":"4dcbaa03-347a-4bb3-b164-cb54147ee2c8","status":"InProgress","startTime":"2019-12-12T19:31:00.92Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:02:51 GMT + - Thu, 12 Dec 2019 19:31:17 GMT expires: - '-1' pragma: @@ -2769,28 +2781,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm delete + - sql vm create Connection: - keep-alive ParameterSetName: - - -n -g --yes + - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/4dcbaa03-347a-4bb3-b164-cb54147ee2c8?api-version=2017-03-01-preview response: body: - string: '{"name":"e62e74e8-dbc1-44e8-a06d-51cad5179b86","status":"InProgress","startTime":"2019-10-21T16:01:38.743Z"}' + string: '{"name":"4dcbaa03-347a-4bb3-b164-cb54147ee2c8","status":"InProgress","startTime":"2019-12-12T19:31:00.92Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:03:09 GMT + - Thu, 12 Dec 2019 19:31:32 GMT expires: - '-1' pragma: @@ -2816,19 +2828,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm delete + - sql vm create Connection: - keep-alive ParameterSetName: - - -n -g --yes + - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/e62e74e8-dbc1-44e8-a06d-51cad5179b86?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/4dcbaa03-347a-4bb3-b164-cb54147ee2c8?api-version=2017-03-01-preview response: body: - string: '{"name":"e62e74e8-dbc1-44e8-a06d-51cad5179b86","status":"Succeeded","startTime":"2019-10-21T16:01:38.743Z"}' + string: '{"name":"4dcbaa03-347a-4bb3-b164-cb54147ee2c8","status":"InProgress","startTime":"2019-12-12T19:31:00.92Z"}' headers: cache-control: - no-cache @@ -2837,7 +2849,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:03:27 GMT + - Thu, 12 Dec 2019 19:31:47 GMT expires: - '-1' pragma: @@ -2856,13 +2868,7 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", - "sqlServerLicenseType": "PAYG", "sqlManagement": "LightWeight", "sqlImageSku": - "Enterprise", "autoPatchingSettings": {}, "autoBackupSettings": {}, "keyVaultCredentialSettings": - {}, "serverConfigurationsManagementSettings": {"sqlConnectivityUpdateSettings": - {}, "sqlWorkloadTypeUpdateSettings": {}, "additionalFeaturesServerConfigurations": - {}}}}\''''' + body: null headers: Accept: - application/json @@ -2872,33 +2878,25 @@ interactions: - sql vm create Connection: - keep-alive - Content-Length: - - '629' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/4dcbaa03-347a-4bb3-b164-cb54147ee2c8?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Provisioning","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Unknown"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"name":"4dcbaa03-347a-4bb3-b164-cb54147ee2c8","status":"InProgress","startTime":"2019-12-12T19:31:00.92Z"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/5c932e13-306c-4f36-b7bb-edd8538d1c21?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '701' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:03:35 GMT + - Thu, 12 Dec 2019 19:32:01 GMT expires: - '-1' pragma: @@ -2907,13 +2905,15 @@ 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: - - '1182' status: - code: 201 - message: Created + code: 200 + message: OK - request: body: null headers: @@ -2928,22 +2928,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/5c932e13-306c-4f36-b7bb-edd8538d1c21?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/4dcbaa03-347a-4bb3-b164-cb54147ee2c8?api-version=2017-03-01-preview response: body: - string: '{"name":"5c932e13-306c-4f36-b7bb-edd8538d1c21","status":"InProgress","startTime":"2019-10-21T16:03:34.167Z"}' + string: '{"name":"4dcbaa03-347a-4bb3-b164-cb54147ee2c8","status":"Succeeded","startTime":"2019-12-12T19:31:00.92Z"}' headers: cache-control: - no-cache content-length: - - '108' + - '106' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:03:54 GMT + - Thu, 12 Dec 2019 19:32:17 GMT expires: - '-1' pragma: @@ -2975,22 +2975,22 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/5c932e13-306c-4f36-b7bb-edd8538d1c21?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"5c932e13-306c-4f36-b7bb-edd8538d1c21","status":"InProgress","startTime":"2019-10-21T16:03:34.167Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '108' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:04:11 GMT + - Thu, 12 Dec 2019 19:32:17 GMT expires: - '-1' pragma: @@ -3022,22 +3022,24 @@ interactions: ParameterSetName: - -n -g -l --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/5c932e13-306c-4f36-b7bb-edd8538d1c21?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"5c932e13-306c-4f36-b7bb-edd8538d1c21","status":"InProgress","startTime":"2019-10-21T16:03:34.167Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '108' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:04:28 GMT + - Thu, 12 Dec 2019 19:32:18 GMT expires: - '-1' pragma: @@ -3063,28 +3065,30 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm create + - sql vm update Connection: - keep-alive ParameterSetName: - - -n -g -l --image-sku --license-type + - -n -g --image-sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/5c932e13-306c-4f36-b7bb-edd8538d1c21?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"5c932e13-306c-4f36-b7bb-edd8538d1c21","status":"Succeeded","startTime":"2019-10-21T16:03:34.167Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '107' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:04:46 GMT + - Thu, 12 Dec 2019 19:32:18 GMT expires: - '-1' pragma: @@ -3103,35 +3107,46 @@ interactions: code: 200 message: OK - request: - body: null - headers: - Accept: + body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", + "sqlImageOffer": "SQL2017-WS2016", "sqlServerLicenseType": "PAYG", "sqlManagement": + "LightWeight", "sqlImageSku": "Enterprise"}}\''''' + headers: + Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - sql vm create + - sql vm update Connection: - keep-alive + Content-Length: + - '412' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -n -g -l --image-sku --license-type + - -n -g --image-sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - method: GET + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US + method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Updating","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9dbd5db1-0696-446d-bb08-73d68badabfa?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '734' + - '700' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:04:49 GMT + - Thu, 12 Dec 2019 19:32:19 GMT expires: - '-1' pragma: @@ -3146,6 +3161,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -3157,16 +3174,61 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm create + - sql vm update Connection: - keep-alive ParameterSetName: - - -n -g -l --image-sku --license-type + - -n -g --image-sku User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/9dbd5db1-0696-446d-bb08-73d68badabfa?api-version=2017-03-01-preview + response: + body: + string: '{"name":"9dbd5db1-0696-446d-bb08-73d68badabfa","status":"Succeeded","startTime":"2019-12-12T19:32:19.357Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:32: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: + - sql vm update + Connection: + - keep-alive + ParameterSetName: + - -n -g --image-sku + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: @@ -3180,7 +3242,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:04:52 GMT + - Thu, 12 Dec 2019 19:32:35 GMT expires: - '-1' pragma: @@ -3210,10 +3272,10 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --image-sku + - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: GET @@ -3229,7 +3291,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:04:56 GMT + - Thu, 12 Dec 2019 19:32:35 GMT expires: - '-1' pragma: @@ -3250,7 +3312,7 @@ interactions: - request: body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", - "sqlImageOffer": "SQL2017-WS2016", "sqlServerLicenseType": "PAYG", "sqlManagement": + "sqlImageOffer": "SQL2017-WS2016", "sqlServerLicenseType": "AHUB", "sqlManagement": "LightWeight", "sqlImageSku": "Enterprise"}}\''''' headers: Accept: @@ -3266,20 +3328,20 @@ interactions: Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -n -g --image-sku + - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Updating","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Updating","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/36097aaa-f01d-4816-afdc-09408f87f8a0?api-version=2017-03-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/8ec0ece8-97a1-42bf-a2a5-50540126cfd4?api-version=2017-03-01-preview cache-control: - no-cache content-length: @@ -3287,7 +3349,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:04:59 GMT + - Thu, 12 Dec 2019 19:32:38 GMT expires: - '-1' pragma: @@ -3303,7 +3365,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1181' + - '1199' status: code: 200 message: OK @@ -3319,15 +3381,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --image-sku + - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/36097aaa-f01d-4816-afdc-09408f87f8a0?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/8ec0ece8-97a1-42bf-a2a5-50540126cfd4?api-version=2017-03-01-preview response: body: - string: '{"name":"36097aaa-f01d-4816-afdc-09408f87f8a0","status":"InProgress","startTime":"2019-10-21T16:04:58.78Z"}' + string: '{"name":"8ec0ece8-97a1-42bf-a2a5-50540126cfd4","status":"Succeeded","startTime":"2019-12-12T19:32:36.843Z"}' headers: cache-control: - no-cache @@ -3336,7 +3398,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:05:16 GMT + - Thu, 12 Dec 2019 19:32:53 GMT expires: - '-1' pragma: @@ -3366,24 +3428,24 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --image-sku + - -n -g --image-sku --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/36097aaa-f01d-4816-afdc-09408f87f8a0?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"36097aaa-f01d-4816-afdc-09408f87f8a0","status":"InProgress","startTime":"2019-10-21T16:04:58.78Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '107' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:05:34 GMT + - Thu, 12 Dec 2019 19:32:53 GMT expires: - '-1' pragma: @@ -3413,24 +3475,26 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --image-sku + - -n -g --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/36097aaa-f01d-4816-afdc-09408f87f8a0?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"36097aaa-f01d-4816-afdc-09408f87f8a0","status":"InProgress","startTime":"2019-10-21T16:04:58.78Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '107' + - '734' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:05:52 GMT + - Thu, 12 Dec 2019 19:32:53 GMT expires: - '-1' pragma: @@ -3449,7 +3513,10 @@ interactions: code: 200 message: OK - request: - body: null + body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", + "sqlImageOffer": "SQL2017-WS2016", "sqlServerLicenseType": "DR", "sqlManagement": + "LightWeight", "sqlImageSku": "Enterprise"}}\''''' headers: Accept: - application/json @@ -3459,25 +3526,33 @@ interactions: - sql vm update Connection: - keep-alive + Content-Length: + - '410' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -n -g --image-sku + - -n -g --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/36097aaa-f01d-4816-afdc-09408f87f8a0?api-version=2017-03-01-preview + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"name":"36097aaa-f01d-4816-afdc-09408f87f8a0","status":"Succeeded","startTime":"2019-10-21T16:04:58.78Z"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Updating","sqlServerLicenseType":"DR","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/0af398a8-d894-4ef1-9caf-6d3b94520a0b?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '106' + - '698' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:06:10 GMT + - Thu, 12 Dec 2019 19:32:56 GMT expires: - '-1' pragma: @@ -3492,6 +3567,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -3507,24 +3584,24 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --image-sku + - -n -g --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/0af398a8-d894-4ef1-9caf-6d3b94520a0b?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"name":"0af398a8-d894-4ef1-9caf-6d3b94520a0b","status":"Succeeded","startTime":"2019-12-12T19:32:54.717Z"}' headers: cache-control: - no-cache content-length: - - '734' + - '107' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:06:12 GMT + - Thu, 12 Dec 2019 19:33:11 GMT expires: - '-1' pragma: @@ -3554,26 +3631,24 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --license-type User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 - accept-language: - - en-US + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"PAYG","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"DR","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' headers: cache-control: - no-cache content-length: - - '734' + - '732' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:06:16 GMT + - Thu, 12 Dec 2019 19:33:11 GMT expires: - '-1' pragma: @@ -3592,46 +3667,86 @@ interactions: code: 200 message: OK - request: - body: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", - "sqlImageOffer": "SQL2017-WS2016", "sqlServerLicenseType": "AHUB", "sqlManagement": - "LightWeight", "sqlImageSku": "Enterprise"}}\''''' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm delete Connection: - keep-alive Content-Length: - - '412' - Content-Type: - - application/json; charset=utf-8 + - '0' ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 accept-language: - en-US - method: PUT + method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Updating","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/c3380028-3ff5-437b-8805-7dda781a04ca?api-version=2017-03-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/036411c5-d293-4897-93f7-cb7e72120884?api-version=2017-03-01-preview cache-control: - no-cache content-length: - - '700' + - '0' + date: + - Thu, 12 Dec 2019 19:33:13 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/sqlVirtualMachineOperationResults/036411c5-d293-4897-93f7-cb7e72120884?api-version=2017-03-01-preview + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm delete + Connection: + - keep-alive + ParameterSetName: + - -n -g --yes + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/036411c5-d293-4897-93f7-cb7e72120884?api-version=2017-03-01-preview + response: + body: + string: '{"name":"036411c5-d293-4897-93f7-cb7e72120884","status":"InProgress","startTime":"2019-12-12T19:33:12.343Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:06:20 GMT + - Thu, 12 Dec 2019 19:33:28 GMT expires: - '-1' pragma: @@ -3646,8 +3761,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1182' status: code: 200 message: OK @@ -3659,19 +3772,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm delete Connection: - keep-alive ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/c3380028-3ff5-437b-8805-7dda781a04ca?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/036411c5-d293-4897-93f7-cb7e72120884?api-version=2017-03-01-preview response: body: - string: '{"name":"c3380028-3ff5-437b-8805-7dda781a04ca","status":"InProgress","startTime":"2019-10-21T16:06:19.953Z"}' + string: '{"name":"036411c5-d293-4897-93f7-cb7e72120884","status":"InProgress","startTime":"2019-12-12T19:33:12.343Z"}' headers: cache-control: - no-cache @@ -3680,7 +3793,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:06:38 GMT + - Thu, 12 Dec 2019 19:33:44 GMT expires: - '-1' pragma: @@ -3706,28 +3819,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm delete Connection: - keep-alive ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/updatesqlvirtualmachine/operationResults/c3380028-3ff5-437b-8805-7dda781a04ca?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/036411c5-d293-4897-93f7-cb7e72120884?api-version=2017-03-01-preview response: body: - string: '{"name":"c3380028-3ff5-437b-8805-7dda781a04ca","status":"Succeeded","startTime":"2019-10-21T16:06:19.953Z"}' + string: '{"name":"036411c5-d293-4897-93f7-cb7e72120884","status":"InProgress","startTime":"2019-12-12T19:33:12.343Z"}' headers: cache-control: - no-cache content-length: - - '107' + - '108' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:06:57 GMT + - Thu, 12 Dec 2019 19:33:58 GMT expires: - '-1' pragma: @@ -3753,28 +3866,417 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - sql vm update + - sql vm delete Connection: - keep-alive ParameterSetName: - - -n -g --image-sku --license-type + - -n -g --yes User-Agent: - - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-sqlvirtualmachine/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.75 + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/036411c5-d293-4897-93f7-cb7e72120884?api-version=2017-03-01-preview response: body: - string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"AHUB","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + string: '{"name":"036411c5-d293-4897-93f7-cb7e72120884","status":"InProgress","startTime":"2019-12-12T19:33:12.343Z"}' headers: cache-control: - no-cache content-length: - - '734' + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:34: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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm delete + Connection: + - keep-alive + ParameterSetName: + - -n -g --yes + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/deletesqlvirtualmachine/operationResults/036411c5-d293-4897-93f7-cb7e72120884?api-version=2017-03-01-preview + response: + body: + string: '{"name":"036411c5-d293-4897-93f7-cb7e72120884","status":"Succeeded","startTime":"2019-12-12T19:33:12.343Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:34: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: 'b''b\''{"location": "westus", "tags": {}, "properties": {"virtualMachineResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002", + "sqlServerLicenseType": "DR", "sqlManagement": "LightWeight", "autoPatchingSettings": + {}, "autoBackupSettings": {}, "keyVaultCredentialSettings": {}, "serverConfigurationsManagementSettings": + {"sqlConnectivityUpdateSettings": {}, "sqlWorkloadTypeUpdateSettings": {}, "additionalFeaturesServerConfigurations": + {}}}}\''''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm create + Connection: + - keep-alive + Content-Length: + - '598' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -g -l --license-type + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + response: + body: + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Provisioning","sqlServerLicenseType":"DR","sqlManagement":"LightWeight","sqlImageSku":"Unknown"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/6e48c6ed-8eac-462d-8d05-7f598c69158a?api-version=2017-03-01-preview + cache-control: + - no-cache + content-length: + - '699' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:34:31 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: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --license-type + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/6e48c6ed-8eac-462d-8d05-7f598c69158a?api-version=2017-03-01-preview + response: + body: + string: '{"name":"6e48c6ed-8eac-462d-8d05-7f598c69158a","status":"InProgress","startTime":"2019-12-12T19:34:30.733Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:34: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: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --license-type + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/6e48c6ed-8eac-462d-8d05-7f598c69158a?api-version=2017-03-01-preview + response: + body: + string: '{"name":"6e48c6ed-8eac-462d-8d05-7f598c69158a","status":"InProgress","startTime":"2019-12-12T19:34:30.733Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:35:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --license-type + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/6e48c6ed-8eac-462d-8d05-7f598c69158a?api-version=2017-03-01-preview + response: + body: + string: '{"name":"6e48c6ed-8eac-462d-8d05-7f598c69158a","status":"InProgress","startTime":"2019-12-12T19:34:30.733Z"}' + headers: + cache-control: + - no-cache + content-length: + - '108' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:35:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --license-type + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SqlVirtualMachine/locations/westus/operationTypes/createsqlvirtualmachine/operationResults/6e48c6ed-8eac-462d-8d05-7f598c69158a?api-version=2017-03-01-preview + response: + body: + string: '{"name":"6e48c6ed-8eac-462d-8d05-7f598c69158a","status":"Succeeded","startTime":"2019-12-12T19:34:30.733Z"}' + headers: + cache-control: + - no-cache + content-length: + - '107' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:35:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --license-type + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + response: + body: + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"DR","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + headers: + cache-control: + - no-cache + content-length: + - '732' + content-type: + - application/json; charset=utf-8 + date: + - Thu, 12 Dec 2019 19:35:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - sql vm create + Connection: + - keep-alive + ParameterSetName: + - -n -g -l --license-type + User-Agent: + - python/3.6.7 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-sqlvirtualmachine/0.5.0 Azure-SDK-For-Python AZURECLI/2.0.76 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002?api-version=2017-03-01-preview + response: + body: + string: '{"properties":{"virtualMachineResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.Compute/virtualMachines/clisqlvm000002","provisioningState":"Succeeded","sqlImageOffer":"SQL2017-WS2016","sqlServerLicenseType":"DR","sqlManagement":"LightWeight","sqlImageSku":"Enterprise"},"location":"westus","tags":{},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/sqlvm_cli_test_license000001/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/clisqlvm000002","name":"clisqlvm000002","type":"Microsoft.SqlVirtualMachine/sqlVirtualMachines"}' + headers: + cache-control: + - no-cache + content-length: + - '732' content-type: - application/json; charset=utf-8 date: - - Mon, 21 Oct 2019 16:07:00 GMT + - Thu, 12 Dec 2019 19:35:33 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py b/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py index b54e56b4788..5fbe1c05f7e 100644 --- a/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py @@ -394,6 +394,32 @@ def test_sqlvm_update_license_and_sku(self, resource_group, resource_group_locat JMESPathCheck('sqlServerLicenseType', 'AHUB') ]) + # test license change for DR only. + self.cmd('sql vm update -n {} -g {} --license-type {}' + .format(sqlvm1, resource_group, 'DR'), + checks=[ + JMESPathCheck('name', sqlvm1), + JMESPathCheck('location', resource_group_location), + JMESPathCheck('provisioningState', "Succeeded"), + JMESPathCheck('sqlImageSku', 'Enterprise'), + JMESPathCheck('sqlServerLicenseType', 'DR') + ]) + + # delete sqlvm + self.cmd('sql vm delete -n {} -g {} --yes' + .format(sqlvm1, resource_group), + checks=NoneCheck()) + + # test create sqlvm with sql license type DR. + self.cmd('sql vm create -n {} -g {} -l {} --license-type {}' + .format(sqlvm1, resource_group, resource_group_location, 'DR'), + checks=[ + JMESPathCheck('name', sqlvm1), + JMESPathCheck('location', resource_group_location), + JMESPathCheck('provisioningState', "Succeeded"), + JMESPathCheck('sqlServerLicenseType', 'DR'), + ]) + class SqlVmGroupScenarioTest(ScenarioTest): @ResourceGroupPreparer() diff --git a/src/azure-cli/requirements.py2.Darwin.txt b/src/azure-cli/requirements.py2.Darwin.txt index ef60727d417..b49b03d60ea 100644 --- a/src/azure-cli/requirements.py2.Darwin.txt +++ b/src/azure-cli/requirements.py2.Darwin.txt @@ -74,7 +74,7 @@ azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.2.0 azure-mgmt-signalr==0.3.0 azure-mgmt-sql==0.15.0 -azure-mgmt-sqlvirtualmachine==0.4.0 +azure-mgmt-sqlvirtualmachine==0.5.0 azure-mgmt-storage==5.0.0 azure-mgmt-trafficmanager==0.51.0 azure-mgmt-web==0.42.0 diff --git a/src/azure-cli/requirements.py2.Linux.txt b/src/azure-cli/requirements.py2.Linux.txt index ef60727d417..b49b03d60ea 100644 --- a/src/azure-cli/requirements.py2.Linux.txt +++ b/src/azure-cli/requirements.py2.Linux.txt @@ -74,7 +74,7 @@ azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.2.0 azure-mgmt-signalr==0.3.0 azure-mgmt-sql==0.15.0 -azure-mgmt-sqlvirtualmachine==0.4.0 +azure-mgmt-sqlvirtualmachine==0.5.0 azure-mgmt-storage==5.0.0 azure-mgmt-trafficmanager==0.51.0 azure-mgmt-web==0.42.0 diff --git a/src/azure-cli/requirements.py2.windows.txt b/src/azure-cli/requirements.py2.windows.txt index 32896217dbb..e4d9d6203ad 100644 --- a/src/azure-cli/requirements.py2.windows.txt +++ b/src/azure-cli/requirements.py2.windows.txt @@ -73,7 +73,7 @@ azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.2.0 azure-mgmt-signalr==0.3.0 azure-mgmt-sql==0.15.0 -azure-mgmt-sqlvirtualmachine==0.4.0 +azure-mgmt-sqlvirtualmachine==0.5.0 azure-mgmt-storage==5.0.0 azure-mgmt-trafficmanager==0.51.0 azure-mgmt-web==0.42.0 diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index fd5e1af1cc7..12bfa8e7926 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -74,7 +74,7 @@ azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.2.0 azure-mgmt-signalr==0.3.0 azure-mgmt-sql==0.15.0 -azure-mgmt-sqlvirtualmachine==0.4.0 +azure-mgmt-sqlvirtualmachine==0.5.0 azure-mgmt-storage==5.0.0 azure-mgmt-trafficmanager==0.51.0 azure-mgmt-web==0.42.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index fd5e1af1cc7..12bfa8e7926 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -74,7 +74,7 @@ azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.2.0 azure-mgmt-signalr==0.3.0 azure-mgmt-sql==0.15.0 -azure-mgmt-sqlvirtualmachine==0.4.0 +azure-mgmt-sqlvirtualmachine==0.5.0 azure-mgmt-storage==5.0.0 azure-mgmt-trafficmanager==0.51.0 azure-mgmt-web==0.42.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 098f07098ff..7b1428d1af0 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -73,7 +73,7 @@ azure-mgmt-servicebus==0.6.0 azure-mgmt-servicefabric==0.2.0 azure-mgmt-signalr==0.3.0 azure-mgmt-sql==0.15.0 -azure-mgmt-sqlvirtualmachine==0.4.0 +azure-mgmt-sqlvirtualmachine==0.5.0 azure-mgmt-storage==5.0.0 azure-mgmt-trafficmanager==0.51.0 azure-mgmt-web==0.42.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 97bdad2f4cf..7a29a556b7d 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -121,7 +121,7 @@ 'azure-mgmt-servicefabric~=0.2.0', 'azure-mgmt-signalr~=0.3.0', 'azure-mgmt-sql~=0.15.0', - 'azure-mgmt-sqlvirtualmachine~=0.4.0', + 'azure-mgmt-sqlvirtualmachine~=0.5.0', 'azure-mgmt-storage~=5.0.0', 'azure-mgmt-trafficmanager~=0.51.0', 'azure-mgmt-web~=0.42.0',