From db5103e15da8182657c04c0cf8a5f0de9ae75a7a Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Fri, 31 Jan 2020 14:59:58 +0800 Subject: [PATCH 1/4] [Compute] vm/vmss/availability-set update: add --ppg to allowing updating ProximityPlacementGroup --- .../azure/cli/command_modules/vm/custom.py | 10 +- .../latest/recordings/test_ppg_update.yaml | 1775 +++++++++++++++++ .../vm/tests/latest/test_vm_commands.py | 36 + 3 files changed, 1819 insertions(+), 2 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index eb6742d331e..2d2daf2a19c 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -1057,7 +1057,7 @@ def show_vm(cmd, resource_group_name, vm_name, show_details=False): def update_vm(cmd, resource_group_name, vm_name, os_disk=None, disk_caching=None, write_accelerator=None, license_type=None, no_wait=False, ultra_ssd_enabled=None, - priority=None, max_price=None, **kwargs): + priority=None, max_price=None, ppg=None, **kwargs): from msrestazure.tools import parse_resource_id, resource_id, is_valid_resource_id from ._vm_utils import update_write_accelerator_settings, update_disk_caching vm = kwargs['parameters'] @@ -1098,6 +1098,9 @@ def update_vm(cmd, resource_group_name, vm_name, os_disk=None, disk_caching=None else: vm.billing_profile.max_price = max_price + if ppg is not None: + vm.proximity_placement_group = {'id': ppg} + return sdk_no_wait(no_wait, _compute_client_factory(cmd.cli_ctx).virtual_machines.create_or_update, resource_group_name, vm_name, **kwargs) @@ -2617,7 +2620,7 @@ def update_vmss_instances(cmd, resource_group_name, vm_scale_set_name, instance_ def update_vmss(cmd, resource_group_name, name, license_type=None, no_wait=False, instance_id=None, protect_from_scale_in=None, protect_from_scale_set_actions=None, enable_terminate_notification=None, terminate_notification_time=None, ultra_ssd_enabled=None, - scale_in_policy=None, priority=None, max_price=None, **kwargs): + scale_in_policy=None, priority=None, max_price=None, ppg=None, **kwargs): vmss = kwargs['parameters'] client = _compute_client_factory(cmd.cli_ctx) @@ -2679,6 +2682,9 @@ def update_vmss(cmd, resource_group_name, name, license_type=None, no_wait=False else: vmss.virtual_machine_profile.billing_profile.max_price = max_price + if ppg is not None: + vmss.proximity_placement_group = {'id': ppg} + return sdk_no_wait(no_wait, client.virtual_machine_scale_sets.create_or_update, resource_group_name, name, **kwargs) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml new file mode 100644 index 00000000000..9254151545d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml @@ -0,0 +1,1775 @@ +interactions: +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - ppg create + Connection: + - keep-alive + ParameterSetName: + - -n -t -g + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-31T06:44:04Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:44:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {}, "properties": {"proximityPlacementGroupType": + "standard"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - ppg create + Connection: + - keep-alive + Content-Length: + - '93' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n -t -g + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: PUT + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"ppg1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\",\r\n + \ \"type\": \"Microsoft.Compute/proximityPlacementGroups\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"proximityPlacementGroupType\": + \"Standard\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '404' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:44:26 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PutDeletePPG3Min;99,Microsoft.Compute/PutDeletePPG30Min;492 + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-31T06:44:04Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:44:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + method: GET + uri: https://localhost:1080/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": + \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n + \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": + \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": + \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": + {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n + \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": + \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\"\n }\n },\n \"Windows\": + {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": + \"latest\"\n }\n }\n }\n }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2501' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:44:33 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Fri, 31 Jan 2020 06:49:33 GMT + source-age: + - '257' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding + via: + - 1.1 varnish (Varnish/6.0) + - 1.1 varnish + x-cache: + - MISS + x-cache-hits: + - '0' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 1ff8858aa3ab569132f9305b71299e56e508c908 + x-frame-options: + - deny + x-geo-block-list: + - '' + x-github-request-id: + - 80D0:7D63:33EA26:3E900C:5E33C6FE + x-served-by: + - cache-hkg17934-HKG + x-timer: + - S1580453073.143849,VS0,VE205 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:44:36 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"name": "vmss1VNET", "type": "Microsoft.Network/virtualNetworks", "location": + "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "vmss1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"apiVersion": + "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", "name": "vmss1LBPublicIP", + "location": "westus", "tags": {}, "dependsOn": [], "properties": {"publicIPAllocationMethod": + "Dynamic"}}, {"type": "Microsoft.Network/loadBalancers", "name": "vmss1LB", + "location": "westus", "tags": {}, "apiVersion": "2018-01-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET", + "Microsoft.Network/publicIpAddresses/vmss1LBPublicIP"], "properties": {"backendAddressPools": + [{"name": "vmss1LBBEPool"}], "inboundNatPools": [{"name": "vmss1LBNatPool", + "properties": {"frontendIPConfiguration": {"id": "[concat(resourceId(\''Microsoft.Network/loadBalancers\'', + \''vmss1LB\''), \''/frontendIPConfigurations/\'', \''loadBalancerFrontEnd\'')]"}, + "protocol": "tcp", "frontendPortRangeStart": "50000", "frontendPortRangeEnd": + "50119", "backendPort": 22}}], "frontendIPConfigurations": [{"name": "loadBalancerFrontEnd", + "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"}}}]}}, + {"type": "Microsoft.Compute/virtualMachineScaleSets", "name": "vmss1", "location": + "westus", "tags": {}, "apiVersion": "2019-07-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET", + "Microsoft.Network/loadBalancers/vmss1LB"], "sku": {"name": "Standard_DS1_v2", + "capacity": 2}, "properties": {"overprovision": true, "upgradePolicy": {"mode": + "manual"}, "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": + "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, + "imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", + "version": "latest"}}, "osProfile": {"computerNamePrefix": "vmss1b49d", "adminUsername": + "debian", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": + {"publicKeys": [{"path": "/home/debian/.ssh/authorized_keys", "keyData": "ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n"}]}}}, "networkProfile": {"networkInterfaceConfigurations": + [{"name": "vmss1b49dNic", "properties": {"primary": "true", "ipConfigurations": + [{"name": "vmss1b49dIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], + "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}}, + "singlePlacementGroup": null}}], "outputs": {"VMSS": {"type": "object", "value": + "[reference(resourceId(\''Microsoft.Compute/virtualMachineScaleSets\'', \''vmss1\''),providers(\''Microsoft.Compute\'', + \''virtualMachineScaleSets\'').apiVersions[0])]"}}}, "parameters": {}, "mode": + "Incremental"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + Content-Length: + - '4506' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: PUT + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","name":"vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6169422812590816101","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-01-31T06:44:45.3508403Z","duration":"PT2.71711S","correlationId":"a0fbbd77-3bf1-4b96-a732-26199dba76d2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj/operationStatuses/08586211538028438885?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '2690' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:44:46 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:45:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:45:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:46:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:46:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:47:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:47:52 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:48:22 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:48:53 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:49:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","name":"vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6169422812590816101","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-01-31T06:48:54.8119593Z","duration":"PT4M12.178229S","correlationId":"a0fbbd77-3bf1-4b96-a732-26199dba76d2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1b49d","adminUsername":"debian","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/debian/.ssh/authorized_keys","keyData":"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]},"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss1b49dNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss1b49dIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '6201' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:49:24 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss1b49d\",\r\n \"adminUsername\": + \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": + \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3569' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:49:29 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;395,Microsoft.Compute/GetVMScaleSet30Min;2579 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: POST + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/deallocate?api-version=2019-07-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 Jan 2020 06:49:31 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?monitor=true&api-version=2019-07-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/DeleteVMScaleSet3Min;79,Microsoft.Compute/DeleteVMScaleSet30Min;396,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1194,Microsoft.Compute/VmssQueuedVMOperations;4798 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-charge: + - '2' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:50:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29979 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:50:34 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29976 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:51:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29973 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:51:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29970 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:52:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29967 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:52:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29964 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:53:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29961 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:53:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29958 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"endTime\": + \"2020-01-31T06:53:55.1760539+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:54:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29956 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss1b49d\",\r\n \"adminUsername\": + \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": + \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3569' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:54:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;398,Microsoft.Compute/GetVMScaleSet30Min;2576 + status: + code: 200 + message: OK +- request: + body: 'b''{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", + "tier": "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": + "Manual"}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1b49d", + "adminUsername": "debian", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"path": "/home/debian/.ssh/authorized_keys", "keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n"}]}, "provisionVMAgent": true}, "secrets": []}, "storageProfile": + {"imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", + "version": "latest"}, "osDisk": {"caching": "ReadWrite", "createOption": "FromImage", + "diskSizeGB": 30, "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": + {"networkInterfaceConfigurations": [{"name": "vmss1b49dNic", "properties": {"primary": + true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, + "ipConfigurations": [{"name": "vmss1b49dIPConfig", "properties": {"subnet": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], + "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], + "enableIPForwarding": false}}]}}, "overprovision": true, "doNotRunExtensionsOnOverprovisionedVMs": + false, "singlePlacementGroup": true, "proximityPlacementGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1"}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + Content-Length: + - '2895' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: PUT + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"proximityPlacementGroup\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_BCEYJIQMO3T7UXSQGSB5B4NCQEUWNLG2NLOVUDCR64OWM4Z43PLBMVD/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1b49d\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": + {\r\n \"publicKeys\": [\r\n {\r\n \"path\": + \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": + true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": + \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7e421f80-e597-46d8-9f3c-f287ac80af4a?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '3826' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:54:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;293,Microsoft.Compute/VmssQueuedVMOperations;4800 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-ms-request-charge: + - '0' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7e421f80-e597-46d8-9f3c-f287ac80af4a?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-01-31T06:54:45.2237096+00:00\",\r\n \"endTime\": + \"2020-01-31T06:54:45.457745+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"7e421f80-e597-46d8-9f3c-f287ac80af4a\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:54:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29953 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"proximityPlacementGroup\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_BCEYJIQMO3T7UXSQGSB5B4NCQEUWNLG2NLOVUDCR64OWM4Z43PLBMVD/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1b49d\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": + {\r\n \"publicKeys\": [\r\n {\r\n \"path\": + \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": + \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3827' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:54:59 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;396,Microsoft.Compute/GetVMScaleSet30Min;2579 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - ppg show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"ppg1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\",\r\n + \ \"type\": \"Microsoft.Compute/proximityPlacementGroups\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"proximityPlacementGroupType\": + \"Standard\",\r\n \"virtualMachines\": [],\r\n \"virtualMachineScaleSets\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_BCEYJIQMO3T7UXSQGSB5B4NCQEUWNLG2NLOVUDCR64OWM4Z43PLBMVD/providers/Microsoft.Compute/virtualMachineScaleSets/VMSS1\"\r\n + \ }\r\n ],\r\n \"availabilitySets\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '739' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 Jan 2020 06:55:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/HighCostGet3Min;138,Microsoft.Compute/HighCostGet30Min;691 + status: + code: 200 + message: OK +version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index cf6d47e1a67..90c3b8e0fd0 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py @@ -3496,6 +3496,42 @@ def test_ppg_with_related_resources(self, resource_group): self._assert_ids_equal(ppg_resource['virtualMachines'][0]['id'], self.kwargs['vm_id'], rg_prefix='cli_test_ppg_vm_vmss_') self._assert_ids_equal(ppg_resource['virtualMachineScaleSets'][0]['id'], self.kwargs['vmss_id'], 'cli_test_ppg_vm_vmss_') + @ResourceGroupPreparer(name_prefix='cli_test_ppg_update_') + def test_ppg_update(self, resource_group): + self.kwargs.update({ + 'ppg': 'ppg1', + 'vm': 'vm1', + 'vmss': 'vmss1', + 'avset': 'avset1', + 'ssh_key': TEST_SSH_KEY_PUB + }) + + self.kwargs['ppg_id'] = self.cmd('ppg create -n {ppg} -t standard -g {rg}').get_output_in_json()['id'] + + self.cmd('vmss create -g {rg} -n {vmss} --image debian --admin-username debian --ssh-key-value \'{ssh_key}\'') + self.kwargs['vmss_id'] = self.cmd('vmss show -g {rg} -n {vmss}').get_output_in_json()['id'] + self.cmd('vmss deallocate -g {rg} -n {vmss}') + time.sleep(30) + self.cmd('vmss update -g {rg} -n {vmss} --ppg {ppg_id}') + + self.cmd('vm create -g {rg} -n {vm} --image debian --admin-username debian --ssh-key-value \'{ssh_key}\'') + self.kwargs['vm_id'] = self.cmd('vm show -g {rg} -n {vm}').get_output_in_json()['id'] + self.cmd('vm deallocate -g {rg} -n {vm}') + time.sleep(30) + self.cmd('vm update -g {rg} -n {vm} --ppg {ppg_id}') + + # self.kwargs['avset_id'] = self.cmd('vm availability-set create -g {rg} -n {avset}').get_output_in_json()['id'] + # self.cmd('vm availability-set update -g {rg} -n {avset} --ppg {ppg_id}') + + ppg_resource = self.cmd('ppg show -n {ppg} -g {rg}').get_output_in_json() + + # self._assert_ids_equal(ppg_resource['availabilitySets'][0]['id'], self.kwargs['avset_id'], + # rg_prefix='cli_test_ppg_update_') + self._assert_ids_equal(ppg_resource['virtualMachines'][0]['id'], self.kwargs['vm_id'], + rg_prefix='cli_test_ppg_update_') + self._assert_ids_equal(ppg_resource['virtualMachineScaleSets'][0]['id'], self.kwargs['vmss_id'], + 'cli_test_ppg_update_') + # it would be simpler to do the following: # self.assertEqual(ppg_resource['availabilitySets'][0]['id'].lower(), self.kwargs['avset_id'].lower()) # self.assertEqual(ppg_resource['virtualMachines'][0]['id'].lower(), self.kwargs['vm_id'].lower()) From f00a493ed1167fbcc4e4249170083e06e6373148 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Fri, 31 Jan 2020 15:54:24 +0800 Subject: [PATCH 2/4] stage --- src/azure-cli/azure/cli/command_modules/vm/commands.py | 2 +- src/azure-cli/azure/cli/command_modules/vm/custom.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/commands.py b/src/azure-cli/azure/cli/command_modules/vm/commands.py index 0aa4f63f1ce..91f7f90fc03 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/commands.py @@ -283,7 +283,7 @@ def load_command_table(self, _): g.custom_command('list', 'list_av_sets') g.command('list-sizes', 'list_available_sizes') g.show_command('show', 'get') - g.generic_update_command('update') + g.generic_update_command('update', custom_func_name='update_av_set') with self.command_group('vm boot-diagnostics', compute_vm_sdk) as g: g.custom_command('disable', 'disable_boot_diagnostics') diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index 2d2daf2a19c..94984533541 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -1246,6 +1246,11 @@ def create_av_set(cmd, availability_set_name, resource_group_name, platform_faul return compute_client.availability_sets.get(resource_group_name, availability_set_name) +def update_av_set(instance, resource_group_name, ppg=None): + if ppg is not None: + instance. + + def list_av_sets(cmd, resource_group_name=None): op_group = _compute_client_factory(cmd.cli_ctx).availability_sets if resource_group_name: From af3e146fcc120b0e44b7b606b2c79f78a6211c26 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Tue, 4 Feb 2020 17:32:26 +0800 Subject: [PATCH 3/4] add test --- .../azure/cli/command_modules/vm/custom.py | 3 +- .../latest/recordings/test_ppg_update.yaml | 2410 +++++++++++++++-- .../vm/tests/latest/test_vm_commands.py | 10 +- 3 files changed, 2161 insertions(+), 262 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index 94984533541..aa5c9dde674 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -1248,7 +1248,8 @@ def create_av_set(cmd, availability_set_name, resource_group_name, platform_faul def update_av_set(instance, resource_group_name, ppg=None): if ppg is not None: - instance. + instance.proximity_placement_group = {'id': ppg} + return instance def list_av_sets(cmd, resource_group_name=None): diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml index 9254151545d..1db3f69d9e2 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml @@ -11,17 +11,17 @@ interactions: Connection: - keep-alive ParameterSetName: - - -n -t -g + - -g -n -t User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-31T06:44:04Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:44:19 GMT + - Tue, 04 Feb 2020 04:04:08 GMT expires: - '-1' pragma: @@ -61,14 +61,14 @@ interactions: Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -n -t -g + - -g -n -t User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 accept-language: - en-US method: PUT - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-07-01 response: body: string: "{\r\n \"name\": \"ppg1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\",\r\n @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:44:26 GMT + - Tue, 04 Feb 2020 04:04:15 GMT expires: - '-1' pragma: @@ -96,9 +96,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutDeletePPG3Min;99,Microsoft.Compute/PutDeletePPG30Min;492 + - Microsoft.Compute/PutDeletePPG3Min;98,Microsoft.Compute/PutDeletePPG30Min;497 x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -121,10 +121,10 @@ interactions: accept-language: - en-US method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-31T06:44:04Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -133,7 +133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:44:30 GMT + - Tue, 04 Feb 2020 04:04:17 GMT expires: - '-1' pragma: @@ -159,7 +159,7 @@ interactions: User-Agent: - python-requests/2.22.0 method: GET - uri: https://localhost:1080/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json response: body: string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n @@ -212,13 +212,13 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Fri, 31 Jan 2020 06:44:33 GMT + - Tue, 04 Feb 2020 04:04:20 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Fri, 31 Jan 2020 06:49:33 GMT + - Tue, 04 Feb 2020 04:09:20 GMT source-age: - - '257' + - '253' strict-transport-security: - max-age=31536000 vary: @@ -227,23 +227,23 @@ interactions: - 1.1 varnish (Varnish/6.0) - 1.1 varnish x-cache: - - MISS + - HIT x-cache-hits: - - '0' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 1ff8858aa3ab569132f9305b71299e56e508c908 + - b633766a3013f7ce0ef8cf76b29f6ba78f962f4d x-frame-options: - deny x-geo-block-list: - '' x-github-request-id: - - 80D0:7D63:33EA26:3E900C:5E33C6FE + - 6BAE:35BD:36FE2:43752:5E38DA8F x-served-by: - - cache-hkg17934-HKG + - cache-hkg17935-HKG x-timer: - - S1580453073.143849,VS0,VE205 + - S1580789060.217811,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -268,7 +268,7 @@ interactions: accept-language: - en-US method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: body: string: '{"value":[]}' @@ -280,7 +280,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:44:36 GMT + - Tue, 04 Feb 2020 04:04:23 GMT expires: - '-1' pragma: @@ -319,13 +319,13 @@ interactions: "manual"}, "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", - "version": "latest"}}, "osProfile": {"computerNamePrefix": "vmss1b49d", "adminUsername": + "version": "latest"}}, "osProfile": {"computerNamePrefix": "vmss10013", "adminUsername": "debian", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/debian/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n"}]}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss1b49dNic", "properties": {"primary": "true", "ipConfigurations": - [{"name": "vmss1b49dIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + [{"name": "vmss10013Nic", "properties": {"primary": "true", "ipConfigurations": + [{"name": "vmss10013IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}}, "singlePlacementGroup": null}}], "outputs": {"VMSS": {"type": "object", "value": @@ -353,21 +353,21 @@ interactions: accept-language: - en-US method: PUT - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","name":"vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6169422812590816101","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-01-31T06:44:45.3508403Z","duration":"PT2.71711S","correlationId":"a0fbbd77-3bf1-4b96-a732-26199dba76d2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","name":"vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6486485595174634230","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T04:04:29.7826566Z","duration":"PT3.1896444S","correlationId":"7e267956-f364-407c-85d6-4f2daad4816c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj/operationStatuses/08586211538028438885?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz/operationStatuses/08586208178188846105?api-version=2019-07-01 cache-control: - no-cache content-length: - - '2690' + - '2692' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:44:46 GMT + - Tue, 04 Feb 2020 04:04:31 GMT expires: - '-1' pragma: @@ -377,7 +377,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -398,7 +398,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -410,7 +410,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:45:19 GMT + - Tue, 04 Feb 2020 04:05:05 GMT expires: - '-1' pragma: @@ -441,7 +441,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -453,7 +453,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:45:50 GMT + - Tue, 04 Feb 2020 04:05:35 GMT expires: - '-1' pragma: @@ -484,7 +484,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -496,7 +496,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:46:20 GMT + - Tue, 04 Feb 2020 04:06:06 GMT expires: - '-1' pragma: @@ -527,7 +527,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -539,7 +539,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:46:50 GMT + - Tue, 04 Feb 2020 04:06:38 GMT expires: - '-1' pragma: @@ -570,7 +570,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -582,7 +582,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:47:22 GMT + - Tue, 04 Feb 2020 04:07:08 GMT expires: - '-1' pragma: @@ -613,7 +613,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -625,7 +625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:47:52 GMT + - Tue, 04 Feb 2020 04:07:38 GMT expires: - '-1' pragma: @@ -656,7 +656,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -668,7 +668,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:48:22 GMT + - Tue, 04 Feb 2020 04:08:10 GMT expires: - '-1' pragma: @@ -699,7 +699,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -711,7 +711,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:48:53 GMT + - Tue, 04 Feb 2020 04:08:42 GMT expires: - '-1' pragma: @@ -742,19 +742,19 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586211538028438885?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: - string: '{"status":"Succeeded"}' + string: '{"status":"Running"}' headers: cache-control: - no-cache content-length: - - '22' + - '20' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:49:24 GMT + - Tue, 04 Feb 2020 04:09:12 GMT expires: - '-1' pragma: @@ -785,21 +785,19 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","name":"vmss_deploy_iBNlpOQbkErF7lfPvxq8IFtCUSnQubdj","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6169422812590816101","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-01-31T06:48:54.8119593Z","duration":"PT4M12.178229S","correlationId":"a0fbbd77-3bf1-4b96-a732-26199dba76d2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1b49d","adminUsername":"debian","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/debian/.ssh/authorized_keys","keyData":"ssh-rsa - AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]},"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss1b49dNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss1b49dIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + string: '{"status":"Running"}' headers: cache-control: - no-cache content-length: - - '6201' + - '20' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:49:24 GMT + - Tue, 04 Feb 2020 04:09:43 GMT expires: - '-1' pragma: @@ -821,70 +819,38 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - vmss show + - vmss create Connection: - keep-alive ParameterSetName: - - -g -n + - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 - accept-language: - - en-US + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: - string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": - \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": - {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": - \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss1b49d\",\r\n \"adminUsername\": - \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n - \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": - \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n - \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": - [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": - true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n - \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": - {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n - \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n - \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": - true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + string: '{"status":"Running"}' headers: cache-control: - no-cache content-length: - - '3569' + - '20' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:49:29 GMT + - Tue, 04 Feb 2020 04:10:14 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;395,Microsoft.Compute/GetVMScaleSet30Min;2579 status: code: 200 message: OK @@ -896,56 +862,84 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - vmss deallocate + - vmss create Connection: - keep-alive - Content-Length: - - '0' - Content-Type: + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:10:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive ParameterSetName: - - -g -n + - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 - accept-language: - - en-US - method: POST - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/deallocate?api-version=2019-07-01 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: - string: '' + string: '{"status":"Running"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 cache-control: - no-cache content-length: - - '0' + - '20' + content-type: + - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:49:31 GMT + - Tue, 04 Feb 2020 04:11:20 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?monitor=true&api-version=2019-07-01 pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVMScaleSet3Min;79,Microsoft.Compute/DeleteVMScaleSet30Min;396,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1194,Microsoft.Compute/VmssQueuedVMOperations;4798 - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-ms-request-charge: - - '2' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -954,46 +948,38 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - vmss deallocate + - vmss create Connection: - keep-alive ParameterSetName: - - -g -n + - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: '{"status":"Running"}' headers: cache-control: - no-cache content-length: - - '134' + - '20' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:50:03 GMT + - Tue, 04 Feb 2020 04:11:51 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29979 status: code: 200 message: OK @@ -1005,46 +991,38 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - vmss deallocate + - vmss create Connection: - keep-alive ParameterSetName: - - -g -n + - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: '{"status":"Succeeded"}' headers: cache-control: - no-cache content-length: - - '134' + - '22' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:50:34 GMT + - Tue, 04 Feb 2020 04:12:21 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29976 status: code: 200 message: OK @@ -1056,46 +1034,40 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - vmss deallocate + - vmss create Connection: - keep-alive ParameterSetName: - - -g -n + - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","name":"vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6486485595174634230","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T04:12:00.7363896Z","duration":"PT7M34.1433774S","correlationId":"7e267956-f364-407c-85d6-4f2daad4816c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss10013","adminUsername":"debian","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/debian/.ssh/authorized_keys","keyData":"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]},"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss10013Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss10013IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"a71769c9-495d-4a9e-85d0-d57557c8bb14"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '134' + - '6202' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:51:04 GMT + - Tue, 04 Feb 2020 04:12:21 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29973 status: code: 200 message: OK @@ -1107,7 +1079,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - vmss deallocate + - vmss show Connection: - keep-alive ParameterSetName: @@ -1115,21 +1087,45 @@ interactions: User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss10013\",\r\n \"adminUsername\": + \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n + \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": + [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": + true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n + \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n + \ \"managedDisk\": {\r\n \"storageAccountType\": \"Premium_LRS\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": + \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '3569' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:51:35 GMT + - Tue, 04 Feb 2020 04:12:23 GMT expires: - '-1' pragma: @@ -1146,7 +1142,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29970 + - Microsoft.Compute/GetVMScaleSet3Min;396,Microsoft.Compute/GetVMScaleSet30Min;2592 status: code: 200 message: OK @@ -1161,28 +1157,35 @@ interactions: - vmss deallocate Connection: - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 - method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/deallocate?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 cache-control: - no-cache content-length: - - '134' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Fri, 31 Jan 2020 06:52:05 GMT + - Tue, 04 Feb 2020 04:12:25 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -1190,17 +1193,17 @@ 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-resource: - - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29967 + - Microsoft.Compute/DeleteVMScaleSet3Min;79,Microsoft.Compute/DeleteVMScaleSet30Min;399,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1194,Microsoft.Compute/VmssQueuedVMOperations;4798 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-charge: + - '2' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1218,20 +1221,20 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:52:36 GMT + - Tue, 04 Feb 2020 04:12:55 GMT expires: - '-1' pragma: @@ -1248,7 +1251,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29964 + - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK @@ -1269,20 +1272,20 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:53:06 GMT + - Tue, 04 Feb 2020 04:13:26 GMT expires: - '-1' pragma: @@ -1299,7 +1302,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29961 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29989 status: code: 200 message: OK @@ -1320,20 +1323,20 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" headers: cache-control: - no-cache content-length: - - '134' + - '133' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:53:38 GMT + - Tue, 04 Feb 2020 04:13:56 GMT expires: - '-1' pragma: @@ -1350,7 +1353,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29958 + - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29986 status: code: 200 message: OK @@ -1371,21 +1374,21 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/76b3b7d5-bd46-4528-bc2e-0b68e57db11d?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:49:32.3793022+00:00\",\r\n \"endTime\": - \"2020-01-31T06:53:55.1760539+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"76b3b7d5-bd46-4528-bc2e-0b68e57db11d\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"endTime\": + \"2020-02-04T04:14:07.1263342+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:54:08 GMT + - Tue, 04 Feb 2020 04:14:27 GMT expires: - '-1' pragma: @@ -1402,7 +1405,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29956 + - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29983 status: code: 200 message: OK @@ -1425,7 +1428,7 @@ interactions: accept-language: - en-US method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 response: body: string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n @@ -1434,7 +1437,7 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss1b49d\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss10013\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": @@ -1448,10 +1451,10 @@ interactions: \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" headers: cache-control: - no-cache @@ -1460,7 +1463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:54:42 GMT + - Tue, 04 Feb 2020 04:14:59 GMT expires: - '-1' pragma: @@ -1477,14 +1480,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;398,Microsoft.Compute/GetVMScaleSet30Min;2576 + - Microsoft.Compute/GetVMScaleSet3Min;393,Microsoft.Compute/GetVMScaleSet30Min;2589 status: code: 200 message: OK - request: body: 'b''{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": - "Manual"}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1b49d", + "Manual"}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss10013", "adminUsername": "debian", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/debian/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== @@ -1492,9 +1495,9 @@ interactions: {"imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}, "osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss1b49dNic", "properties": {"primary": + {"networkInterfaceConfigurations": [{"name": "vmss10013Nic", "properties": {"primary": true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, - "ipConfigurations": [{"name": "vmss1b49dIPConfig", "properties": {"subnet": + "ipConfigurations": [{"name": "vmss10013IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], @@ -1522,7 +1525,7 @@ interactions: accept-language: - en-US method: PUT - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 response: body: string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n @@ -1531,9 +1534,9 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"proximityPlacementGroup\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_BCEYJIQMO3T7UXSQGSB5B4NCQEUWNLG2NLOVUDCR64OWM4Z43PLBMVD/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss1b49d\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": + \"vmss10013\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa @@ -1547,15 +1550,15 @@ interactions: \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7e421f80-e597-46d8-9f3c-f287ac80af4a?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/d142dab9-47ef-43a3-a880-2103a3660a23?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -1563,7 +1566,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:54:47 GMT + - Tue, 04 Feb 2020 04:15:04 GMT expires: - '-1' pragma: @@ -1580,7 +1583,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;293,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;297,Microsoft.Compute/VmssQueuedVMOperations;4800 x-ms-ratelimit-remaining-subscription-writes: - '1198' x-ms-request-charge: @@ -1605,21 +1608,21 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7e421f80-e597-46d8-9f3c-f287ac80af4a?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/d142dab9-47ef-43a3-a880-2103a3660a23?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-01-31T06:54:45.2237096+00:00\",\r\n \"endTime\": - \"2020-01-31T06:54:45.457745+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"7e421f80-e597-46d8-9f3c-f287ac80af4a\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T04:15:02.2828747+00:00\",\r\n \"endTime\": + \"2020-02-04T04:15:02.4859874+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"d142dab9-47ef-43a3-a880-2103a3660a23\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:54:59 GMT + - Tue, 04 Feb 2020 04:15:16 GMT expires: - '-1' pragma: @@ -1636,7 +1639,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14985,Microsoft.Compute/GetOperation30Min;29953 + - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29981 status: code: 200 message: OK @@ -1657,7 +1660,7 @@ interactions: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 response: body: string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n @@ -1666,9 +1669,9 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"proximityPlacementGroup\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_BCEYJIQMO3T7UXSQGSB5B4NCQEUWNLG2NLOVUDCR64OWM4Z43PLBMVD/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss1b49d\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": + \"vmss10013\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa @@ -1682,10 +1685,10 @@ interactions: \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b49dNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b49dIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"01b51eb2-cdf7-4fc1-928c-4bde18bb7a2b\"\r\n }\r\n}" + \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" headers: cache-control: - no-cache @@ -1694,7 +1697,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:54:59 GMT + - Tue, 04 Feb 2020 04:15:16 GMT expires: - '-1' pragma: @@ -1711,7 +1714,1898 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;396,Microsoft.Compute/GetVMScaleSet30Min;2579 + - Microsoft.Compute/GetVMScaleSet3Min;395,Microsoft.Compute/GetVMScaleSet30Min;2587 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:15:17 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 + method: GET + uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json + response: + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": + \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n + \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": + \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": + \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": + {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n + \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": + \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\"\n }\n },\n \"Windows\": + {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": + \"latest\"\n }\n }\n }\n }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2501' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:15:19 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Tue, 04 Feb 2020 04:20:19 GMT + source-age: + - '241' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding + via: + - 1.1 varnish (Varnish/6.0) + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - 2bd26f8cfaa4208acfb1e8b83c82ffb705b16457 + x-frame-options: + - deny + x-geo-block-list: + - '' + x-github-request-id: + - 6BAE:35BD:36FE2:43752:5E38DA8F + x-served-by: + - cache-hkg17929-HKG + x-timer: + - S1580789719.266189,VS0,VE230 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 + response: + body: + string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vmss1VNET\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET\",\r\n + \ \"etag\": \"W/\\\"d2cf788e-6c71-47b3-9a98-2f50ce83d0e6\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"efd7358a-c6ab-4f1f-a31f-98fd9b9d608d\",\r\n + \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n + \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": + \"vmss1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\",\r\n + \ \"etag\": \"W/\\\"d2cf788e-6c71-47b3-9a98-2f50ce83d0e6\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss10013Nic/ipConfigurations/vmss10013IPConfig\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/vmss10013Nic/ipConfigurations/vmss10013IPConfig\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": + false,\r\n \"enableVmProtection\": false\r\n }\r\n }\r\n ]\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2169' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:15:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ad1b7821-32ed-40fe-bc27-605e65f1f7b0 + status: + code: 200 + message: OK +- request: + body: 'b''{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"type": "Microsoft.Network/networkSecurityGroups", "name": "vm1NSG", "apiVersion": + "2015-06-15", "location": "westus", "tags": {}, "dependsOn": [], "properties": + {"securityRules": [{"name": "default-allow-ssh", "properties": {"protocol": + "Tcp", "sourcePortRange": "*", "destinationPortRange": "22", "sourceAddressPrefix": + "*", "destinationAddressPrefix": "*", "access": "Allow", "priority": 1000, "direction": + "Inbound"}}]}}, {"apiVersion": "2018-01-01", "type": "Microsoft.Network/publicIPAddresses", + "name": "vm1PublicIP", "location": "westus", "tags": {}, "dependsOn": [], "properties": + {"publicIPAllocationMethod": null}}, {"apiVersion": "2015-06-15", "type": "Microsoft.Network/networkInterfaces", + "name": "vm1VMNic", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Network/networkSecurityGroups/vm1NSG", + "Microsoft.Network/publicIpAddresses/vm1PublicIP"], "properties": {"ipConfigurations": + [{"name": "ipconfigvm1", "properties": {"privateIPAllocationMethod": "Dynamic", + "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}}}], + "networkSecurityGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"}}}, + {"apiVersion": "2019-07-01", "type": "Microsoft.Compute/virtualMachines", "name": + "vm1", "location": "westus", "tags": {}, "dependsOn": ["Microsoft.Network/networkInterfaces/vm1VMNic"], + "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "networkProfile": + {"networkInterfaces": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"}]}, + "storageProfile": {"osDisk": {"createOption": "fromImage", "name": null, "caching": + "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": + {"publisher": "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}}, + "osProfile": {"computerName": "vm1", "adminUsername": "debian", "linuxConfiguration": + {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n", "path": "/home/debian/.ssh/authorized_keys"}]}}}}}], "outputs": + {}}, "parameters": {}, "mode": "Incremental"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + Content-Length: + - '3663' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","name":"vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9139263406721852943","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T04:15:27.6955791Z","duration":"PT3.243625S","correlationId":"0f656b18-a2ea-48ea-b85b-f234931f952a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1/operationStatuses/08586208171610256621?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '2403' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:15:28 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:16:09 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:16:39 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:17:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:17:40 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:18:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:18:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:19:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:19:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:20:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","name":"vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9139263406721852943","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T04:20:12.512599Z","duration":"PT4M48.0606449S","correlationId":"0f656b18-a2ea-48ea-b85b-f234931f952a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3266' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:20:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?$expand=instanceView&api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n + \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n + \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\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/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n + \ \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n + \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n + \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": + true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"instanceView\": {\r\n \"computerName\": + \"vm1\",\r\n \"osName\": \"debian\",\r\n \"osVersion\": \"10.2\",\r\n + \ \"vmAgent\": {\r\n \"vmAgentVersion\": \"2.2.34\",\r\n \"statuses\": + [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n + \ \"message\": \"Guest Agent is running\",\r\n \"time\": + \"2020-02-04T04:20:14+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n + \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n + \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning + succeeded\",\r\n \"time\": \"2020-02-04T04:19:26.2994102+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\": \"2020-02-04T04:20:10.4558728+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}" + headers: + cache-control: + - no-cache + content-length: + - '4093' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:20:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31982 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n + \ \"etag\": \"W/\\\"d0592e33-b75d-4072-acf8-9d152e569237\\\"\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"4e044de8-2f69-4685-aa09-045ad8ad5afa\",\r\n + \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n + \ \"etag\": \"W/\\\"d0592e33-b75d-4072-acf8-9d152e569237\\\"\",\r\n + \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": + \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\"\r\n + \ },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\r\n + \ },\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\": + \"ri03p13lyypu5iy5td4zxhlarf.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-30-33-60\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n + \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2572' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:20:15 GMT + etag: + - W/"d0592e33-b75d-4072-acf8-9d152e569237" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ff5a8920-5a7f-434a-a72a-e235c0e6e054 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP?api-version=2018-01-01 + response: + body: + string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n + \ \"etag\": \"W/\\\"80e273e6-32d5-43a7-9db2-41b24ee73753\\\"\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"607aca50-f750-4e08-8843-d267388c1be3\",\r\n + \ \"ipAddress\": \"104.42.150.185\",\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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '998' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:20:15 GMT + etag: + - W/"80e273e6-32d5-43a7-9db2-41b24ee73753" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4915993c-8788-4fec-b521-2d65363cf804 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm show + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n + \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n + \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\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/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": + []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n + \ \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n + \ \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n + \ \"publicKeys\": [\r\n {\r\n \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n + \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": + true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2802' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:20:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31981 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm deallocate + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1/deallocate?api-version=2019-07-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Feb 2020 04:20:17 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?monitor=true&api-version=2019-07-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1193 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-02-04T04:20:17.7059432+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b4480a74-4cc4-4f95-b8b9-fedf86b52f8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:20:27 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29978 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-02-04T04:20:17.7059432+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"b4480a74-4cc4-4f95-b8b9-fedf86b52f8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:21:04 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29974 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm deallocate + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-02-04T04:20:17.7059432+00:00\",\r\n \"endTime\": + \"2020-02-04T04:21:08.8624552+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"b4480a74-4cc4-4f95-b8b9-fedf86b52f8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:21:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29972 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n + \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n + \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + \ }\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": + {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"debian\",\r\n + \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": + true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2727' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:22:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31979 + status: + code: 200 + message: OK +- request: + body: 'b''{"location": "westus", "tags": {}, "properties": {"hardwareProfile": + {"vmSize": "Standard_DS1_v2"}, "storageProfile": {"imageReference": {"publisher": + "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}, "osDisk": + {"osType": "Linux", "name": "vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325", + "caching": "ReadWrite", "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325"}}, + "dataDisks": []}, "osProfile": {"computerName": "vm1", "adminUsername": "debian", + "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": + [{"path": "/home/debian/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n"}]}, "provisionVMAgent": true}, "secrets": [], "allowExtensionOperations": + true, "requireGuestProvisionSignal": true}, "networkProfile": {"networkInterfaces": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"}]}, + "proximityPlacementGroup": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1"}}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm update + Connection: + - keep-alive + Content-Length: + - '2187' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n + \ \"proximityPlacementGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + \ }\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": + {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"debian\",\r\n + \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": + true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Updating\"\r\n }\r\n}" + headers: + azure-asyncnotification: + - Enabled + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/125452bb-59c4-4449-8d2f-5eb5932ec121?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '2984' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:22:10 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1191 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/125452bb-59c4-4449-8d2f-5eb5932ec121?api-version=2019-07-01 + response: + body: + string: "{\r\n \"startTime\": \"2020-02-04T04:22:08.4564884+00:00\",\r\n \"endTime\": + \"2020-02-04T04:22:22.9722345+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"125452bb-59c4-4449-8d2f-5eb5932ec121\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:22:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29970 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n + \ \"proximityPlacementGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n + \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n + \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": + \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + \ }\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": + {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"debian\",\r\n + \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n },\r\n \"provisionVMAgent\": + true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": + true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"networkProfile\": + {\"networkInterfaces\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\"}]},\r\n + \ \"provisioningState\": \"Succeeded\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2985' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:22:41 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31977 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '428' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:22:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"type": "Microsoft.Compute/availabilitySets", "name": "avset1", "location": + "westus", "tags": {}, "apiVersion": "2019-07-01", "properties": {"platformFaultDomainCount": + 2}, "sku": {"name": "Aligned"}}], "outputs": {}}, "parameters": {}, "mode": + "Incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + Content-Length: + - '462' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","name":"av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13980952600329620558","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T04:22:50.3897611Z","duration":"PT2.4755073S","correlationId":"b892debd-ef82-41a9-b66a-e8729edac1a7","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus"]}]}],"dependencies":[]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z/operationStatuses/08586208167175633548?api-version=2019-07-01 + cache-control: + - no-cache + content-length: + - '725' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 04:22:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208167175633548?api-version=2019-07-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 05:56:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","name":"av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13980952600329620558","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T04:25:27.8411197Z","duration":"PT2M39.9268659S","correlationId":"b892debd-ef82-41a9-b66a-e8729edac1a7","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus"]}]}],"dependencies":[],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '966' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 05:56:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"avset1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1\",\r\n + \ \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"platformUpdateDomainCount\": + 5,\r\n \"platformFaultDomainCount\": 2,\r\n \"virtualMachines\": []\r\n + \ },\r\n \"sku\": {\r\n \"name\": \"Aligned\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '486' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 05:56:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31999 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"avset1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1\",\r\n + \ \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"platformUpdateDomainCount\": + 5,\r\n \"platformFaultDomainCount\": 2,\r\n \"virtualMachines\": []\r\n + \ },\r\n \"sku\": {\r\n \"name\": \"Aligned\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '486' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 05:56:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31998 + status: + code: 200 + message: OK +- request: + body: 'b''{"location": "westus", "tags": {}, "properties": {"platformUpdateDomainCount": + 5, "platformFaultDomainCount": 2, "virtualMachines": [], "proximityPlacementGroup": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1"}}, + "sku": {"name": "Aligned"}}''' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set update + Connection: + - keep-alive + Content-Length: + - '403' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"avset1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1\",\r\n + \ \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"platformUpdateDomainCount\": + 5,\r\n \"platformFaultDomainCount\": 2,\r\n \"proximityPlacementGroup\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \ }\r\n },\r\n \"sku\": {\r\n \"name\": \"Aligned\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '716' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 05:56:23 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1199 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -1734,24 +3628,28 @@ interactions: accept-language: - en-US method: GET - uri: https://localhost:1080/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-07-01 response: body: string: "{\r\n \"name\": \"ppg1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\",\r\n \ \"type\": \"Microsoft.Compute/proximityPlacementGroups\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"proximityPlacementGroupType\": - \"Standard\",\r\n \"virtualMachines\": [],\r\n \"virtualMachineScaleSets\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_BCEYJIQMO3T7UXSQGSB5B4NCQEUWNLG2NLOVUDCR64OWM4Z43PLBMVD/providers/Microsoft.Compute/virtualMachineScaleSets/VMSS1\"\r\n - \ }\r\n ],\r\n \"availabilitySets\": []\r\n }\r\n}" + \"Standard\",\r\n \"virtualMachines\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/virtualMachines/VM1\"\r\n + \ }\r\n ],\r\n \"virtualMachineScaleSets\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/virtualMachineScaleSets/VMSS1\"\r\n + \ }\r\n ],\r\n \"availabilitySets\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/availabilitySets/AVSET1\"\r\n + \ }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '739' + - '1207' content-type: - application/json; charset=utf-8 date: - - Fri, 31 Jan 2020 06:55:02 GMT + - Tue, 04 Feb 2020 05:56:25 GMT expires: - '-1' pragma: @@ -1768,7 +3666,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/HighCostGet3Min;138,Microsoft.Compute/HighCostGet30Min;691 + - Microsoft.Compute/HighCostGet3Min;139,Microsoft.Compute/HighCostGet30Min;699 status: code: 200 message: OK diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py index 90c3b8e0fd0..b182f469efb 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py @@ -3506,7 +3506,7 @@ def test_ppg_update(self, resource_group): 'ssh_key': TEST_SSH_KEY_PUB }) - self.kwargs['ppg_id'] = self.cmd('ppg create -n {ppg} -t standard -g {rg}').get_output_in_json()['id'] + self.kwargs['ppg_id'] = self.cmd('ppg create -g {rg} -n {ppg} -t standard').get_output_in_json()['id'] self.cmd('vmss create -g {rg} -n {vmss} --image debian --admin-username debian --ssh-key-value \'{ssh_key}\'') self.kwargs['vmss_id'] = self.cmd('vmss show -g {rg} -n {vmss}').get_output_in_json()['id'] @@ -3520,13 +3520,13 @@ def test_ppg_update(self, resource_group): time.sleep(30) self.cmd('vm update -g {rg} -n {vm} --ppg {ppg_id}') - # self.kwargs['avset_id'] = self.cmd('vm availability-set create -g {rg} -n {avset}').get_output_in_json()['id'] - # self.cmd('vm availability-set update -g {rg} -n {avset} --ppg {ppg_id}') + self.kwargs['avset_id'] = self.cmd('vm availability-set create -g {rg} -n {avset}').get_output_in_json()['id'] + self.cmd('vm availability-set update -g {rg} -n {avset} --ppg {ppg_id}') ppg_resource = self.cmd('ppg show -n {ppg} -g {rg}').get_output_in_json() - # self._assert_ids_equal(ppg_resource['availabilitySets'][0]['id'], self.kwargs['avset_id'], - # rg_prefix='cli_test_ppg_update_') + self._assert_ids_equal(ppg_resource['availabilitySets'][0]['id'], self.kwargs['avset_id'], + rg_prefix='cli_test_ppg_update_') self._assert_ids_equal(ppg_resource['virtualMachines'][0]['id'], self.kwargs['vm_id'], rg_prefix='cli_test_ppg_update_') self._assert_ids_equal(ppg_resource['virtualMachineScaleSets'][0]['id'], self.kwargs['vmss_id'], From e86c337d9a4090b0937cf8e7eadf483e3b6ba832 Mon Sep 17 00:00:00 2001 From: Feiyue Yu Date: Tue, 4 Feb 2020 20:43:47 +0800 Subject: [PATCH 4/4] Add help; Support translataion from name to ID --- .../azure/cli/command_modules/vm/_params.py | 5 +- .../azure/cli/command_modules/vm/custom.py | 18 +- .../latest/recordings/test_ppg_update.yaml | 1884 +++++++++++++---- 3 files changed, 1483 insertions(+), 424 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/vm/_params.py b/src/azure-cli/azure/cli/command_modules/vm/_params.py index 38bb6bf96cc..6ea8ba5772d 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_params.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_params.py @@ -839,7 +839,10 @@ def load_arguments(self, _): c.argument('ppg_type', options_list=['--type', '-t'], help="The type of the proximity placement group. Allowed values: Standard.") c.argument('tags', tags_type) - for scope, item in [('vm create', 'VM'), ('vmss create', 'VMSS'), ('vm availability-set create', 'availability set')]: + for scope, item in [('vm create', 'VM'), ('vmss create', 'VMSS'), + ('vm availability-set create', 'availability set'), + ('vm update', 'VM'), ('vmss update', 'VMSS'), + ('vm availability-set update', 'availability set')]: with self.argument_context(scope, min_api='2018-04-01') as c: c.argument('proximity_placement_group', options_list=['--ppg'], help="The name or ID of the proximity placement group the {} should be associated with.".format(item), validator=_validate_proximity_placement_group) # only availability set does not have a command level validator, so this should be added. diff --git a/src/azure-cli/azure/cli/command_modules/vm/custom.py b/src/azure-cli/azure/cli/command_modules/vm/custom.py index c60e547fcac..18520a18dbf 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -1057,7 +1057,7 @@ def show_vm(cmd, resource_group_name, vm_name, show_details=False): def update_vm(cmd, resource_group_name, vm_name, os_disk=None, disk_caching=None, write_accelerator=None, license_type=None, no_wait=False, ultra_ssd_enabled=None, - priority=None, max_price=None, ppg=None, **kwargs): + priority=None, max_price=None, proximity_placement_group=None, **kwargs): from msrestazure.tools import parse_resource_id, resource_id, is_valid_resource_id from ._vm_utils import update_write_accelerator_settings, update_disk_caching vm = kwargs['parameters'] @@ -1098,8 +1098,8 @@ def update_vm(cmd, resource_group_name, vm_name, os_disk=None, disk_caching=None else: vm.billing_profile.max_price = max_price - if ppg is not None: - vm.proximity_placement_group = {'id': ppg} + if proximity_placement_group is not None: + vm.proximity_placement_group = {'id': proximity_placement_group} return sdk_no_wait(no_wait, _compute_client_factory(cmd.cli_ctx).virtual_machines.create_or_update, resource_group_name, vm_name, **kwargs) @@ -1246,9 +1246,9 @@ def create_av_set(cmd, availability_set_name, resource_group_name, platform_faul return compute_client.availability_sets.get(resource_group_name, availability_set_name) -def update_av_set(instance, resource_group_name, ppg=None): - if ppg is not None: - instance.proximity_placement_group = {'id': ppg} +def update_av_set(instance, resource_group_name, proximity_placement_group=None): + if proximity_placement_group is not None: + instance.proximity_placement_group = {'id': proximity_placement_group} return instance @@ -2626,7 +2626,7 @@ def update_vmss_instances(cmd, resource_group_name, vm_scale_set_name, instance_ def update_vmss(cmd, resource_group_name, name, license_type=None, no_wait=False, instance_id=None, protect_from_scale_in=None, protect_from_scale_set_actions=None, enable_terminate_notification=None, terminate_notification_time=None, ultra_ssd_enabled=None, - scale_in_policy=None, priority=None, max_price=None, ppg=None, **kwargs): + scale_in_policy=None, priority=None, max_price=None, proximity_placement_group=None, **kwargs): vmss = kwargs['parameters'] client = _compute_client_factory(cmd.cli_ctx) @@ -2688,8 +2688,8 @@ def update_vmss(cmd, resource_group_name, name, license_type=None, no_wait=False else: vmss.virtual_machine_profile.billing_profile.max_price = max_price - if ppg is not None: - vmss.proximity_placement_group = {'id': ppg} + if proximity_placement_group is not None: + vmss.proximity_placement_group = {'id': proximity_placement_group} return sdk_no_wait(no_wait, client.virtual_machine_scale_sets.create_or_update, resource_group_name, name, **kwargs) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml index 1db3f69d9e2..5d366840471 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_ppg_update.yaml @@ -14,14 +14,14 @@ interactions: - -g -n -t User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T12:15:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:04:08 GMT + - Tue, 04 Feb 2020 12:15:32 GMT expires: - '-1' pragma: @@ -64,7 +64,7 @@ interactions: - -g -n -t User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -83,7 +83,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:04:15 GMT + - Tue, 04 Feb 2020 12:15:40 GMT expires: - '-1' pragma: @@ -96,7 +96,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutDeletePPG3Min;98,Microsoft.Compute/PutDeletePPG30Min;497 + - Microsoft.Compute/PutDeletePPG3Min;99,Microsoft.Compute/PutDeletePPG30Min;499 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -117,14 +117,14 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T12:15:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -133,7 +133,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:04:17 GMT + - Tue, 04 Feb 2020 12:15:41 GMT expires: - '-1' pragma: @@ -212,17 +212,17 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 04 Feb 2020 04:04:20 GMT + - Tue, 04 Feb 2020 12:15:42 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Tue, 04 Feb 2020 04:09:20 GMT + - Tue, 04 Feb 2020 12:20:42 GMT source-age: - - '253' + - '296' strict-transport-security: - max-age=31536000 vary: - - Authorization,Accept-Encoding + - Authorization,Accept-Encoding, Accept-Encoding via: - 1.1 varnish (Varnish/6.0) - 1.1 varnish @@ -233,17 +233,17 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - b633766a3013f7ce0ef8cf76b29f6ba78f962f4d + - 888d88ebca8e0c05b962b72c015c1315a9d58f6c x-frame-options: - deny x-geo-block-list: - '' x-github-request-id: - - 6BAE:35BD:36FE2:43752:5E38DA8F + - 9F18:2403:1F250:22270:5E392B01 x-served-by: - - cache-hkg17935-HKG + - cache-sin18034-SIN x-timer: - - S1580789060.217811,VS0,VE1 + - S1580818543.586655,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -264,7 +264,7 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -280,7 +280,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:04:23 GMT + - Tue, 04 Feb 2020 12:15:42 GMT expires: - '-1' pragma: @@ -319,13 +319,13 @@ interactions: "manual"}, "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", - "version": "latest"}}, "osProfile": {"computerNamePrefix": "vmss10013", "adminUsername": + "version": "latest"}}, "osProfile": {"computerNamePrefix": "vmss105ee", "adminUsername": "debian", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/debian/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\\n"}]}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss10013Nic", "properties": {"primary": "true", "ipConfigurations": - [{"name": "vmss10013IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + [{"name": "vmss105eeNic", "properties": {"primary": "true", "ipConfigurations": + [{"name": "vmss105eeIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}}, "singlePlacementGroup": null}}], "outputs": {"VMSS": {"type": "object", "value": @@ -349,25 +349,25 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","name":"vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6486485595174634230","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T04:04:29.7826566Z","duration":"PT3.1896444S","correlationId":"7e267956-f364-407c-85d6-4f2daad4816c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_nhYrDhNgiXX9wAOqj4olBqwZ1uq3fQjL","name":"vmss_deploy_nhYrDhNgiXX9wAOqj4olBqwZ1uq3fQjL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17713574703614138641","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T12:15:48.8539435Z","duration":"PT3.3159989S","correlationId":"e2c00e62-8772-4a88-9ac0-3345fd43c33f","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz/operationStatuses/08586208178188846105?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_nhYrDhNgiXX9wAOqj4olBqwZ1uq3fQjL/operationStatuses/08586207883399396851?api-version=2019-07-01 cache-control: - no-cache content-length: - - '2692' + - '2693' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:04:31 GMT + - Tue, 04 Feb 2020 12:15:50 GMT expires: - '-1' pragma: @@ -396,9 +396,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -410,7 +410,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:05:05 GMT + - Tue, 04 Feb 2020 12:16:21 GMT expires: - '-1' pragma: @@ -439,9 +439,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -453,7 +453,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:05:35 GMT + - Tue, 04 Feb 2020 12:16:52 GMT expires: - '-1' pragma: @@ -482,9 +482,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -496,7 +496,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:06:06 GMT + - Tue, 04 Feb 2020 12:17:22 GMT expires: - '-1' pragma: @@ -525,9 +525,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -539,7 +539,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:06:38 GMT + - Tue, 04 Feb 2020 12:17:54 GMT expires: - '-1' pragma: @@ -568,9 +568,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -582,7 +582,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:07:08 GMT + - Tue, 04 Feb 2020 12:18:25 GMT expires: - '-1' pragma: @@ -611,9 +611,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -625,7 +625,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:07:38 GMT + - Tue, 04 Feb 2020 12:18:56 GMT expires: - '-1' pragma: @@ -654,9 +654,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -668,7 +668,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:08:10 GMT + - Tue, 04 Feb 2020 12:19:26 GMT expires: - '-1' pragma: @@ -697,9 +697,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -711,7 +711,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:08:42 GMT + - Tue, 04 Feb 2020 12:19:56 GMT expires: - '-1' pragma: @@ -740,9 +740,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -754,7 +754,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:09:12 GMT + - Tue, 04 Feb 2020 12:20:27 GMT expires: - '-1' pragma: @@ -783,9 +783,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -797,7 +797,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:09:43 GMT + - Tue, 04 Feb 2020 12:20:58 GMT expires: - '-1' pragma: @@ -826,9 +826,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -840,7 +840,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:10:14 GMT + - Tue, 04 Feb 2020 12:21:29 GMT expires: - '-1' pragma: @@ -869,9 +869,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -883,7 +883,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:10:45 GMT + - Tue, 04 Feb 2020 12:22:08 GMT expires: - '-1' pragma: @@ -912,9 +912,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -926,7 +926,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:11:20 GMT + - Tue, 04 Feb 2020 12:22:38 GMT expires: - '-1' pragma: @@ -955,52 +955,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 04 Feb 2020 04:11:51 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --ssh-key-value - User-Agent: - - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208178188846105?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207883399396851?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -1012,7 +969,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:12:21 GMT + - Tue, 04 Feb 2020 12:23:08 GMT expires: - '-1' pragma: @@ -1041,14 +998,14 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","name":"vmss_deploy_qYnkn7SjV0ReL9dbOnzzhopd3PwnjXNz","type":"Microsoft.Resources/deployments","properties":{"templateHash":"6486485595174634230","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T04:12:00.7363896Z","duration":"PT7M34.1433774S","correlationId":"7e267956-f364-407c-85d6-4f2daad4816c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss10013","adminUsername":"debian","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/debian/.ssh/authorized_keys","keyData":"ssh-rsa + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vmss_deploy_nhYrDhNgiXX9wAOqj4olBqwZ1uq3fQjL","name":"vmss_deploy_nhYrDhNgiXX9wAOqj4olBqwZ1uq3fQjL","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17713574703614138641","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T12:22:50.5783069Z","duration":"PT7M5.0403623S","correlationId":"e2c00e62-8772-4a88-9ac0-3345fd43c33f","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]},{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss105ee","adminUsername":"debian","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/debian/.ssh/authorized_keys","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]},"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss10013Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss10013IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"a71769c9-495d-4a9e-85d0-d57557c8bb14"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + test@example.com\n"}]},"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss105eeNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss105eeIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"50a0c819-d202-44bf-af75-25a740d6f5c8"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' headers: cache-control: - no-cache @@ -1057,7 +1014,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:12:21 GMT + - Tue, 04 Feb 2020 12:23:09 GMT expires: - '-1' pragma: @@ -1086,7 +1043,7 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -1099,7 +1056,7 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss10013\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss105ee\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": @@ -1113,10 +1070,10 @@ interactions: \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss105eeNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss105eeIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" + \"50a0c819-d202-44bf-af75-25a740d6f5c8\"\r\n }\r\n}" headers: cache-control: - no-cache @@ -1125,7 +1082,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:12:23 GMT + - Tue, 04 Feb 2020 12:23:10 GMT expires: - '-1' pragma: @@ -1142,7 +1099,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;396,Microsoft.Compute/GetVMScaleSet30Min;2592 + - Microsoft.Compute/GetVMScaleSet3Min;396,Microsoft.Compute/GetVMScaleSet30Min;2596 status: code: 200 message: OK @@ -1165,7 +1122,7 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: POST @@ -1175,17 +1132,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f6790640-02ef-40d8-9422-63e554b32ca9?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 04 Feb 2020 04:12:25 GMT + - Tue, 04 Feb 2020 12:23:11 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f6790640-02ef-40d8-9422-63e554b32ca9?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -1219,73 +1176,22 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 - response: - body: - string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '133' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 04 Feb 2020 04:12:55 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29992 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss deallocate - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f6790640-02ef-40d8-9422-63e554b32ca9?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:23:12.2750491+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f6790640-02ef-40d8-9422-63e554b32ca9\"\r\n}" headers: cache-control: - no-cache content-length: - - '133' + - '134' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:13:26 GMT + - Tue, 04 Feb 2020 12:23:42 GMT expires: - '-1' pragma: @@ -1302,7 +1208,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29989 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29992 status: code: 200 message: OK @@ -1321,22 +1227,22 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f6790640-02ef-40d8-9422-63e554b32ca9?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:23:12.2750491+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"f6790640-02ef-40d8-9422-63e554b32ca9\"\r\n}" headers: cache-control: - no-cache content-length: - - '133' + - '134' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:13:56 GMT + - Tue, 04 Feb 2020 12:24:13 GMT expires: - '-1' pragma: @@ -1353,7 +1259,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29986 + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29989 status: code: 200 message: OK @@ -1372,14 +1278,14 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/c09d092d-2bf9-4ea4-bbdc-41141c642cf5?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f6790640-02ef-40d8-9422-63e554b32ca9?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:12:25.344674+00:00\",\r\n \"endTime\": - \"2020-02-04T04:14:07.1263342+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"c09d092d-2bf9-4ea4-bbdc-41141c642cf5\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:23:12.2750491+00:00\",\r\n \"endTime\": + \"2020-02-04T12:24:34.087978+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f6790640-02ef-40d8-9422-63e554b32ca9\"\r\n}" headers: cache-control: - no-cache @@ -1388,7 +1294,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:14:27 GMT + - Tue, 04 Feb 2020 12:24:43 GMT expires: - '-1' pragma: @@ -1405,7 +1311,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29983 + - Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29986 status: code: 200 message: OK @@ -1424,7 +1330,7 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -1437,7 +1343,7 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss10013\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss105ee\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": @@ -1451,10 +1357,10 @@ interactions: \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss105eeNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss105eeIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" + \"50a0c819-d202-44bf-af75-25a740d6f5c8\"\r\n }\r\n}" headers: cache-control: - no-cache @@ -1463,7 +1369,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:14:59 GMT + - Tue, 04 Feb 2020 12:25:14 GMT expires: - '-1' pragma: @@ -1480,14 +1386,14 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;393,Microsoft.Compute/GetVMScaleSet30Min;2589 + - Microsoft.Compute/GetVMScaleSet3Min;394,Microsoft.Compute/GetVMScaleSet30Min;2594 status: code: 200 message: OK - request: body: 'b''{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": - "Manual"}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss10013", + "Manual"}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss105ee", "adminUsername": "debian", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/debian/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== @@ -1495,9 +1401,9 @@ interactions: {"imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}, "osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss10013Nic", "properties": {"primary": + {"networkInterfaceConfigurations": [{"name": "vmss105eeNic", "properties": {"primary": true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, - "ipConfigurations": [{"name": "vmss10013IPConfig", "properties": {"subnet": + "ipConfigurations": [{"name": "vmss105eeIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], @@ -1521,7 +1427,7 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -1534,9 +1440,9 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"proximityPlacementGroup\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss10013\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": + \"vmss105ee\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa @@ -1550,15 +1456,15 @@ interactions: \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss105eeNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss105eeIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" + \"50a0c819-d202-44bf-af75-25a740d6f5c8\"\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/d142dab9-47ef-43a3-a880-2103a3660a23?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/8caf10e1-c617-4e8f-987f-37cbc8c06889?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -1566,7 +1472,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:15:04 GMT + - Tue, 04 Feb 2020 12:25:21 GMT expires: - '-1' pragma: @@ -1583,9 +1489,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;297,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;59,Microsoft.Compute/CreateVMScaleSet30Min;298,Microsoft.Compute/VmssQueuedVMOperations;4800 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-ms-request-charge: - '0' status: @@ -1606,14 +1512,14 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/d142dab9-47ef-43a3-a880-2103a3660a23?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/8caf10e1-c617-4e8f-987f-37cbc8c06889?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:15:02.2828747+00:00\",\r\n \"endTime\": - \"2020-02-04T04:15:02.4859874+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"d142dab9-47ef-43a3-a880-2103a3660a23\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:25:18.4788633+00:00\",\r\n \"endTime\": + \"2020-02-04T12:25:18.6663649+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"8caf10e1-c617-4e8f-987f-37cbc8c06889\"\r\n}" headers: cache-control: - no-cache @@ -1622,7 +1528,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:15:16 GMT + - Tue, 04 Feb 2020 12:25:32 GMT expires: - '-1' pragma: @@ -1639,7 +1545,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14987,Microsoft.Compute/GetOperation30Min;29981 + - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29984 status: code: 200 message: OK @@ -1658,7 +1564,7 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2019-07-01 response: @@ -1669,9 +1575,9 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"proximityPlacementGroup\": {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": - \"vmss10013\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": + \"vmss105ee\",\r\n \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": \"/home/debian/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa @@ -1685,10 +1591,10 @@ interactions: \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss10013Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10013IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss105eeNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss105eeIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"a71769c9-495d-4a9e-85d0-d57557c8bb14\"\r\n }\r\n}" + \"50a0c819-d202-44bf-af75-25a740d6f5c8\"\r\n }\r\n}" headers: cache-control: - no-cache @@ -1697,7 +1603,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:15:16 GMT + - Tue, 04 Feb 2020 12:25:33 GMT expires: - '-1' pragma: @@ -1714,7 +1620,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;395,Microsoft.Compute/GetVMScaleSet30Min;2587 + - Microsoft.Compute/GetVMScaleSet3Min;395,Microsoft.Compute/GetVMScaleSet30Min;2592 status: code: 200 message: OK @@ -1733,14 +1639,14 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T12:15:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1749,7 +1655,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:15:17 GMT + - Tue, 04 Feb 2020 12:25:33 GMT expires: - '-1' pragma: @@ -1828,17 +1734,17 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 04 Feb 2020 04:15:19 GMT + - Tue, 04 Feb 2020 12:25:34 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Tue, 04 Feb 2020 04:20:19 GMT + - Tue, 04 Feb 2020 12:30:34 GMT source-age: - - '241' + - '227' strict-transport-security: - max-age=31536000 vary: - - Authorization,Accept-Encoding + - Authorization,Accept-Encoding, Accept-Encoding via: - 1.1 varnish (Varnish/6.0) - 1.1 varnish @@ -1849,17 +1755,17 @@ interactions: x-content-type-options: - nosniff x-fastly-request-id: - - 2bd26f8cfaa4208acfb1e8b83c82ffb705b16457 + - f3ea1c21d319431eccd7910f355937ad09b0debe x-frame-options: - deny x-geo-block-list: - '' x-github-request-id: - - 6BAE:35BD:36FE2:43752:5E38DA8F + - 8120:17C4:2F630:33921:5E396080 x-served-by: - - cache-hkg17929-HKG + - cache-sin18039-SIN x-timer: - - S1580789719.266189,VS0,VE230 + - S1580819134.453811,VS0,VE1 x-xss-protection: - 1; mode=block status: @@ -1880,7 +1786,7 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -1889,18 +1795,18 @@ interactions: body: string: "{\r\n \"value\": [\r\n {\r\n \"name\": \"vmss1VNET\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET\",\r\n - \ \"etag\": \"W/\\\"d2cf788e-6c71-47b3-9a98-2f50ce83d0e6\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"14c313fd-b5f4-4f5c-8061-fcf21f20b4a6\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"efd7358a-c6ab-4f1f-a31f-98fd9b9d608d\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"c035ea8d-7ca1-4c4d-a118-45f66ac94765\",\r\n \ \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n \ ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"vmss1Subnet\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\",\r\n - \ \"etag\": \"W/\\\"d2cf788e-6c71-47b3-9a98-2f50ce83d0e6\\\"\",\r\n + \ \"etag\": \"W/\\\"14c313fd-b5f4-4f5c-8061-fcf21f20b4a6\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"addressPrefix\": \"10.0.0.0/24\",\r\n \"ipConfigurations\": - [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss10013Nic/ipConfigurations/vmss10013IPConfig\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/vmss10013Nic/ipConfigurations/vmss10013IPConfig\"\r\n + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/vmss105eeNic/ipConfigurations/vmss105eeIPConfig\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/vmss105eeNic/ipConfigurations/vmss105eeIPConfig\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": @@ -1913,7 +1819,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:15:22 GMT + - Tue, 04 Feb 2020 12:25:34 GMT expires: - '-1' pragma: @@ -1930,7 +1836,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ad1b7821-32ed-40fe-bc27-605e65f1f7b0 + - 30d288dd-605a-4f8c-99ab-0acd40ee1ac8 status: code: 200 message: OK @@ -1980,25 +1886,25 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","name":"vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9139263406721852943","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T04:15:27.6955791Z","duration":"PT3.243625S","correlationId":"0f656b18-a2ea-48ea-b85b-f234931f952a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_CVKFkCkiqEcTdsObUFERWsdqyKCT0PmK","name":"vm_deploy_CVKFkCkiqEcTdsObUFERWsdqyKCT0PmK","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12921204045222695830","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T12:25:39.4069361Z","duration":"PT2.579778S","correlationId":"b118e6a2-954d-4b70-aa04-2fdb56cc22aa","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1/operationStatuses/08586208171610256621?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_CVKFkCkiqEcTdsObUFERWsdqyKCT0PmK/operationStatuses/08586207877486504748?api-version=2019-07-01 cache-control: - no-cache content-length: - - '2403' + - '2404' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:15:28 GMT + - Tue, 04 Feb 2020 12:25:40 GMT expires: - '-1' pragma: @@ -2008,7 +1914,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -2027,9 +1933,181 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:26:10 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:26:41 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:27:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:28:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --ssh-key-value + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2041,7 +2119,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:16:09 GMT + - Tue, 04 Feb 2020 12:28:32 GMT expires: - '-1' pragma: @@ -2070,9 +2148,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2084,7 +2162,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:16:39 GMT + - Tue, 04 Feb 2020 12:29:02 GMT expires: - '-1' pragma: @@ -2113,9 +2191,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2127,7 +2205,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:17:10 GMT + - Tue, 04 Feb 2020 12:29:33 GMT expires: - '-1' pragma: @@ -2156,9 +2234,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2170,7 +2248,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:17:40 GMT + - Tue, 04 Feb 2020 12:30:03 GMT expires: - '-1' pragma: @@ -2199,9 +2277,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2213,7 +2291,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:18:11 GMT + - Tue, 04 Feb 2020 12:30:33 GMT expires: - '-1' pragma: @@ -2242,9 +2320,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2256,7 +2334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:18:41 GMT + - Tue, 04 Feb 2020 12:31:04 GMT expires: - '-1' pragma: @@ -2285,9 +2363,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2299,7 +2377,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:19:11 GMT + - Tue, 04 Feb 2020 12:31:35 GMT expires: - '-1' pragma: @@ -2328,9 +2406,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Running"}' @@ -2342,7 +2420,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:19:41 GMT + - Tue, 04 Feb 2020 12:32:05 GMT expires: - '-1' pragma: @@ -2371,9 +2449,9 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208171610256621?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207877486504748?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -2385,7 +2463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:20:12 GMT + - Tue, 04 Feb 2020 12:32:36 GMT expires: - '-1' pragma: @@ -2414,21 +2492,21 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","name":"vm_deploy_5M7KOD4m1vil9CUEGtjgG3iG53ZwL5m1","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9139263406721852943","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T04:20:12.512599Z","duration":"PT4M48.0606449S","correlationId":"0f656b18-a2ea-48ea-b85b-f234931f952a","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/vm_deploy_CVKFkCkiqEcTdsObUFERWsdqyKCT0PmK","name":"vm_deploy_CVKFkCkiqEcTdsObUFERWsdqyKCT0PmK","type":"Microsoft.Resources/deployments","properties":{"templateHash":"12921204045222695830","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T12:32:15.949179Z","duration":"PT6M39.1220209S","correlationId":"b118e6a2-954d-4b70-aa04-2fdb56cc22aa","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG","resourceType":"Microsoft.Network/networkSecurityGroups","resourceName":"vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vm1PublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic","resourceType":"Microsoft.Network/networkInterfaces","resourceName":"vm1VMNic"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1","resourceType":"Microsoft.Compute/virtualMachines","resourceName":"vm1"}],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP"}]}}' headers: cache-control: - no-cache content-length: - - '3266' + - '3267' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:20:13 GMT + - Tue, 04 Feb 2020 12:32:36 GMT expires: - '-1' pragma: @@ -2457,7 +2535,7 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -2466,16 +2544,16 @@ interactions: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0a6072ae-bf5e-43eb-adfd-bc6dc4e7f39e\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\",\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/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \ \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n @@ -2492,15 +2570,15 @@ interactions: [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Ready\",\r\n \ \"message\": \"Guest Agent is running\",\r\n \"time\": - \"2020-02-04T04:20:14+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": - []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n + \"2020-02-04T12:32:34+00:00\"\r\n }\r\n ],\r\n \"extensionHandlers\": + []\r\n },\r\n \"disks\": [\r\n {\r\n \"name\": \"vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\",\r\n \ \"statuses\": [\r\n {\r\n \"code\": \"ProvisioningState/succeeded\",\r\n \ \"level\": \"Info\",\r\n \"displayStatus\": \"Provisioning - succeeded\",\r\n \"time\": \"2020-02-04T04:19:26.2994102+00:00\"\r\n + succeeded\",\r\n \"time\": \"2020-02-04T12:30:53.1681545+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\": \"2020-02-04T04:20:10.4558728+00:00\"\r\n + succeeded\",\r\n \"time\": \"2020-02-04T12:31:49.1994962+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}" @@ -2512,7 +2590,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:20:14 GMT + - Tue, 04 Feb 2020 12:32:37 GMT expires: - '-1' pragma: @@ -2529,7 +2607,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3996,Microsoft.Compute/LowCostGet30Min;31982 + - Microsoft.Compute/LowCostGet3Min;3990,Microsoft.Compute/LowCostGet30Min;31958 status: code: 200 message: OK @@ -2548,7 +2626,7 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -2556,12 +2634,12 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1VMNic\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic\",\r\n - \ \"etag\": \"W/\\\"d0592e33-b75d-4072-acf8-9d152e569237\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"59dea7ed-e35e-4f3f-b683-043ae3f0b083\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"4e044de8-2f69-4685-aa09-045ad8ad5afa\",\r\n + \"Succeeded\",\r\n \"resourceGuid\": \"ffcd1642-a8ea-41c7-936b-9b6ead5c7519\",\r\n \ \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfigvm1\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\",\r\n - \ \"etag\": \"W/\\\"d0592e33-b75d-4072-acf8-9d152e569237\\\"\",\r\n + \ \"etag\": \"W/\\\"59dea7ed-e35e-4f3f-b683-043ae3f0b083\\\"\",\r\n \ \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": @@ -2570,8 +2648,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\": - \"ri03p13lyypu5iy5td4zxhlarf.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": - \"00-0D-3A-30-33-60\",\r\n \"enableAcceleratedNetworking\": false,\r\n + \"rxvdlqfbprguziiyix1gvskhmf.dx.internal.cloudapp.net\"\r\n },\r\n \"macAddress\": + \"00-0D-3A-35-EF-2F\",\r\n \"enableAcceleratedNetworking\": false,\r\n \ \"enableIPForwarding\": false,\r\n \"networkSecurityGroup\": {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/networkSecurityGroups/vm1NSG\"\r\n \ },\r\n \"primary\": true,\r\n \"virtualMachine\": {\r\n \"id\": @@ -2585,9 +2663,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:20:15 GMT + - Tue, 04 Feb 2020 12:32:38 GMT etag: - - W/"d0592e33-b75d-4072-acf8-9d152e569237" + - W/"59dea7ed-e35e-4f3f-b683-043ae3f0b083" expires: - '-1' pragma: @@ -2604,7 +2682,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ff5a8920-5a7f-434a-a72a-e235c0e6e054 + - a77c9ff8-97a6-419f-8cae-fd217d95c37b status: code: 200 message: OK @@ -2623,7 +2701,7 @@ interactions: - -g -n --image --admin-username --ssh-key-value User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-network/7.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -2631,11 +2709,11 @@ interactions: response: body: string: "{\r\n \"name\": \"vm1PublicIP\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Network/publicIPAddresses/vm1PublicIP\",\r\n - \ \"etag\": \"W/\\\"80e273e6-32d5-43a7-9db2-41b24ee73753\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"9e48734f-725c-4b06-adc9-49f6ca5c7f8e\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"607aca50-f750-4e08-8843-d267388c1be3\",\r\n - \ \"ipAddress\": \"104.42.150.185\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"73e63606-6c15-41a8-ad5a-40c4f7411913\",\r\n + \ \"ipAddress\": \"104.40.54.5\",\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/cli_test_ppg_update_000001/providers/Microsoft.Network/networkInterfaces/vm1VMNic/ipConfigurations/ipconfigvm1\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -2643,13 +2721,13 @@ interactions: cache-control: - no-cache content-length: - - '998' + - '995' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:20:15 GMT + - Tue, 04 Feb 2020 12:32:38 GMT etag: - - W/"80e273e6-32d5-43a7-9db2-41b24ee73753" + - W/"9e48734f-725c-4b06-adc9-49f6ca5c7f8e" expires: - '-1' pragma: @@ -2666,7 +2744,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4915993c-8788-4fec-b521-2d65363cf804 + - 1ab63cbb-6c5b-48c8-bb6f-b6b5ca940094 status: code: 200 message: OK @@ -2685,7 +2763,7 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -2694,16 +2772,16 @@ interactions: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0a6072ae-bf5e-43eb-adfd-bc6dc4e7f39e\",\r\n \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\",\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/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\"\r\n \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \ \"adminUsername\": \"debian\",\r\n \"linuxConfiguration\": {\r\n @@ -2723,7 +2801,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:20:16 GMT + - Tue, 04 Feb 2020 12:32:40 GMT expires: - '-1' pragma: @@ -2740,7 +2818,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3995,Microsoft.Compute/LowCostGet30Min;31981 + - Microsoft.Compute/LowCostGet3Min;3989,Microsoft.Compute/LowCostGet30Min;31957 status: code: 200 message: OK @@ -2761,7 +2839,7 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: POST @@ -2771,17 +2849,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/fb11836a-376c-40d6-9335-9f8b9865ab99?api-version=2019-07-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 04 Feb 2020 04:20:17 GMT + - Tue, 04 Feb 2020 12:32:42 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?monitor=true&api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/fb11836a-376c-40d6-9335-9f8b9865ab99?monitor=true&api-version=2019-07-01 pragma: - no-cache server: @@ -2792,7 +2870,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1193 + - Microsoft.Compute/DeleteVM3Min;239,Microsoft.Compute/DeleteVM30Min;1198 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -2813,13 +2891,13 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/fb11836a-376c-40d6-9335-9f8b9865ab99?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:20:17.7059432+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b4480a74-4cc4-4f95-b8b9-fedf86b52f8f\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:32:42.6057513+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"fb11836a-376c-40d6-9335-9f8b9865ab99\"\r\n}" headers: cache-control: - no-cache @@ -2828,7 +2906,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:20:27 GMT + - Tue, 04 Feb 2020 12:32:53 GMT expires: - '-1' pragma: @@ -2845,7 +2923,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14997,Microsoft.Compute/GetOperation30Min;29978 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29971 status: code: 200 message: OK @@ -2864,13 +2942,13 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/fb11836a-376c-40d6-9335-9f8b9865ab99?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:20:17.7059432+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"b4480a74-4cc4-4f95-b8b9-fedf86b52f8f\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:32:42.6057513+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"fb11836a-376c-40d6-9335-9f8b9865ab99\"\r\n}" headers: cache-control: - no-cache @@ -2879,7 +2957,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:21:04 GMT + - Tue, 04 Feb 2020 12:33:30 GMT expires: - '-1' pragma: @@ -2896,7 +2974,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29974 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29967 status: code: 200 message: OK @@ -2915,14 +2993,14 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b4480a74-4cc4-4f95-b8b9-fedf86b52f8f?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/fb11836a-376c-40d6-9335-9f8b9865ab99?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:20:17.7059432+00:00\",\r\n \"endTime\": - \"2020-02-04T04:21:08.8624552+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"b4480a74-4cc4-4f95-b8b9-fedf86b52f8f\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:32:42.6057513+00:00\",\r\n \"endTime\": + \"2020-02-04T12:33:33.5900728+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"fb11836a-376c-40d6-9335-9f8b9865ab99\"\r\n}" headers: cache-control: - no-cache @@ -2931,7 +3009,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:21:35 GMT + - Tue, 04 Feb 2020 12:34:00 GMT expires: - '-1' pragma: @@ -2948,7 +3026,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29972 + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29965 status: code: 200 message: OK @@ -2967,24 +3045,426 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute?api-version=2019-07-01 response: body: - string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n - \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n - \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n - \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": - \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute","namespace":"Microsoft.Compute","authorizations":[{"applicationId":"60e6cd67-9c8c-4951-9b3c-23c25a2169af","roleDefinitionId":"e4770acb-272e-4dc8-87f3-12f44a612224"},{"applicationId":"a303894e-f1d8-4a37-bf10-67aa654a0596","roleDefinitionId":"903ac751-8ad5-4e5a-bfc2-5e49f450a241"},{"applicationId":"a8b6bf88-1d1a-4626-b040-9a729ea93c65","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"184909ca-69f1-4368-a6a7-c558ee6eb0bd","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"5e5e43d4-54da-4211-86a4-c6e7f3715801","roleDefinitionId":"ffcd6e5b-8772-457d-bb17-89703c03428f"},{"applicationId":"ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"},{"applicationId":"372140e0-b3b7-4226-8ef9-d57986796201","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"}],"resourceTypes":[{"resourceType":"availabilitySets","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachines","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia + East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":[]},{"location":"Canada Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"virtualMachines/extensions","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachineScaleSets","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia + East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":[]},{"location":"Canada Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"virtualMachineScaleSets/extensions","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2015-06-15","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/virtualMachines","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/networkInterfaces","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/virtualMachines/networkInterfaces","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/publicIPAddresses","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"None"},{"resourceType":"locations/operations","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/vmSizes","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/runCommands","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/usages","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/virtualMachines","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/publishers","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"operations","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"None"},{"resourceType":"restorePointCollections","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"restorePointCollections/restorePoints","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"capabilities":"None"},{"resourceType":"proximityPlacementGroups","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"virtualMachines/metricDefinitions","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2014-04-01"],"capabilities":"None"},{"resourceType":"sharedVMImages","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"defaultApiVersion":"2017-10-15-preview","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"sharedVMImages/versions","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"defaultApiVersion":"2017-10-15-preview","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations/artifactPublishers","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"capabilities":"None"},{"resourceType":"locations/capsoperations","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01","2017-10-15-preview"],"capabilities":"None"},{"resourceType":"galleries","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"galleries/images","locations":["West Central + US","South Central US","East US 2","Southeast Asia","West Europe","West US","East + US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"galleries/images/versions","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"disks","locations":["Southeast Asia","East + US 2","Central US","West Europe","East US","North Central US","South Central + US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia + East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":[]},{"location":"Canada Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"snapshots","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/diskoperations","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"None"},{"resourceType":"diskEncryptionSets","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01"],"defaultApiVersion":"2019-07-01","capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"locations/vsmoperations","locations":["East + US","West Central US","South Central US","North Europe","Australia East","Central + US","North Central US","Southeast Asia","West US","East US 2","West Europe","West + India","Australia Central","Australia Central 2","UK West","Brazil South","East + Asia","South India","Australia Southeast","France South","West US 2","Japan + West","France Central","Central India","Korea South","Korea Central","Japan + East","Canada East","Canada Central","South Africa North","UAE North","South + Africa West","Switzerland North","Germany West Central","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"images","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/logAnalytics","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01"],"capabilities":"None"},{"resourceType":"hostGroups","locations":["Central + US","East US 2","West Europe","Southeast Asia","France Central","North Europe","West + US 2","East US","UK South","Japan East","Japan West","East Asia","North Central + US","South Central US","Canada East","Korea Central","Brazil South","UK West","Canada + Central","West US","West Central US","Central India","South India","Australia + Southeast","Korea South","West India","South Africa North","UAE North","Australia + Central","Switzerland North","Germany West Central","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2018-10-01","zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"South + Africa North","zones":[]},{"location":"South Central US","zones":[]},{"location":"Canada + Central","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"hostGroups/hosts","locations":["Central + US","East US 2","West Europe","Southeast Asia","France Central","North Europe","West + US 2","East US","UK South","Japan East","Japan West","East Asia","North Central + US","South Central US","Canada East","Korea Central","Brazil South","UK West","Canada + Central","West US","West Central US","Central India","South India","Australia + Southeast","Korea South","West India","South Africa North","UAE North","Australia + Central","Switzerland North","Germany West Central","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2018-10-01","capabilities":"SupportsTags, + SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '36120' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:34:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-12-01 + response: + body: + string: "{\r\n \"name\": \"ppg1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\",\r\n + \ \"type\": \"Microsoft.Compute/proximityPlacementGroups\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"proximityPlacementGroupType\": + \"Standard\",\r\n \"virtualMachines\": [],\r\n \"virtualMachineScaleSets\": + [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/virtualMachineScaleSets/VMSS1\"\r\n + \ }\r\n ],\r\n \"availabilitySets\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '739' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:34:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/HighCostGet3Min;139,Microsoft.Compute/HighCostGet30Min;691 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2019-07-01 + response: + body: + string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0a6072ae-bf5e-43eb-adfd-bc6dc4e7f39e\",\r\n + \ \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n },\r\n + \ \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\"\r\n \ }\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"debian\",\r\n \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": @@ -3004,7 +3484,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:22:06 GMT + - Tue, 04 Feb 2020 12:34:32 GMT expires: - '-1' pragma: @@ -3021,7 +3501,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31979 + - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31954 status: code: 200 message: OK @@ -3029,8 +3509,8 @@ interactions: body: 'b''{"location": "westus", "tags": {}, "properties": {"hardwareProfile": {"vmSize": "Standard_DS1_v2"}, "storageProfile": {"imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}, "osDisk": - {"osType": "Linux", "name": "vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325", - "caching": "ReadWrite", "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325"}}, + {"osType": "Linux", "name": "vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e", + "caching": "ReadWrite", "createOption": "FromImage", "managedDisk": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e"}}, "dataDisks": []}, "osProfile": {"computerName": "vm1", "adminUsername": "debian", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/debian/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== @@ -3055,7 +3535,7 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -3064,16 +3544,16 @@ interactions: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n - \ \"proximityPlacementGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0a6072ae-bf5e-43eb-adfd-bc6dc4e7f39e\",\r\n + \ \"proximityPlacementGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\"\r\n \ }\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"debian\",\r\n \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": @@ -3089,7 +3569,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/125452bb-59c4-4449-8d2f-5eb5932ec121?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ef6cfde-47b9-4cf5-b460-fa9ada0e1056?api-version=2019-07-01 cache-control: - no-cache content-length: @@ -3097,7 +3577,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:22:10 GMT + - Tue, 04 Feb 2020 12:34:38 GMT expires: - '-1' pragma: @@ -3114,9 +3594,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1191 + - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1192 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -3135,23 +3615,23 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/125452bb-59c4-4449-8d2f-5eb5932ec121?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ef6cfde-47b9-4cf5-b460-fa9ada0e1056?api-version=2019-07-01 response: body: - string: "{\r\n \"startTime\": \"2020-02-04T04:22:08.4564884+00:00\",\r\n \"endTime\": - \"2020-02-04T04:22:22.9722345+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"125452bb-59c4-4449-8d2f-5eb5932ec121\"\r\n}" + string: "{\r\n \"startTime\": \"2020-02-04T12:34:35.511978+00:00\",\r\n \"endTime\": + \"2020-02-04T12:34:49.9963453+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"1ef6cfde-47b9-4cf5-b460-fa9ada0e1056\"\r\n}" headers: cache-control: - no-cache content-length: - - '184' + - '183' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:22:41 GMT + - Tue, 04 Feb 2020 12:35:09 GMT expires: - '-1' pragma: @@ -3168,7 +3648,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29970 + - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29963 status: code: 200 message: OK @@ -3187,23 +3667,23 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1?api-version=2019-07-01 response: body: string: "{\r\n \"name\": \"vm1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/virtualMachines/vm1\",\r\n \ \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"location\": \"westus\",\r\n - \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"636b729b-3db7-4866-b3b5-a515567ab944\",\r\n - \ \"proximityPlacementGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + \ \"tags\": {},\r\n \"properties\": {\r\n \"vmId\": \"0a6072ae-bf5e-43eb-adfd-bc6dc4e7f39e\",\r\n + \ \"proximityPlacementGroup\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n \ },\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"Standard_DS1_v2\"\r\n \ },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n \ \"version\": \"latest\",\r\n \"exactVersion\": \"0.20191117.80\"\r\n \ },\r\n \"osDisk\": {\r\n \"osType\": \"Linux\",\r\n \"name\": - \"vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\",\r\n \"createOption\": + \"vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\",\r\n \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/disks/vm1_OsDisk_1_dd414b2f1b5547a5a9f71158bb142325\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/disks/vm1_OsDisk_1_6d1badc7d056460387c456d1f338759e\"\r\n \ }\r\n },\r\n \"dataDisks\": []\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"vm1\",\r\n \"adminUsername\": \"debian\",\r\n \ \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": @@ -3223,7 +3703,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:22:41 GMT + - Tue, 04 Feb 2020 12:35:10 GMT expires: - '-1' pragma: @@ -3240,7 +3720,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3992,Microsoft.Compute/LowCostGet30Min;31977 + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31956 status: code: 200 message: OK @@ -3259,14 +3739,14 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T04:04:09Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001","name":"cli_test_ppg_update_000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-04T12:15:28Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -3275,7 +3755,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:22:45 GMT + - Tue, 04 Feb 2020 12:35:11 GMT expires: - '-1' pragma: @@ -3313,25 +3793,25 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","name":"av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13980952600329620558","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T04:22:50.3897611Z","duration":"PT2.4755073S","correlationId":"b892debd-ef82-41a9-b66a-e8729edac1a7","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus"]}]}],"dependencies":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_NPHuXMDJP0UsaFYrSComvs1mzrPrcJ3e","name":"av_set_deploy_NPHuXMDJP0UsaFYrSComvs1mzrPrcJ3e","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13980952600329620558","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-02-04T12:35:16.2534677Z","duration":"PT2.526937S","correlationId":"43c2283f-1b83-43cf-9298-e60d6e4035fc","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus"]}]}],"dependencies":[]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z/operationStatuses/08586208167175633548?api-version=2019-07-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_NPHuXMDJP0UsaFYrSComvs1mzrPrcJ3e/operationStatuses/08586207871717510799?api-version=2019-07-01 cache-control: - no-cache content-length: - - '725' + - '724' content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 04:22:50 GMT + - Tue, 04 Feb 2020 12:35:17 GMT expires: - '-1' pragma: @@ -3341,7 +3821,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -3360,9 +3840,181 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207871717510799?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:35:48 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207871717510799?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:36:18 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586208167175633548?api-version=2019-07-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207871717510799?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:36:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207871717510799?api-version=2019-07-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:37:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586207871717510799?api-version=2019-07-01 response: body: string: '{"status":"Succeeded"}' @@ -3374,7 +4026,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 05:56:13 GMT + - Tue, 04 Feb 2020 12:37:51 GMT expires: - '-1' pragma: @@ -3403,12 +4055,12 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-07-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","name":"av_set_deploy_ECYrldXPSKAe2IUng9znFvJC2uF5tM6z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13980952600329620558","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T04:25:27.8411197Z","duration":"PT2M39.9268659S","correlationId":"b892debd-ef82-41a9-b66a-e8729edac1a7","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus"]}]}],"dependencies":[],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Resources/deployments/av_set_deploy_NPHuXMDJP0UsaFYrSComvs1mzrPrcJ3e","name":"av_set_deploy_NPHuXMDJP0UsaFYrSComvs1mzrPrcJ3e","type":"Microsoft.Resources/deployments","properties":{"templateHash":"13980952600329620558","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-02-04T12:37:34.4402525Z","duration":"PT2M20.7137218S","correlationId":"43c2283f-1b83-43cf-9298-e60d6e4035fc","providers":[{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"availabilitySets","locations":["westus"]}]}],"dependencies":[],"outputs":{},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/availabilitySets/avset1"}]}}' headers: cache-control: - no-cache @@ -3417,7 +4069,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 05:56:14 GMT + - Tue, 04 Feb 2020 12:37:51 GMT expires: - '-1' pragma: @@ -3446,7 +4098,7 @@ interactions: - -g -n User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -3466,7 +4118,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 05:56:19 GMT + - Tue, 04 Feb 2020 12:37:53 GMT expires: - '-1' pragma: @@ -3483,7 +4135,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3999,Microsoft.Compute/LowCostGet30Min;31999 + - Microsoft.Compute/LowCostGet3Min;3994,Microsoft.Compute/LowCostGet30Min;31951 status: code: 200 message: OK @@ -3502,7 +4154,411 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute?api-version=2019-07-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute","namespace":"Microsoft.Compute","authorizations":[{"applicationId":"60e6cd67-9c8c-4951-9b3c-23c25a2169af","roleDefinitionId":"e4770acb-272e-4dc8-87f3-12f44a612224"},{"applicationId":"a303894e-f1d8-4a37-bf10-67aa654a0596","roleDefinitionId":"903ac751-8ad5-4e5a-bfc2-5e49f450a241"},{"applicationId":"a8b6bf88-1d1a-4626-b040-9a729ea93c65","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"184909ca-69f1-4368-a6a7-c558ee6eb0bd","roleDefinitionId":"45c8267c-80ba-4b96-9a43-115b8f49fccd"},{"applicationId":"5e5e43d4-54da-4211-86a4-c6e7f3715801","roleDefinitionId":"ffcd6e5b-8772-457d-bb17-89703c03428f"},{"applicationId":"ce6ff14a-7fdc-4685-bbe0-f6afdfcfa8e0","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"},{"applicationId":"372140e0-b3b7-4226-8ef9-d57986796201","roleDefinitionId":"cb17cddc-dbac-4ae0-ae79-8db34eddfca0"}],"resourceTypes":[{"resourceType":"availabilitySets","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachines","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia + East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":[]},{"location":"Canada Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"virtualMachines/extensions","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"virtualMachineScaleSets","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia + East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":[]},{"location":"Canada Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SystemAssignedResourceIdentity, SupportsTags, + SupportsLocation"},{"resourceType":"virtualMachineScaleSets/extensions","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2015-06-15","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/virtualMachines","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/networkInterfaces","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/virtualMachines/networkInterfaces","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-09-01","2016-08-01","2016-07-01","2016-06-01","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"virtualMachineScaleSets/publicIPAddresses","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations","locations":[],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"None"},{"resourceType":"locations/operations","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-10-30-preview","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/vmSizes","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/runCommands","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/usages","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/virtualMachines","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"locations/publishers","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"operations","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-03-30","2015-06-15","2015-05-01-preview"],"capabilities":"None"},{"resourceType":"restorePointCollections","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"restorePointCollections/restorePoints","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30"],"capabilities":"None"},{"resourceType":"proximityPlacementGroups","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"virtualMachines/metricDefinitions","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2014-04-01"],"capabilities":"None"},{"resourceType":"sharedVMImages","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"defaultApiVersion":"2017-10-15-preview","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"sharedVMImages/versions","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"defaultApiVersion":"2017-10-15-preview","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"locations/artifactPublishers","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2017-10-15-preview"],"capabilities":"None"},{"resourceType":"locations/capsoperations","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01","2017-10-15-preview"],"capabilities":"None"},{"resourceType":"galleries","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"galleries/images","locations":["West Central + US","South Central US","East US 2","Southeast Asia","West Europe","West US","East + US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"galleries/images/versions","locations":["West + Central US","South Central US","East US 2","Southeast Asia","West Europe","West + US","East US","Canada Central","North Europe","North Central US","Brazil South","UK + West","West India","East Asia","Australia East","Japan East","Korea South","West + US 2","Canada East","UK South","Central India","South India","Australia Southeast","Japan + West","Korea Central","France Central","Central US","Australia Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-06-01"],"defaultApiVersion":"2018-06-01","capabilities":"SupportsTags, + SupportsLocation"},{"resourceType":"disks","locations":["Southeast Asia","East + US 2","Central US","West Europe","East US","North Central US","South Central + US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"Australia + East","zones":[]},{"location":"South Africa North","zones":[]},{"location":"South + Central US","zones":[]},{"location":"Canada Central","zones":[]}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"snapshots","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/diskoperations","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-09-30","2018-06-01","2018-04-01","2017-03-30","2016-04-30-preview"],"apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"None"},{"resourceType":"diskEncryptionSets","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-07-01"],"defaultApiVersion":"2019-07-01","capabilities":"SystemAssignedResourceIdentity, + SupportsTags, SupportsLocation"},{"resourceType":"locations/vsmoperations","locations":["East + US","West Central US","South Central US","North Europe","Australia East","Central + US","North Central US","Southeast Asia","West US","East US 2","West Europe","West + India","Australia Central","Australia Central 2","UK West","Brazil South","East + Asia","South India","Australia Southeast","France South","West US 2","Japan + West","France Central","Central India","Korea South","Korea Central","Japan + East","Canada East","Canada Central","South Africa North","UAE North","South + Africa West","Switzerland North","Germany West Central","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview","2016-03-30","2015-06-15","2015-05-01-preview"],"apiProfiles":[{"profileVersion":"2017-03-09-profile","apiVersion":"2016-03-30"},{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2017-12-01"}],"capabilities":"None"},{"resourceType":"images","locations":["Southeast + Asia","East US 2","Central US","West Europe","East US","North Central US","South + Central US","West US","North Europe","East Asia","Brazil South","West US 2","West + Central US","UK West","UK South","Japan East","Japan West","Canada Central","Canada + East","Central India","South India","Australia East","Australia Southeast","Korea + Central","Korea South","West India","France Central","South Africa North","UAE + North","Australia Central","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01","2017-03-30","2016-08-30","2016-04-30-preview"],"defaultApiVersion":"2018-06-01","apiProfiles":[{"profileVersion":"2018-03-01-hybrid","apiVersion":"2017-03-30"},{"profileVersion":"2018-06-01-profile","apiVersion":"2018-04-01"}],"capabilities":"CrossResourceGroupResourceMove, + CrossSubscriptionResourceMove, SupportsTags, SupportsLocation"},{"resourceType":"locations/logAnalytics","locations":["East + US","East US 2","West US","Central US","North Central US","South Central US","North + Europe","West Europe","East Asia","Southeast Asia","Japan East","Japan West","Australia + East","Australia Southeast","Australia Central","Brazil South","South India","Central + India","West India","Canada Central","Canada East","West US 2","West Central + US","UK South","UK West","Korea Central","Korea South","France Central","South + Africa North","UAE North","Switzerland North","Germany West Central","East + US 2 EUAP","Central US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01","2018-06-01","2018-04-01","2017-12-01"],"capabilities":"None"},{"resourceType":"hostGroups","locations":["Central + US","East US 2","West Europe","Southeast Asia","France Central","North Europe","West + US 2","East US","UK South","Japan East","Japan West","East Asia","North Central + US","South Central US","Canada East","Korea Central","Brazil South","UK West","Canada + Central","West US","West Central US","Central India","South India","Australia + Southeast","Korea South","West India","South Africa North","UAE North","Australia + Central","Switzerland North","Germany West Central","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2018-10-01","zoneMappings":[{"location":"East + US 2","zones":["2","3","1"]},{"location":"Central US","zones":["2","3","1"]},{"location":"West + Europe","zones":["2","3","1"]},{"location":"East US 2 EUAP","zones":["1","2","3"]},{"location":"Central + US EUAP","zones":["1","2"]},{"location":"France Central","zones":["2","3","1"]},{"location":"Southeast + Asia","zones":["2","3","1"]},{"location":"West US 2","zones":["2","3","1"]},{"location":"North + Europe","zones":["2","3","1"]},{"location":"East US","zones":["2","3","1"]},{"location":"UK + South","zones":["2","3","1"]},{"location":"Japan East","zones":["2","3","1"]},{"location":"South + Africa North","zones":[]},{"location":"South Central US","zones":[]},{"location":"Canada + Central","zones":[]}],"capabilities":"SupportsTags, SupportsLocation"},{"resourceType":"hostGroups/hosts","locations":["Central + US","East US 2","West Europe","Southeast Asia","France Central","North Europe","West + US 2","East US","UK South","Japan East","Japan West","East Asia","North Central + US","South Central US","Canada East","Korea Central","Brazil South","UK West","Canada + Central","West US","West Central US","Central India","South India","Australia + Southeast","Korea South","West India","South Africa North","UAE North","Australia + Central","Switzerland North","Germany West Central","East US 2 EUAP","Central + US EUAP"],"apiVersions":["2019-12-01","2019-07-01","2019-03-01","2018-10-01"],"defaultApiVersion":"2018-10-01","capabilities":"SupportsTags, + SupportsLocation"}],"registrationState":"Registered","registrationPolicy":"RegistrationRequired"}' + headers: + cache-control: + - no-cache + content-length: + - '36120' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:37:54 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1?api-version=2019-12-01 + response: + body: + string: "{\r\n \"name\": \"ppg1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_ppg_update_000001/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\",\r\n + \ \"type\": \"Microsoft.Compute/proximityPlacementGroups\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"proximityPlacementGroupType\": + \"Standard\",\r\n \"virtualMachines\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/virtualMachines/VM1\"\r\n + \ }\r\n ],\r\n \"virtualMachineScaleSets\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/virtualMachineScaleSets/VMSS1\"\r\n + \ }\r\n ],\r\n \"availabilitySets\": []\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '971' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Feb 2020 12:37:54 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/HighCostGet3Min;138,Microsoft.Compute/HighCostGet30Min;690 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vm availability-set update + Connection: + - keep-alive + ParameterSetName: + - -g -n --ppg + User-Agent: + - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -3522,7 +4578,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 05:56:23 GMT + - Tue, 04 Feb 2020 12:37:55 GMT expires: - '-1' pragma: @@ -3539,7 +4595,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;3998,Microsoft.Compute/LowCostGet30Min;31998 + - Microsoft.Compute/LowCostGet3Min;3993,Microsoft.Compute/LowCostGet30Min;31950 status: code: 200 message: OK @@ -3565,7 +4621,7 @@ interactions: - -g -n --ppg User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: PUT @@ -3576,7 +4632,7 @@ interactions: \ \"type\": \"Microsoft.Compute/availabilitySets\",\r\n \"location\": \"westus\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"platformUpdateDomainCount\": 5,\r\n \"platformFaultDomainCount\": 2,\r\n \"proximityPlacementGroup\": - {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/proximityPlacementGroups/ppg1\"\r\n \ }\r\n },\r\n \"sku\": {\r\n \"name\": \"Aligned\"\r\n }\r\n}" headers: cache-control: @@ -3586,7 +4642,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 05:56:23 GMT + - Tue, 04 Feb 2020 12:37:56 GMT expires: - '-1' pragma: @@ -3603,9 +4659,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/PutVM3Min;239,Microsoft.Compute/PutVM30Min;1199 + - Microsoft.Compute/PutVM3Min;238,Microsoft.Compute/PutVM30Min;1191 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1197' status: code: 200 message: OK @@ -3624,7 +4680,7 @@ interactions: - -n -g User-Agent: - python/3.8.1 (Windows-10-10.0.17763-SP0) msrest/0.6.10 msrest_azure/0.6.2 - azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.80 + azure-mgmt-compute/10.0.0 Azure-SDK-For-Python AZURECLI/2.0.81 accept-language: - en-US method: GET @@ -3635,11 +4691,11 @@ interactions: \ \"type\": \"Microsoft.Compute/proximityPlacementGroups\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"proximityPlacementGroupType\": \"Standard\",\r\n \"virtualMachines\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/virtualMachines/VM1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/virtualMachines/VM1\"\r\n \ }\r\n ],\r\n \"virtualMachineScaleSets\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/virtualMachineScaleSets/VMSS1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/virtualMachineScaleSets/VMSS1\"\r\n \ }\r\n ],\r\n \"availabilitySets\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_C7ULAQZI45H6Q7LW44DUW64CAURLIUEG6EJRMNIZEPMAQTC7BETQZMQ/providers/Microsoft.Compute/availabilitySets/AVSET1\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CLI_TEST_PPG_UPDATE_XID6GV3H5DVPOT4OCE4SFOSSTZGTMKK6P7BGUHIZC7TB4LHVXWV7YP4/providers/Microsoft.Compute/availabilitySets/AVSET1\"\r\n \ }\r\n ]\r\n }\r\n}" headers: cache-control: @@ -3649,7 +4705,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 04 Feb 2020 05:56:25 GMT + - Tue, 04 Feb 2020 12:37:56 GMT expires: - '-1' pragma: @@ -3666,7 +4722,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/HighCostGet3Min;139,Microsoft.Compute/HighCostGet30Min;699 + - Microsoft.Compute/HighCostGet3Min;137,Microsoft.Compute/HighCostGet30Min;689 status: code: 200 message: OK