From 2d49f414b40288b4564442496dbf2901528716f4 Mon Sep 17 00:00:00 2001 From: xiaofanzhou Date: Thu, 15 Apr 2021 18:04:13 +0800 Subject: [PATCH 1/2] fix upgrade_vmss_extension --- .../azure/cli/command_modules/vm/custom.py | 2 +- .../recordings/test_vmss_extension.yaml | 1321 ++++++++--------- .../vm/tests/latest/test_vm_commands.py | 2 + 3 files changed, 594 insertions(+), 731 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 79de41a3e8e..316402be025 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -3274,7 +3274,7 @@ def set_orchestration_service_state(cmd, resource_group_name, vm_scale_set_name, def upgrade_vmss_extension(cmd, resource_group_name, vm_scale_set_name, no_wait=False): client = _compute_client_factory(cmd.cli_ctx) - return sdk_no_wait(no_wait, client.virtual_machine_scale_set_rolling_upgrades.start_extension_upgrade, + return sdk_no_wait(no_wait, client.virtual_machine_scale_set_rolling_upgrades.begin_start_extension_upgrade , resource_group_name, vm_scale_set_name) # endregion diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_extension.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_extension.yaml index 68c0a2bcfc5..924a8ba0bc4 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_extension.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vmss_extension.yaml @@ -13,15 +13,15 @@ interactions: ParameterSetName: - -n -g --image --authentication-type --admin-username --admin-password --instance-count User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001","name":"cli_test_vmss_extension000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-02-09T06:36:23Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001","name":"cli_test_vmss_extension000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-04-15T09:59:13Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +30,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:36:24 GMT + - Thu, 15 Apr 2021 09:59:20 GMT expires: - '-1' pragma: @@ -54,7 +54,7 @@ interactions: Connection: - keep-alive User-Agent: - - python-requests/2.25.1 + - 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: @@ -109,35 +109,35 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 09 Feb 2021 06:36:25 GMT + - Thu, 15 Apr 2021 09:59:21 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Tue, 09 Feb 2021 06:41:25 GMT + - Thu, 15 Apr 2021 10:04:21 GMT source-age: - - '39' + - '296' strict-transport-security: - max-age=31536000 vary: - - Authorization,Accept-Encoding, Accept-Encoding + - Authorization,Accept-Encoding via: - 1.1 varnish x-cache: - HIT x-cache-hits: - - '2' + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 31f660edb256cc45be8da9a904b54fb84fa5d774 + - 4ffc7e480a6098edc6bf3439c18c318c1461429a x-frame-options: - deny x-github-request-id: - - 5F66:4D94:DC2B:ECD5:60217BA5 + - A2A6:0EF1:59802D:6A434F:6077E8B5 x-served-by: - - cache-sin18037-SIN + - cache-qpg1270-QPG x-timer: - - S1612852585.394531,VS0,VE0 + - S1618480762.824313,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -157,7 +157,7 @@ interactions: ParameterSetName: - -n -g --image --authentication-type --admin-username --admin-password --instance-count User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-network/17.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-network/18.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-01-01 response: @@ -171,7 +171,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:36:25 GMT + - Thu, 15 Apr 2021 09:59:22 GMT expires: - '-1' pragma: @@ -208,15 +208,18 @@ interactions: "westus", "tags": {}, "apiVersion": "2020-12-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET", "Microsoft.Network/loadBalancers/vmss1LB"], "sku": {"name": "Standard_DS1_v2", "capacity": 1}, "properties": {"overprovision": true, "upgradePolicy": {"mode": - "manual"}, "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": - "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, - "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": - "18.04-LTS", "version": "latest"}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss14adbNic", "properties": {"primary": "true", "ipConfigurations": - [{"name": "vmss14adbIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "manual", "rollingUpgradePolicy": {"maxBatchInstancePercent": null, "maxUnhealthyInstancePercent": + null, "maxUnhealthyUpgradedInstancePercent": null, "pauseTimeBetweenBatches": + null, "enableCrossZoneUpgrade": null, "prioritizeUnhealthyInstances": null}}, + "virtualMachineProfile": {"storageProfile": {"osDisk": {"createOption": "FromImage", + "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": + {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": + "latest"}}, "networkProfile": {"networkInterfaceConfigurations": [{"name": "vmss1d2c1Nic", + "properties": {"primary": "true", "ipConfigurations": [{"name": "vmss1d2c1IPConfig", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}, - "osProfile": {"computerNamePrefix": "vmss14adb", "adminUsername": "admin123", + "osProfile": {"computerNamePrefix": "vmss1d2c1", "adminUsername": "admin123", "adminPassword": "[parameters(''adminPassword'')]"}}, "singlePlacementGroup": null}}], "outputs": {"VMSS": {"type": "object", "value": "[reference(resourceId(''Microsoft.Compute/virtualMachineScaleSets'', ''vmss1''),providers(''Microsoft.Compute'', ''virtualMachineScaleSets'').apiVersions[0])]"}}}, @@ -231,24 +234,24 @@ interactions: Connection: - keep-alive Content-Length: - - '3815' + - '4059' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -n -g --image --authentication-type --admin-username --admin-password --instance-count User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/vmss_deploy_AJacdw0eTxbAJdRZTbN9wvq3DgXWcFUM","name":"vmss_deploy_AJacdw0eTxbAJdRZTbN9wvq3DgXWcFUM","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8517884288039572924","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-02-09T06:36:30.2705175Z","duration":"PT2.3992405S","correlationId":"6f1d0538-3efb-4bc9-9243-dca9c37c5835","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_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/vmss_deploy_zCXTTIIjgFoiamJky5jfro5JkzBExYBp","name":"vmss_deploy_zCXTTIIjgFoiamJky5jfro5JkzBExYBp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4391676885204999200","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-15T09:59:28.0087573Z","duration":"PT2.3636948S","correlationId":"81de00c5-941b-4902-a4b0-7f6269b4fa7d","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_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/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_vmss_extension000001/providers/Microsoft.Resources/deployments/vmss_deploy_AJacdw0eTxbAJdRZTbN9wvq3DgXWcFUM/operationStatuses/08585887542976063546?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/vmss_deploy_zCXTTIIjgFoiamJky5jfro5JkzBExYBp/operationStatuses/08585831261198325701?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -256,7 +259,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:36:32 GMT + - Thu, 15 Apr 2021 09:59:30 GMT expires: - '-1' pragma: @@ -266,7 +269,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -284,53 +287,10 @@ interactions: ParameterSetName: - -n -g --image --authentication-type --admin-username --admin-password --instance-count User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887542976063546?api-version=2020-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Feb 2021 06:37:04 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: - - -n -g --image --authentication-type --admin-username --admin-password --instance-count - User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887542976063546?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585831261198325701?api-version=2020-10-01 response: body: string: '{"status":"Running"}' @@ -342,7 +302,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:37:34 GMT + - Thu, 15 Apr 2021 10:00:01 GMT expires: - '-1' pragma: @@ -370,10 +330,10 @@ interactions: ParameterSetName: - -n -g --image --authentication-type --admin-username --admin-password --instance-count User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887542976063546?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585831261198325701?api-version=2020-10-01 response: body: string: '{"status":"Running"}' @@ -385,7 +345,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:38:04 GMT + - Thu, 15 Apr 2021 10:00:32 GMT expires: - '-1' pragma: @@ -413,10 +373,10 @@ interactions: ParameterSetName: - -n -g --image --authentication-type --admin-username --admin-password --instance-count User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585887542976063546?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585831261198325701?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -428,7 +388,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:38:36 GMT + - Thu, 15 Apr 2021 10:01:02 GMT expires: - '-1' pragma: @@ -456,22 +416,22 @@ interactions: ParameterSetName: - -n -g --image --authentication-type --admin-username --admin-password --instance-count User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.0.0 Azure-SDK-For-Python AZURECLI/2.19.0 + - python/3.8.9 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.0 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/vmss_deploy_AJacdw0eTxbAJdRZTbN9wvq3DgXWcFUM","name":"vmss_deploy_AJacdw0eTxbAJdRZTbN9wvq3DgXWcFUM","type":"Microsoft.Resources/deployments","properties":{"templateHash":"8517884288039572924","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-02-09T06:38:10.9909372Z","duration":"PT1M43.1196602S","correlationId":"6f1d0538-3efb-4bc9-9243-dca9c37c5835","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_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss14adb","adminUsername":"admin123","linuxConfiguration":{"disablePasswordAuthentication":false,"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"18.04-LTS","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss14adbNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss14adbIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"1fd7e877-48fe-46f0-84ee-cccc5dac7a82"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Resources/deployments/vmss_deploy_zCXTTIIjgFoiamJky5jfro5JkzBExYBp","name":"vmss_deploy_zCXTTIIjgFoiamJky5jfro5JkzBExYBp","type":"Microsoft.Resources/deployments","properties":{"templateHash":"4391676885204999200","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-15T10:00:35.0811852Z","duration":"PT1M9.4361227S","correlationId":"81de00c5-941b-4902-a4b0-7f6269b4fa7d","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_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"vmss1LBPublicIP"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"},{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB","resourceType":"Microsoft.Network/loadBalancers","resourceName":"vmss1LB"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","rollingUpgradePolicy":{"maxBatchInstancePercent":20,"maxUnhealthyInstancePercent":20,"maxUnhealthyUpgradedInstancePercent":20,"pauseTimeBetweenBatches":"PT0S"}},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1d2c1","adminUsername":"admin123","linuxConfiguration":{"disablePasswordAuthentication":false,"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"18.04-LTS","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss1d2c1Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss1d2c1IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"6dcb815a-ef78-4507-ac16-687e31ff995a"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/publicIPAddresses/vmss1LBPublicIP"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '5450' + - '5610' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:38:36 GMT + - Thu, 15 Apr 2021 10:01:03 GMT expires: - '-1' pragma: @@ -500,7 +460,7 @@ interactions: - -n --publisher --version --vmss-name --resource-group --protected-settings --force-update --enable-auto-upgrade User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -510,31 +470,33 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2667' + - '2889' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:38:38 GMT + - Thu, 15 Apr 2021 10:01:04 GMT expires: - '-1' pragma: @@ -551,26 +513,28 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;393,Microsoft.Compute/GetVMScaleSet30Min;2582 + - Microsoft.Compute/GetVMScaleSet3Min;395,Microsoft.Compute/GetVMScaleSet30Min;2540 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": - "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss14adb", "adminUsername": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual", + "rollingUpgradePolicy": {"maxBatchInstancePercent": 20, "maxUnhealthyInstancePercent": + 20, "maxUnhealthyUpgradedInstancePercent": 20, "pauseTimeBetweenBatches": "PT0S"}}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1d2c1", "adminUsername": "admin123", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss14adbNic", "properties": {"primary": true, "enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss14adbIPConfig", + [{"name": "vmss1d2c1Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1d2c1IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": - "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "cc568c41-b77e-4d07-93eb-2aba13d0fac7", + "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "bd4835e0-2663-4000-8b9c-738598131acd", "publisher": "Microsoft.Azure.NetworkWatcher", "type": "NetworkWatcherAgentLinux", "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": false, "protectedSettings": {"username": "myadmin", "ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC8InHIPLAu6lMc0d+5voyXqigZfT5r6fAM1+FQAi+mkPDdk2hNq1BG0Bwfc88Gm7BImw8TS+x2bnZmhCbVnHd6BPCDY7a+cHCSqrQMW89Cv6Vl4ueGOeAWHpJTV9CTLVz4IY1x4HBdkLI2lKIHri9+z7NIdvFk7iOkMVGyez5H1xDbF2szURxgc4I2/o5wycSwX+G8DrtsBvWLmFv9YAPx+VkEHQDjR0WWezOjuo1rDn6MQfiKfqAjPuInwNOg5AIxXAOResrin2PUlArNtdDH1zlvI4RZi36+tJO7mtm3dJiKs4Sj7G6b1CjIU6aaj27MmKy3arIFChYav9yYM3IT"}}}]}}, @@ -586,14 +550,14 @@ interactions: Connection: - keep-alive Content-Length: - - '2518' + - '2688' Content-Type: - application/json ParameterSetName: - -n --publisher --version --vmss-name --resource-group --protected-settings --force-update --enable-auto-upgrade User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -603,42 +567,44 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \ \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \ \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\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/0ce41809-3932-4cd5-8be5-890b56a3c96b?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9d2e3c9f-d39e-402a-a20f-7c443ac4cf1f?api-version=2020-12-01 cache-control: - no-cache content-length: - - '3185' + - '3407' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:38:40 GMT + - Thu, 15 Apr 2021 10:01:08 GMT expires: - '-1' pragma: @@ -655,9 +621,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;58,Microsoft.Compute/CreateVMScaleSet30Min;295,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;58,Microsoft.Compute/CreateVMScaleSet30Min;286,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' x-ms-request-charge: - '0' status: @@ -678,167 +644,14 @@ interactions: - -n --publisher --version --vmss-name --resource-group --protected-settings --force-update --enable-auto-upgrade User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/0ce41809-3932-4cd5-8be5-890b56a3c96b?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-02-09T06:38:38.6046091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"0ce41809-3932-4cd5-8be5-890b56a3c96b\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Feb 2021 06:38:50 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;14946,Microsoft.Compute/GetOperation30Min;29762 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss extension set - Connection: - - keep-alive - ParameterSetName: - - -n --publisher --version --vmss-name --resource-group --protected-settings - --force-update --enable-auto-upgrade - User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/0ce41809-3932-4cd5-8be5-890b56a3c96b?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9d2e3c9f-d39e-402a-a20f-7c443ac4cf1f?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-02-09T06:38:38.6046091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"0ce41809-3932-4cd5-8be5-890b56a3c96b\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Feb 2021 06:39: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;14949,Microsoft.Compute/GetOperation30Min;29752 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss extension set - Connection: - - keep-alive - ParameterSetName: - - -n --publisher --version --vmss-name --resource-group --protected-settings - --force-update --enable-auto-upgrade - User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/0ce41809-3932-4cd5-8be5-890b56a3c96b?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-02-09T06:38:38.6046091+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"0ce41809-3932-4cd5-8be5-890b56a3c96b\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 09 Feb 2021 06:39:57 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14951,Microsoft.Compute/GetOperation30Min;29745 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss extension set - Connection: - - keep-alive - ParameterSetName: - - -n --publisher --version --vmss-name --resource-group --protected-settings - --force-update --enable-auto-upgrade - User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/0ce41809-3932-4cd5-8be5-890b56a3c96b?api-version=2020-12-01 - response: - body: - string: "{\r\n \"startTime\": \"2021-02-09T06:38:38.6046091+00:00\",\r\n \"endTime\": - \"2021-02-09T06:40:17.3122389+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"0ce41809-3932-4cd5-8be5-890b56a3c96b\"\r\n}" + string: "{\r\n \"startTime\": \"2021-04-15T10:01:06.5204643+00:00\",\r\n \"endTime\": + \"2021-04-15T10:01:07.7079638+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"9d2e3c9f-d39e-402a-a20f-7c443ac4cf1f\"\r\n}" headers: cache-control: - no-cache @@ -847,7 +660,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:27 GMT + - Thu, 15 Apr 2021 10:01:18 GMT expires: - '-1' pragma: @@ -864,7 +677,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14958,Microsoft.Compute/GetOperation30Min;29742 + - Microsoft.Compute/GetOperation3Min;14996,Microsoft.Compute/GetOperation30Min;29971 status: code: 200 message: OK @@ -883,7 +696,7 @@ interactions: - -n --publisher --version --vmss-name --resource-group --protected-settings --force-update --enable-auto-upgrade User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -893,38 +706,40 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \ \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3186' + - '3408' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:28 GMT + - Thu, 15 Apr 2021 10:01:19 GMT expires: - '-1' pragma: @@ -941,7 +756,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;393,Microsoft.Compute/GetVMScaleSet30Min;2579 + - Microsoft.Compute/GetVMScaleSet3Min;393,Microsoft.Compute/GetVMScaleSet30Min;2538 status: code: 200 message: OK @@ -959,7 +774,7 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -969,38 +784,40 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \ \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3186' + - '3408' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:29 GMT + - Thu, 15 Apr 2021 10:01:21 GMT expires: - '-1' pragma: @@ -1017,7 +834,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;392,Microsoft.Compute/GetVMScaleSet30Min;2578 + - Microsoft.Compute/GetVMScaleSet3Min;392,Microsoft.Compute/GetVMScaleSet30Min;2537 status: code: 200 message: OK @@ -1035,7 +852,7 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1045,38 +862,40 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \ \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3186' + - '3408' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:30 GMT + - Thu, 15 Apr 2021 10:01:22 GMT expires: - '-1' pragma: @@ -1093,26 +912,28 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;391,Microsoft.Compute/GetVMScaleSet30Min;2577 + - Microsoft.Compute/GetVMScaleSet3Min;391,Microsoft.Compute/GetVMScaleSet30Min;2536 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": - "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss14adb", "adminUsername": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual", + "rollingUpgradePolicy": {"maxBatchInstancePercent": 20, "maxUnhealthyInstancePercent": + 20, "maxUnhealthyUpgradedInstancePercent": 20, "pauseTimeBetweenBatches": "PT0S"}}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1d2c1", "adminUsername": "admin123", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss14adbNic", "properties": {"primary": true, "enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss14adbIPConfig", + [{"name": "vmss1d2c1Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1d2c1IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": - "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "cc568c41-b77e-4d07-93eb-2aba13d0fac7", + "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "bd4835e0-2663-4000-8b9c-738598131acd", "publisher": "Microsoft.Azure.NetworkWatcher", "type": "NetworkWatcherAgentLinux", "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": false}}, {"name": "customScript", "properties": {"publisher": "Microsoft.Azure.Extensions", @@ -1130,13 +951,13 @@ interactions: Connection: - keep-alive Content-Length: - - '2356' + - '2526' Content-Type: - application/json ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1146,23 +967,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1173,20 +996,20 @@ interactions: \"2.0\",\r\n \"settings\": {\"commandToExecute\":\"echo testing\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\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/eebb8efa-1c9e-4e38-8e8d-3bfe55fc3eac?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9b39b569-fc0d-41c5-b525-579120b030bf?api-version=2020-12-01 cache-control: - no-cache content-length: - - '3652' + - '3874' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:34 GMT + - Thu, 15 Apr 2021 10:01:26 GMT expires: - '-1' pragma: @@ -1203,9 +1026,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;57,Microsoft.Compute/CreateVMScaleSet30Min;293,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;57,Microsoft.Compute/CreateVMScaleSet30Min;285,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1197' x-ms-request-charge: - '0' status: @@ -1225,14 +1048,14 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/eebb8efa-1c9e-4e38-8e8d-3bfe55fc3eac?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9b39b569-fc0d-41c5-b525-579120b030bf?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-02-09T06:40:32.0159689+00:00\",\r\n \"endTime\": - \"2021-02-09T06:40:32.1722455+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"eebb8efa-1c9e-4e38-8e8d-3bfe55fc3eac\"\r\n}" + string: "{\r\n \"startTime\": \"2021-04-15T10:01:23.6141695+00:00\",\r\n \"endTime\": + \"2021-04-15T10:01:24.8485824+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"9b39b569-fc0d-41c5-b525-579120b030bf\"\r\n}" headers: cache-control: - no-cache @@ -1241,7 +1064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:44 GMT + - Thu, 15 Apr 2021 10:01:36 GMT expires: - '-1' pragma: @@ -1258,7 +1081,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14964,Microsoft.Compute/GetOperation30Min;29738 + - Microsoft.Compute/GetOperation3Min;14994,Microsoft.Compute/GetOperation30Min;29969 status: code: 200 message: OK @@ -1276,7 +1099,7 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1286,23 +1109,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1313,16 +1138,16 @@ interactions: \"2.0\",\r\n \"settings\": {\"commandToExecute\":\"echo testing\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3653' + - '3875' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:45 GMT + - Thu, 15 Apr 2021 10:01:37 GMT expires: - '-1' pragma: @@ -1339,7 +1164,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;389,Microsoft.Compute/GetVMScaleSet30Min;2575 + - Microsoft.Compute/GetVMScaleSet3Min;387,Microsoft.Compute/GetVMScaleSet30Min;2532 status: code: 200 message: OK @@ -1357,7 +1182,7 @@ interactions: ParameterSetName: - -g --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1367,23 +1192,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1394,16 +1221,16 @@ interactions: \"2.0\",\r\n \"settings\": {\"commandToExecute\":\"echo testing\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3653' + - '3875' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:46 GMT + - Thu, 15 Apr 2021 10:01:38 GMT expires: - '-1' pragma: @@ -1420,7 +1247,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;388,Microsoft.Compute/GetVMScaleSet30Min;2574 + - Microsoft.Compute/GetVMScaleSet3Min;386,Microsoft.Compute/GetVMScaleSet30Min;2531 status: code: 200 message: OK @@ -1438,7 +1265,7 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --protected-settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1448,23 +1275,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1475,16 +1304,16 @@ interactions: \"2.0\",\r\n \"settings\": {\"commandToExecute\":\"echo testing\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3653' + - '3875' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:47 GMT + - Thu, 15 Apr 2021 10:01:39 GMT expires: - '-1' pragma: @@ -1501,26 +1330,28 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;387,Microsoft.Compute/GetVMScaleSet30Min;2573 + - Microsoft.Compute/GetVMScaleSet3Min;385,Microsoft.Compute/GetVMScaleSet30Min;2530 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": - "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss14adb", "adminUsername": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual", + "rollingUpgradePolicy": {"maxBatchInstancePercent": 20, "maxUnhealthyInstancePercent": + 20, "maxUnhealthyUpgradedInstancePercent": 20, "pauseTimeBetweenBatches": "PT0S"}}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1d2c1", "adminUsername": "admin123", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss14adbNic", "properties": {"primary": true, "enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss14adbIPConfig", + [{"name": "vmss1d2c1Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1d2c1IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": - "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "cc568c41-b77e-4d07-93eb-2aba13d0fac7", + "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "bd4835e0-2663-4000-8b9c-738598131acd", "publisher": "Microsoft.Azure.NetworkWatcher", "type": "NetworkWatcherAgentLinux", "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": false}}, {"name": "customScript", "properties": {"publisher": "Microsoft.Azure.Extensions", @@ -1543,13 +1374,13 @@ interactions: Connection: - keep-alive Content-Length: - - '3048' + - '3218' Content-Type: - application/json ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --protected-settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1559,23 +1390,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1592,20 +1425,20 @@ interactions: \ \"typeHandlerVersion\": \"1.5\"\r\n }\r\n }\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \ \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\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/257877a3-4887-489b-93e0-f5f9e26ee855?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ff17d38-e337-4881-8906-362f228dcfcb?api-version=2020-12-01 cache-control: - no-cache content-length: - - '4094' + - '4316' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:40:51 GMT + - Thu, 15 Apr 2021 10:01:43 GMT expires: - '-1' pragma: @@ -1622,9 +1455,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;56,Microsoft.Compute/CreateVMScaleSet30Min;292,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;56,Microsoft.Compute/CreateVMScaleSet30Min;284,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1198' x-ms-request-charge: - '0' status: @@ -1644,14 +1477,14 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --protected-settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/257877a3-4887-489b-93e0-f5f9e26ee855?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1ff17d38-e337-4881-8906-362f228dcfcb?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-02-09T06:40:48.8604963+00:00\",\r\n \"endTime\": - \"2021-02-09T06:40:49.0480088+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"257877a3-4887-489b-93e0-f5f9e26ee855\"\r\n}" + string: "{\r\n \"startTime\": \"2021-04-15T10:01:40.9267052+00:00\",\r\n \"endTime\": + \"2021-04-15T10:01:42.1923272+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"1ff17d38-e337-4881-8906-362f228dcfcb\"\r\n}" headers: cache-control: - no-cache @@ -1660,7 +1493,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:01 GMT + - Thu, 15 Apr 2021 10:01:53 GMT expires: - '-1' pragma: @@ -1677,7 +1510,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14965,Microsoft.Compute/GetOperation30Min;29732 + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29967 status: code: 200 message: OK @@ -1695,7 +1528,7 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --version --provision-after-extensions --protected-settings User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1705,23 +1538,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1738,16 +1573,16 @@ interactions: \ \"typeHandlerVersion\": \"1.5\"\r\n }\r\n }\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '4095' + - '4317' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:01 GMT + - Thu, 15 Apr 2021 10:01:53 GMT expires: - '-1' pragma: @@ -1764,7 +1599,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;388,Microsoft.Compute/GetVMScaleSet30Min;2571 + - Microsoft.Compute/GetVMScaleSet3Min;383,Microsoft.Compute/GetVMScaleSet30Min;2528 status: code: 200 message: OK @@ -1782,7 +1617,7 @@ interactions: ParameterSetName: - -g --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1792,23 +1627,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1825,16 +1662,16 @@ interactions: \ \"typeHandlerVersion\": \"1.5\"\r\n }\r\n }\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '4095' + - '4317' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:02 GMT + - Thu, 15 Apr 2021 10:01:55 GMT expires: - '-1' pragma: @@ -1851,7 +1688,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;387,Microsoft.Compute/GetVMScaleSet30Min;2570 + - Microsoft.Compute/GetVMScaleSet3Min;382,Microsoft.Compute/GetVMScaleSet30Min;2527 status: code: 200 message: OK @@ -1869,7 +1706,7 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1879,23 +1716,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -1912,16 +1751,16 @@ interactions: \ \"typeHandlerVersion\": \"1.5\"\r\n }\r\n }\r\n \ ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '4095' + - '4317' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:03 GMT + - Thu, 15 Apr 2021 10:01:56 GMT expires: - '-1' pragma: @@ -1938,26 +1777,28 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;386,Microsoft.Compute/GetVMScaleSet30Min;2569 + - Microsoft.Compute/GetVMScaleSet3Min;381,Microsoft.Compute/GetVMScaleSet30Min;2526 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": - "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss14adb", "adminUsername": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual", + "rollingUpgradePolicy": {"maxBatchInstancePercent": 20, "maxUnhealthyInstancePercent": + 20, "maxUnhealthyUpgradedInstancePercent": 20, "pauseTimeBetweenBatches": "PT0S"}}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1d2c1", "adminUsername": "admin123", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss14adbNic", "properties": {"primary": true, "enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss14adbIPConfig", + [{"name": "vmss1d2c1Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1d2c1IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": - "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "cc568c41-b77e-4d07-93eb-2aba13d0fac7", + "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "bd4835e0-2663-4000-8b9c-738598131acd", "publisher": "Microsoft.Azure.NetworkWatcher", "type": "NetworkWatcherAgentLinux", "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": false}}, {"name": "customScript", "properties": {"publisher": "Microsoft.Azure.Extensions", @@ -1975,13 +1816,13 @@ interactions: Connection: - keep-alive Content-Length: - - '2356' + - '2526' Content-Type: - application/json ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -1991,23 +1832,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -2018,20 +1861,20 @@ interactions: \"2.0\",\r\n \"settings\": {\"commandToExecute\":\"echo testing\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\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/f576897b-09ce-48ee-ae7f-2e53b0934e38?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/852ca7ff-09d2-4c34-9c04-61fe43de33ab?api-version=2020-12-01 cache-control: - no-cache content-length: - - '3652' + - '3874' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:07 GMT + - Thu, 15 Apr 2021 10:02:00 GMT expires: - '-1' pragma: @@ -2048,9 +1891,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;55,Microsoft.Compute/CreateVMScaleSet30Min;291,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;55,Microsoft.Compute/CreateVMScaleSet30Min;283,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' x-ms-request-charge: - '0' status: @@ -2070,14 +1913,14 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f576897b-09ce-48ee-ae7f-2e53b0934e38?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/852ca7ff-09d2-4c34-9c04-61fe43de33ab?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-02-09T06:41:05.1425028+00:00\",\r\n \"endTime\": - \"2021-02-09T06:41:05.3299689+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"f576897b-09ce-48ee-ae7f-2e53b0934e38\"\r\n}" + string: "{\r\n \"startTime\": \"2021-04-15T10:01:57.9579688+00:00\",\r\n \"endTime\": + \"2021-04-15T10:01:59.2079372+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"852ca7ff-09d2-4c34-9c04-61fe43de33ab\"\r\n}" headers: cache-control: - no-cache @@ -2086,7 +1929,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:17 GMT + - Thu, 15 Apr 2021 10:02:10 GMT expires: - '-1' pragma: @@ -2103,7 +1946,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14960,Microsoft.Compute/GetOperation30Min;29727 + - Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29965 status: code: 200 message: OK @@ -2121,7 +1964,7 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -2131,23 +1974,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -2158,16 +2003,16 @@ interactions: \"2.0\",\r\n \"settings\": {\"commandToExecute\":\"echo testing\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3653' + - '3875' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:17 GMT + - Thu, 15 Apr 2021 10:02:11 GMT expires: - '-1' pragma: @@ -2184,7 +2029,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;384,Microsoft.Compute/GetVMScaleSet30Min;2567 + - Microsoft.Compute/GetVMScaleSet3Min;379,Microsoft.Compute/GetVMScaleSet30Min;2524 status: code: 200 message: OK @@ -2202,7 +2047,7 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -2212,23 +2057,25 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n },\r\n {\r\n \"name\": @@ -2239,16 +2086,16 @@ interactions: \"2.0\",\r\n \"settings\": {\"commandToExecute\":\"echo testing\"}\r\n \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": - false,\r\n \"uniqueId\": \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3653' + - '3875' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:19 GMT + - Thu, 15 Apr 2021 10:02:12 GMT expires: - '-1' pragma: @@ -2265,26 +2112,28 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;383,Microsoft.Compute/GetVMScaleSet30Min;2566 + - Microsoft.Compute/GetVMScaleSet3Min;378,Microsoft.Compute/GetVMScaleSet30Min;2523 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": - "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss14adb", "adminUsername": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual", + "rollingUpgradePolicy": {"maxBatchInstancePercent": 20, "maxUnhealthyInstancePercent": + 20, "maxUnhealthyUpgradedInstancePercent": 20, "pauseTimeBetweenBatches": "PT0S"}}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1d2c1", "adminUsername": "admin123", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss14adbNic", "properties": {"primary": true, "enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss14adbIPConfig", + [{"name": "vmss1d2c1Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1d2c1IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool"}]}}], "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": - "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "cc568c41-b77e-4d07-93eb-2aba13d0fac7", + "NetworkWatcherAgentLinux", "properties": {"forceUpdateTag": "bd4835e0-2663-4000-8b9c-738598131acd", "publisher": "Microsoft.Azure.NetworkWatcher", "type": "NetworkWatcherAgentLinux", "typeHandlerVersion": "1.4", "autoUpgradeMinorVersion": true, "enableAutomaticUpgrade": false}}]}}, "overprovision": true, "doNotRunExtensionsOnOverprovisionedVMs": @@ -2299,13 +2148,13 @@ interactions: Connection: - keep-alive Content-Length: - - '2077' + - '2247' Content-Type: - application/json ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -2315,42 +2164,44 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \ \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \ \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\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/067572ec-7b2b-43a6-919f-f5d8046ea8a9?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/65c6aff7-c4a5-40d8-84a0-6b2ec1ac3177?api-version=2020-12-01 cache-control: - no-cache content-length: - - '3185' + - '3407' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:23 GMT + - Thu, 15 Apr 2021 10:02:16 GMT expires: - '-1' pragma: @@ -2367,9 +2218,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;54,Microsoft.Compute/CreateVMScaleSet30Min;290,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;54,Microsoft.Compute/CreateVMScaleSet30Min;282,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1199' x-ms-request-charge: - '0' status: @@ -2389,23 +2240,23 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/067572ec-7b2b-43a6-919f-f5d8046ea8a9?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/65c6aff7-c4a5-40d8-84a0-6b2ec1ac3177?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-02-09T06:41:20.924448+00:00\",\r\n \"endTime\": - \"2021-02-09T06:41:21.1119337+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"067572ec-7b2b-43a6-919f-f5d8046ea8a9\"\r\n}" + string: "{\r\n \"startTime\": \"2021-04-15T10:02:14.0673217+00:00\",\r\n \"endTime\": + \"2021-04-15T10:02:15.2704399+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"65c6aff7-c4a5-40d8-84a0-6b2ec1ac3177\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:33 GMT + - Thu, 15 Apr 2021 10:02:26 GMT expires: - '-1' pragma: @@ -2422,7 +2273,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14962,Microsoft.Compute/GetOperation30Min;29724 + - Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29963 status: code: 200 message: OK @@ -2440,7 +2291,7 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -2450,38 +2301,40 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \ \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3186' + - '3408' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:34 GMT + - Thu, 15 Apr 2021 10:02:26 GMT expires: - '-1' pragma: @@ -2498,7 +2351,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;381,Microsoft.Compute/GetVMScaleSet30Min;2563 + - Microsoft.Compute/GetVMScaleSet3Min;376,Microsoft.Compute/GetVMScaleSet30Min;2521 status: code: 200 message: OK @@ -2516,7 +2369,7 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -2526,38 +2379,40 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"NetworkWatcherAgentLinux\",\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\": true,\r\n \"forceUpdateTag\": - \"cc568c41-b77e-4d07-93eb-2aba13d0fac7\",\r\n \"enableAutomaticUpgrade\": + \"bd4835e0-2663-4000-8b9c-738598131acd\",\r\n \"enableAutomaticUpgrade\": false,\r\n \"publisher\": \"Microsoft.Azure.NetworkWatcher\",\r\n \ \"type\": \"NetworkWatcherAgentLinux\",\r\n \"typeHandlerVersion\": \"1.4\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \ \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3186' + - '3408' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:35 GMT + - Thu, 15 Apr 2021 10:02:28 GMT expires: - '-1' pragma: @@ -2574,20 +2429,22 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;380,Microsoft.Compute/GetVMScaleSet30Min;2562 + - Microsoft.Compute/GetVMScaleSet3Min;375,Microsoft.Compute/GetVMScaleSet30Min;2520 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": - "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss14adb", "adminUsername": + "Standard", "capacity": 1}, "properties": {"upgradePolicy": {"mode": "Manual", + "rollingUpgradePolicy": {"maxBatchInstancePercent": 20, "maxUnhealthyInstancePercent": + 20, "maxUnhealthyUpgradedInstancePercent": 20, "pauseTimeBetweenBatches": "PT0S"}}, + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1d2c1", "adminUsername": "admin123", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss14adbNic", "properties": {"primary": true, "enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss14adbIPConfig", + [{"name": "vmss1d2c1Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1d2c1IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool"}], @@ -2605,13 +2462,13 @@ interactions: Connection: - keep-alive Content-Length: - - '1789' + - '1959' Content-Type: - application/json ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -2621,36 +2478,38 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": []\r\n }\r\n \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\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/14d10754-f369-4a70-b4b7-7b3f90779107?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/daee467e-23ab-4bf4-9924-93ed01ca080e?api-version=2020-12-01 cache-control: - no-cache content-length: - - '2731' + - '2953' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:37 GMT + - Thu, 15 Apr 2021 10:02:31 GMT expires: - '-1' pragma: @@ -2667,9 +2526,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;54,Microsoft.Compute/CreateVMScaleSet30Min;289,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;54,Microsoft.Compute/CreateVMScaleSet30Min;281,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1199' x-ms-request-charge: - '0' status: @@ -2689,23 +2548,23 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/14d10754-f369-4a70-b4b7-7b3f90779107?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/daee467e-23ab-4bf4-9924-93ed01ca080e?api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-02-09T06:41:36.6751674+00:00\",\r\n \"endTime\": - \"2021-02-09T06:41:37.034577+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"14d10754-f369-4a70-b4b7-7b3f90779107\"\r\n}" + string: "{\r\n \"startTime\": \"2021-04-15T10:02:30.1454071+00:00\",\r\n \"endTime\": + \"2021-04-15T10:02:31.2860778+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"daee467e-23ab-4bf4-9924-93ed01ca080e\"\r\n}" headers: cache-control: - no-cache content-length: - - '183' + - '184' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:47 GMT + - Thu, 15 Apr 2021 10:02:43 GMT expires: - '-1' pragma: @@ -2722,7 +2581,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14956,Microsoft.Compute/GetOperation30Min;29718 + - Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29961 status: code: 200 message: OK @@ -2740,7 +2599,7 @@ interactions: ParameterSetName: - --resource-group --vmss-name --name User-Agent: - - AZURECLI/2.19.0 azsdk-python-azure-mgmt-compute/18.2.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.22.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.9 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-12-01 response: @@ -2750,32 +2609,34 @@ interactions: \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ \"tier\": \"Standard\",\r\n \"capacity\": 1\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\": \"vmss14adb\",\r\n \"adminUsername\": - \"admin123\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": - false,\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 - \ \"osType\": \"Linux\",\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\": - \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n \"sku\": - \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n }\r\n },\r\n - \ \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14adbNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14adbIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n + \"Manual\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n }\r\n },\r\n + \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": + \"vmss1d2c1\",\r\n \"adminUsername\": \"admin123\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false,\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 \"osType\": \"Linux\",\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\": \"Canonical\",\r\n \"offer\": \"UbuntuServer\",\r\n + \ \"sku\": \"18.04-LTS\",\r\n \"version\": \"latest\"\r\n + \ }\r\n },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1d2c1Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1d2c1IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/backendAddressPools/vmss1LBBEPool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_extension000001/providers/Microsoft.Network/loadBalancers/vmss1LB/inboundNatPools/vmss1LBNatPool\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": []\r\n }\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"1fd7e877-48fe-46f0-84ee-cccc5dac7a82\"\r\n }\r\n}" + \"6dcb815a-ef78-4507-ac16-687e31ff995a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2732' + - '2954' content-type: - application/json; charset=utf-8 date: - - Tue, 09 Feb 2021 06:41:47 GMT + - Thu, 15 Apr 2021 10:02:44 GMT expires: - '-1' pragma: @@ -2792,7 +2653,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;375,Microsoft.Compute/GetVMScaleSet30Min;2557 + - Microsoft.Compute/GetVMScaleSet3Min;373,Microsoft.Compute/GetVMScaleSet30Min;2518 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 c5ed5e36d76..667ea8362b3 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 @@ -1629,6 +1629,8 @@ def test_vmss_extension(self): self.check('provisionAfterExtensions[1]', '{script-ext}'), ]) + self.cmd('vmss extension upgrade --ids 100') + # delete all the extensions self.cmd('vmss extension delete --resource-group {rg} --vmss-name {vmss} --name {access-ext}') self.cmd('vmss extension delete --resource-group {rg} --vmss-name {vmss} --name {script-ext}') From 5d61facd639192fdc0b0cef103256b5b6e8237fc Mon Sep 17 00:00:00 2001 From: xfz11 <81600993+xfz11@users.noreply.github.com> Date: Thu, 15 Apr 2021 20:20:20 +0800 Subject: [PATCH 2/2] Update src/azure-cli/azure/cli/command_modules/vm/custom.py --- src/azure-cli/azure/cli/command_modules/vm/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 316402be025..acf065dab91 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -3274,7 +3274,7 @@ def set_orchestration_service_state(cmd, resource_group_name, vm_scale_set_name, def upgrade_vmss_extension(cmd, resource_group_name, vm_scale_set_name, no_wait=False): client = _compute_client_factory(cmd.cli_ctx) - return sdk_no_wait(no_wait, client.virtual_machine_scale_set_rolling_upgrades.begin_start_extension_upgrade , + return sdk_no_wait(no_wait, client.virtual_machine_scale_set_rolling_upgrades.begin_start_extension_upgrade, resource_group_name, vm_scale_set_name) # endregion