diff --git a/src/azure-cli-core/HISTORY.rst b/src/azure-cli-core/HISTORY.rst index 7ff2478e4c1..bfbfc065a3d 100644 --- a/src/azure-cli-core/HISTORY.rst +++ b/src/azure-cli-core/HISTORY.rst @@ -3,6 +3,14 @@ Release History =============== +2.24.2 +++++++ +* No changes + +2.24.1 +++++++ +* No changes + 2.24.0 ++++++ * Fix issue #16798: Azure CLI output is corrupted! (#18065) diff --git a/src/azure-cli-core/azure/cli/core/__init__.py b/src/azure-cli-core/azure/cli/core/__init__.py index b28ce20097f..4b773d3fd74 100644 --- a/src/azure-cli-core/azure/cli/core/__init__.py +++ b/src/azure-cli-core/azure/cli/core/__init__.py @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long -__version__ = "2.24.0" +__version__ = "2.24.2" import os import sys diff --git a/src/azure-cli-core/setup.py b/src/azure-cli-core/setup.py index deb528bd1bc..ff67247ba1f 100644 --- a/src/azure-cli-core/setup.py +++ b/src/azure-cli-core/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "2.24.0" +VERSION = "2.24.2" # If we have source, validate that our version numbers match # This should prevent uploading releases with mismatched versions. diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst index 0f3b1ac3024..0c22a42965b 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -3,6 +3,29 @@ Release History =============== +2.24.2 +++++++ + +**Container** + +* Hotfix: Fix #18276: `az container create` fails with `AttributeError: 'ResourcesOperations' object has no attribute 'create_or_update'` + +2.24.1 +++++++ + +**App Service** + +* Hotfix: Fix #18266 - webapp config appsettings set command causing all values to default to "false" + +**ARM** +* Hotfix: Fix deserialization issue in the What-If formatter of ARM template + +**Compute** +* Hotfix: Fix the bad request issue when creating VMSS in Azure Stack + +**IoT** +* Hotfix: Fix issue for removing last user-assigned identity from IoT Hub + 2.24.0 ++++++ diff --git a/src/azure-cli/azure/cli/__main__.py b/src/azure-cli/azure/cli/__main__.py index bc00149f92e..f3aab03c63e 100644 --- a/src/azure-cli/azure/cli/__main__.py +++ b/src/azure-cli/azure/cli/__main__.py @@ -17,7 +17,7 @@ from knack.log import get_logger __author__ = "Microsoft Corporation " -__version__ = "2.24.0" +__version__ = "2.24.2" # A workaround for https://bugs.python.org/issue32502 (https://github.com/Azure/azure-cli/issues/5184) diff --git a/src/azure-cli/azure/cli/command_modules/appservice/custom.py b/src/azure-cli/azure/cli/command_modules/appservice/custom.py index e63b33ce61f..de14a6ea752 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/custom.py +++ b/src/azure-cli/azure/cli/command_modules/appservice/custom.py @@ -270,7 +270,6 @@ def update_app_settings(cmd, resource_group_name, name, settings=None, slot=None dest[setting_name] = value result.update(dest) - result.update(slot_result) for setting_name, value in result.items(): app_settings.properties[setting_name] = value client = web_client_factory(cmd.cli_ctx) diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_update_webapp_settings_thru_json.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_update_webapp_settings_thru_json.yaml index c5b40989bd8..7fe4b644237 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_update_webapp_settings_thru_json.yaml +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_update_webapp_settings_thru_json.yaml @@ -13,15 +13,13 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.1 - accept-language: - - en-US + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.6 + (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_webapp_json000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001","name":"cli_test_webapp_json000001","type":"Microsoft.Resources/resourceGroups","location":"japanwest","tags":{"product":"azurecli","cause":"automation","date":"2021-04-28T11:34:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001","name":"cli_test_webapp_json000001","type":"Microsoft.Resources/resourceGroups","location":"japanwest","tags":{"product":"azurecli","cause":"automation","date":"2021-05-29T12:42:37Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Apr 2021 11:34:06 GMT + - Sat, 29 May 2021 12:42:44 GMT expires: - '-1' pragma: @@ -63,7 +61,7 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/validate?api-version=2020-09-01 response: @@ -77,7 +75,7 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:08 GMT + - Sat, 29 May 2021 12:42:46 GMT expires: - '-1' pragma: @@ -95,7 +93,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-powered-by: - ASP.NET status: @@ -115,15 +113,13 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - python/3.7.6 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-resource/12.1.0 Azure-SDK-For-Python AZURECLI/2.22.1 - accept-language: - - en-US + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-resource/18.0.0 Python/3.7.6 + (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_webapp_json000001?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001","name":"cli_test_webapp_json000001","type":"Microsoft.Resources/resourceGroups","location":"japanwest","tags":{"product":"azurecli","cause":"automation","date":"2021-04-28T11:34:02Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001","name":"cli_test_webapp_json000001","type":"Microsoft.Resources/resourceGroups","location":"japanwest","tags":{"product":"azurecli","cause":"automation","date":"2021-05-29T12:42:37Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -132,7 +128,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 28 Apr 2021 11:34:09 GMT + - Sat, 29 May 2021 12:42:47 GMT expires: - '-1' pragma: @@ -165,24 +161,24 @@ interactions: ParameterSetName: - -g -n --sku User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003?api-version=2020-09-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","name":"webapp-config-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"japanwest","properties":{"serverFarmId":3879,"name":"webapp-config-plan000003","sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1},"workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"cli_test_webapp_json000001-JapanWestwebspace","subscription":"04b0639d-85d8-445a-bada-8da78e50ff30","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":0,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"Japan - West","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"cli_test_webapp_json000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-os1-027_3879","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"azBalancing":false},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","name":"webapp-config-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"japanwest","properties":{"serverFarmId":25131,"name":"webapp-config-plan000003","sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1},"workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"cli_test_webapp_json000001-JapanWestwebspace","subscription":"04b0639d-85d8-445a-bada-8da78e50ff30","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":0,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"Japan + West","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"cli_test_webapp_json000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-os1-013_25131","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"azBalancing":null},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}' headers: cache-control: - no-cache content-length: - - '1707' + - '1736' content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:22 GMT + - Sat, 29 May 2021 12:43:03 GMT etag: - - '"1D73C226C9BF375"' + - '"1D75488284BE42B"' expires: - '-1' pragma: @@ -200,7 +196,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' x-powered-by: - ASP.NET status: @@ -220,23 +216,23 @@ interactions: ParameterSetName: - -g -n --plan User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003?api-version=2020-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","name":"webapp-config-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"Japan - West","properties":{"serverFarmId":3879,"name":"webapp-config-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"cli_test_webapp_json000001-JapanWestwebspace","subscription":"04b0639d-85d8-445a-bada-8da78e50ff30","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"Japan - West","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"cli_test_webapp_json000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-os1-027_3879","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"azBalancing":false},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}' + West","properties":{"serverFarmId":25131,"name":"webapp-config-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"cli_test_webapp_json000001-JapanWestwebspace","subscription":"04b0639d-85d8-445a-bada-8da78e50ff30","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"Japan + West","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"cli_test_webapp_json000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-os1-013_25131","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"azBalancing":null},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}' headers: cache-control: - no-cache content-length: - - '1633' + - '1662' content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:24 GMT + - Sat, 29 May 2021 12:43:04 GMT expires: - '-1' pragma: @@ -277,7 +273,7 @@ interactions: ParameterSetName: - -g -n --plan User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/validate?api-version=2020-09-01 response: @@ -291,7 +287,7 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:25 GMT + - Sat, 29 May 2021 12:43:06 GMT expires: - '-1' pragma: @@ -309,7 +305,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-powered-by: - ASP.NET status: @@ -329,23 +325,23 @@ interactions: ParameterSetName: - -g -n --plan User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003?api-version=2020-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","name":"webapp-config-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"Japan - West","properties":{"serverFarmId":3879,"name":"webapp-config-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"cli_test_webapp_json000001-JapanWestwebspace","subscription":"04b0639d-85d8-445a-bada-8da78e50ff30","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"Japan - West","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"cli_test_webapp_json000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-os1-027_3879","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"azBalancing":false},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}' + West","properties":{"serverFarmId":25131,"name":"webapp-config-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"cli_test_webapp_json000001-JapanWestwebspace","subscription":"04b0639d-85d8-445a-bada-8da78e50ff30","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"Japan + West","perSiteScaling":false,"elasticScaleEnabled":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"cli_test_webapp_json000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-os1-013_25131","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null,"kubeEnvironmentProfile":null,"azBalancing":null},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}' headers: cache-control: - no-cache content-length: - - '1633' + - '1662' content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:25 GMT + - Sat, 29 May 2021 12:43:08 GMT expires: - '-1' pragma: @@ -385,7 +381,7 @@ interactions: ParameterSetName: - -g -n --plan User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Web/checknameavailability?api-version=2020-09-01 response: @@ -399,7 +395,7 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:27 GMT + - Sat, 29 May 2021 12:43:08 GMT expires: - '-1' pragma: @@ -443,26 +439,26 @@ interactions: ParameterSetName: - -g -n --plan User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002?api-version=2020-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002","name":"webapp-config-test000002","type":"Microsoft.Web/sites","kind":"app","location":"Japan - West","properties":{"name":"webapp-config-test000002","state":"Running","hostNames":["webapp-config-test000002.azurewebsites.net"],"webSpace":"cli_test_webapp_json000001-JapanWestwebspace","selfLink":"https://waws-prod-os1-027.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/cli_test_webapp_json000001-JapanWestwebspace/sites/webapp-config-test000002","repositorySiteName":"webapp-config-test000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-config-test000002.azurewebsites.net","webapp-config-test000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-config-test000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-config-test000002.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2021-04-28T11:34:33.6733333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":{"numberOfWorkers":null,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":null,"windowsFxVersion":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"azureStorageAccounts":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":null,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow + West","properties":{"name":"webapp-config-test000002","state":"Running","hostNames":["webapp-config-test000002.azurewebsites.net"],"webSpace":"cli_test_webapp_json000001-JapanWestwebspace","selfLink":"https://waws-prod-os1-013.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/cli_test_webapp_json000001-JapanWestwebspace/sites/webapp-config-test000002","repositorySiteName":"webapp-config-test000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-config-test000002.azurewebsites.net","webapp-config-test000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-config-test000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-config-test000002.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2021-05-29T12:43:17.9266667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"azureStorageAccounts":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow all","description":"Allow all access"}],"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow - all","description":"Allow all access"}],"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":null,"minTlsVersion":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":null,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0},"deploymentId":"webapp-config-test000002","slotName":null,"trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"C3E7C05FE8A97695B3AE08C1935F4251C48E338FE439627B2E788D9D718C8A70","kind":"app","inboundIpAddress":"40.74.100.137","possibleInboundIpAddresses":"40.74.100.137","ftpUsername":"webapp-config-test000002\\$webapp-config-test000002","ftpsHostName":"ftps://waws-prod-os1-027.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"40.74.90.160,40.74.94.222,40.74.113.39,40.74.95.132,40.74.113.204,40.74.75.201,40.74.100.137","possibleOutboundIpAddresses":"40.74.90.160,40.74.94.222,40.74.113.39,40.74.95.132,40.74.113.204,40.74.75.201,40.74.112.41,40.74.113.1,40.74.65.7,40.74.76.184,40.74.79.7,40.74.67.13,40.74.81.157,40.74.86.212,40.74.86.30,40.74.81.231,40.74.80.113,40.74.80.110,40.74.100.137","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-os1-027","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"cli_test_webapp_json000001","defaultHostName":"webapp-config-test000002.azurewebsites.net","slotSwapStatus":null,"keyVaultReferenceIdentity":"SystemAssigned","httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceAuditLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServiceIPSecAuditLogs,AppServicePlatformLogs,ScanLogs","storageAccountRequired":false}}' + all","description":"Allow all access"}],"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":false,"minTlsVersion":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0},"deploymentId":"webapp-config-test000002","slotName":null,"trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"C3E7C05FE8A97695B3AE08C1935F4251C48E338FE439627B2E788D9D718C8A70","kind":"app","inboundIpAddress":"40.74.100.129","possibleInboundIpAddresses":"40.74.100.129","ftpUsername":"webapp-config-test000002\\$webapp-config-test000002","ftpsHostName":"ftps://waws-prod-os1-013.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"40.74.100.129,40.74.85.64,40.74.126.115,40.74.125.67,40.74.128.17","possibleOutboundIpAddresses":"40.74.100.129,40.74.85.64,40.74.126.115,40.74.125.67,40.74.128.17,40.74.127.201,40.74.128.130,23.100.108.106,40.74.128.122,40.74.128.53","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-os1-013","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"cli_test_webapp_json000001","defaultHostName":"webapp-config-test000002.azurewebsites.net","slotSwapStatus":null,"keyVaultReferenceIdentity":"SystemAssigned","httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceAuditLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServiceIPSecAuditLogs,AppServicePlatformLogs,ScanLogs","storageAccountRequired":false,"virtualNetworkSubnetId":null}}' headers: cache-control: - no-cache content-length: - - '6586' + - '6504' content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:53 GMT + - Sat, 29 May 2021 12:43:36 GMT etag: - - '"1D73C227649FA75"' + - '"1D7548833671CC0"' expires: - '-1' pragma: @@ -504,7 +500,7 @@ interactions: ParameterSetName: - -g -n --plan User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/publishxml?api-version=2020-09-01 response: @@ -512,30 +508,36 @@ interactions: string: + webSystem="WebSites"> headers: cache-control: - no-cache content-length: - - '1875' + - '2519' content-type: - application/xml date: - - Wed, 28 Apr 2021 11:34:54 GMT + - Sat, 29 May 2021 12:43:39 GMT expires: - '-1' pragma: @@ -555,6 +557,176 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp deployment slot create + Connection: + - keep-alive + ParameterSetName: + - -g -n --slot + User-Agent: + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002","name":"webapp-config-test000002","type":"Microsoft.Web/sites","kind":"app","location":"Japan + West","properties":{"name":"webapp-config-test000002","state":"Running","hostNames":["webapp-config-test000002.azurewebsites.net"],"webSpace":"cli_test_webapp_json000001-JapanWestwebspace","selfLink":"https://waws-prod-os1-013.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/cli_test_webapp_json000001-JapanWestwebspace/sites/webapp-config-test000002","repositorySiteName":"webapp-config-test000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-config-test000002.azurewebsites.net","webapp-config-test000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-config-test000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-config-test000002.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2021-05-29T12:43:18.54","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"azureStorageAccounts":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":null,"scmIpSecurityRestrictions":null,"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":true,"minTlsVersion":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0},"deploymentId":"webapp-config-test000002","slotName":null,"trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"C3E7C05FE8A97695B3AE08C1935F4251C48E338FE439627B2E788D9D718C8A70","kind":"app","inboundIpAddress":"40.74.100.129","possibleInboundIpAddresses":"40.74.100.129","ftpUsername":"webapp-config-test000002\\$webapp-config-test000002","ftpsHostName":"ftps://waws-prod-os1-013.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"40.74.100.129,40.74.85.64,40.74.126.115,40.74.125.67,40.74.128.17","possibleOutboundIpAddresses":"40.74.100.129,40.74.85.64,40.74.126.115,40.74.125.67,40.74.128.17,40.74.127.201,40.74.128.130,23.100.108.106,40.74.128.122,40.74.128.53","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-os1-013","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"cli_test_webapp_json000001","defaultHostName":"webapp-config-test000002.azurewebsites.net","slotSwapStatus":null,"keyVaultReferenceIdentity":"SystemAssigned","httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceAuditLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServiceIPSecAuditLogs,AppServicePlatformLogs,ScanLogs","storageAccountRequired":false,"virtualNetworkSubnetId":null}}' + headers: + cache-control: + - no-cache + content-length: + - '6297' + content-type: + - application/json + date: + - Sat, 29 May 2021 12:43:40 GMT + etag: + - '"1D7548833671CC0"' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp deployment slot create + Connection: + - keep-alive + ParameterSetName: + - -g -n --slot + User-Agent: + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/web?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/web","name":"webapp-config-test000002","type":"Microsoft.Web/sites/config","location":"Japan + West","properties":{"numberOfWorkers":1,"defaultDocuments":["Default.htm","Default.html","Default.asp","index.htm","index.html","iisstart.htm","default.aspx","index.php","hostingstart.html"],"netFrameworkVersion":"v4.0","phpVersion":"5.6","pythonVersion":"","nodeVersion":"","powerShellVersion":"","linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":null,"httpLoggingEnabled":false,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$webapp-config-test000002","publishingPassword":null,"appSettings":null,"azureStorageAccounts":{},"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":true,"virtualDirectories":null}],"winAuthAdminState":0,"winAuthTenantState":0,"customAppPoolIdentityAdminState":false,"customAppPoolIdentityTenantState":false,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":"LeastRequests","routingRules":[],"experiments":{"rampUpRules":[]},"limits":null,"autoHealEnabled":false,"autoHealRules":null,"tracingOptions":null,"vnetName":"","vnetRouteAllEnabled":false,"vnetPrivatePortsCount":0,"publicNetworkAccess":null,"siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"configVersion":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"clientSecretSettingName":null,"clientSecretCertificateThumbprint":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"aadClaimsAuthorization":null,"googleClientId":null,"googleClientSecret":null,"googleClientSecretSettingName":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookAppSecretSettingName":null,"facebookOAuthScopes":null,"gitHubClientId":null,"gitHubClientSecret":null,"gitHubClientSecretSettingName":null,"gitHubOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"twitterConsumerSecretSettingName":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountClientSecretSettingName":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow + all","description":"Allow all access"}],"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow + all","description":"Allow all access"}],"scmIpSecurityRestrictionsUseMain":false,"http20Enabled":true,"minTlsVersion":"1.2","scmMinTlsVersion":"1.0","ftpsState":"AllAllowed","preWarmedInstanceCount":0,"functionAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":false,"functionsRuntimeScaleMonitoringEnabled":false,"websiteTimeZone":null,"minimumElasticInstanceCount":0}}' + headers: + cache-control: + - no-cache + content-length: + - '3800' + content-type: + - application/json + date: + - Sat, 29 May 2021 12:43:42 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"location": "Japan West", "properties": {"serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003", + "reserved": false, "isXenon": false, "hyperV": false, "siteConfig": {"netFrameworkVersion": + "v4.6", "localMySqlEnabled": false, "http20Enabled": true}, "scmSiteAlsoStopped": + false}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp deployment slot create + Connection: + - keep-alive + Content-Length: + - '462' + Content-Type: + - application/json + ParameterSetName: + - -g -n --slot + User-Agent: + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/slots/staging?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/slots/staging","name":"webapp-config-test000002/staging","type":"Microsoft.Web/sites/slots","kind":"app","location":"Japan + West","properties":{"name":"webapp-config-test000002(staging)","state":"Running","hostNames":["webapp-config-test000002-staging.azurewebsites.net"],"webSpace":"cli_test_webapp_json000001-JapanWestwebspace","selfLink":"https://waws-prod-os1-013.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/cli_test_webapp_json000001-JapanWestwebspace/sites/webapp-config-test000002","repositorySiteName":"webapp-config-test000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-config-test000002-staging.azurewebsites.net","webapp-config-test000002-staging.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-config-test000002-staging.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-config-test000002-staging.scm.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Repository"}],"computeMode":null,"serverFarm":null,"serverFarmId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/serverfarms/webapp-config-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2021-05-29T12:43:52.1433333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":{"numberOfWorkers":1,"defaultDocuments":null,"netFrameworkVersion":null,"phpVersion":null,"pythonVersion":null,"nodeVersion":null,"powerShellVersion":null,"linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":null,"remoteDebuggingEnabled":null,"remoteDebuggingVersion":null,"httpLoggingEnabled":null,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":null,"detailedErrorLoggingEnabled":null,"publishingUsername":null,"publishingPassword":null,"appSettings":null,"azureStorageAccounts":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":null,"use32BitWorkerProcess":null,"webSocketsEnabled":null,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":null,"managedPipelineMode":null,"virtualApplications":null,"winAuthAdminState":null,"winAuthTenantState":null,"customAppPoolIdentityAdminState":null,"customAppPoolIdentityTenantState":null,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":null,"routingRules":null,"experiments":null,"limits":null,"autoHealEnabled":null,"autoHealRules":null,"tracingOptions":null,"vnetName":null,"vnetRouteAllEnabled":null,"vnetPrivatePortsCount":null,"publicNetworkAccess":null,"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":null,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow + all","description":"Allow all access"}],"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow + all","description":"Allow all access"}],"scmIpSecurityRestrictionsUseMain":null,"http20Enabled":false,"minTlsVersion":null,"scmMinTlsVersion":null,"ftpsState":null,"preWarmedInstanceCount":null,"functionAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":null,"functionsRuntimeScaleMonitoringEnabled":null,"websiteTimeZone":null,"minimumElasticInstanceCount":0},"deploymentId":"webapp-config-test000002__bb2f","slotName":null,"trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertMode":"Required","clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"C3E7C05FE8A97695B3AE08C1935F4251C48E338FE439627B2E788D9D718C8A70","kind":"app","inboundIpAddress":"40.74.100.129","possibleInboundIpAddresses":"40.74.100.129","ftpUsername":"webapp-config-test000002__staging\\$webapp-config-test000002__staging","ftpsHostName":"ftps://waws-prod-os1-013.ftp.azurewebsites.windows.net/site/wwwroot","outboundIpAddresses":"40.74.100.129,40.74.85.64,40.74.126.115,40.74.125.67,40.74.128.17","possibleOutboundIpAddresses":"40.74.100.129,40.74.85.64,40.74.126.115,40.74.125.67,40.74.128.17,40.74.127.201,40.74.128.130,23.100.108.106,40.74.128.122,40.74.128.53","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-os1-013","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"cli_test_webapp_json000001","defaultHostName":"webapp-config-test000002-staging.azurewebsites.net","slotSwapStatus":null,"keyVaultReferenceIdentity":"SystemAssigned","httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null,"migrationState":null,"eligibleLogCategories":"AppServiceAppLogs,AppServiceAuditLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServiceIPSecAuditLogs,AppServicePlatformLogs,ScanLogs","storageAccountRequired":false,"virtualNetworkSubnetId":null}}' + headers: + cache-control: + - no-cache + content-length: + - '6613' + content-type: + - application/json + date: + - Sat, 29 May 2021 12:44:11 GMT + etag: + - '"1D7548833671CC0"' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '499' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK - request: body: null headers: @@ -571,7 +743,7 @@ interactions: ParameterSetName: - -g -n --settings User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/appsettings/list?api-version=2020-09-01 response: @@ -586,7 +758,7 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:55 GMT + - Sat, 29 May 2021 12:44:13 GMT expires: - '-1' pragma: @@ -629,7 +801,7 @@ interactions: ParameterSetName: - -g -n --settings User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/appsettings?api-version=2020-09-01 response: @@ -644,9 +816,9 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:57 GMT + - Sat, 29 May 2021 12:44:15 GMT etag: - - '"1D73C2284979440"' + - '"1D754885589D220"' expires: - '-1' pragma: @@ -686,7 +858,7 @@ interactions: ParameterSetName: - -g -n --settings User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/appsettings/list?api-version=2020-09-01 response: @@ -701,7 +873,7 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:34:59 GMT + - Sat, 29 May 2021 12:44:17 GMT expires: - '-1' pragma: @@ -719,15 +891,15 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-resource-requests: - - '11997' + - '11999' x-powered-by: - ASP.NET status: code: 200 message: OK - request: - body: '{"properties": {"WEBSITE_NODE_DEFAULT_VERSION": "10.14.1", "s": "False", - "s2": "False", "s3": "True"}}' + body: '{"properties": {"WEBSITE_NODE_DEFAULT_VERSION": "10.14.1", "s": "value", + "s2": "value2", "s3": "value3"}}' headers: Accept: - application/json @@ -738,30 +910,30 @@ interactions: Connection: - keep-alive Content-Length: - - '102' + - '105' Content-Type: - application/json ParameterSetName: - -g -n --settings User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/appsettings?api-version=2020-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/appsettings","name":"appsettings","type":"Microsoft.Web/sites/config","location":"Japan - West","properties":{"WEBSITE_NODE_DEFAULT_VERSION":"10.14.1","s":"False","s2":"False","s3":"True"}}' + West","properties":{"WEBSITE_NODE_DEFAULT_VERSION":"10.14.1","s":"value","s2":"value2","s3":"value3"}}' headers: cache-control: - no-cache content-length: - - '415' + - '418' content-type: - application/json date: - - Wed, 28 Apr 2021 11:35:01 GMT + - Sat, 29 May 2021 12:44:19 GMT etag: - - '"1D73C228663E2CB"' + - '"1D7548857D9DCA0"' expires: - '-1' pragma: @@ -779,7 +951,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1199' x-powered-by: - ASP.NET status: @@ -799,7 +971,7 @@ interactions: ParameterSetName: - -g -n --settings User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/slotConfigNames?api-version=2020-09-01 response: @@ -814,7 +986,7 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:35:01 GMT + - Sat, 29 May 2021 12:44:20 GMT expires: - '-1' pragma: @@ -854,7 +1026,231 @@ interactions: ParameterSetName: - -g -n --settings User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/slotConfigNames?api-version=2020-09-01 + response: + body: + string: '{"id":null,"name":"webapp-config-test000002","type":"Microsoft.Web/sites","location":"Japan + West","properties":{"connectionStringNames":[],"appSettingNames":["s3"],"azureStorageConfigNames":[]}}' + headers: + cache-control: + - no-cache + content-length: + - '210' + content-type: + - application/json + date: + - Sat, 29 May 2021 12:44:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp config appsettings set + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --slot --settings + User-Agent: + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/slots/staging/config/appsettings/list?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/slots/staging/config/appsettings","name":"appsettings","type":"Microsoft.Web/sites/config","location":"Japan + West","properties":{"WEBSITE_NODE_DEFAULT_VERSION":"6.9.1"}}' + headers: + cache-control: + - no-cache + content-length: + - '390' + content-type: + - application/json + date: + - Sat, 29 May 2021 12:44:22 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-resource-requests: + - '11999' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"WEBSITE_NODE_DEFAULT_VERSION": "6.9.1", "s": "value", + "s2": "value2", "s3": "value3"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp config appsettings set + Connection: + - keep-alive + Content-Length: + - '103' + Content-Type: + - application/json + ParameterSetName: + - -g -n --slot --settings + User-Agent: + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/slots/staging/config/appsettings?api-version=2020-09-01 + response: + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/slots/staging/config/appsettings","name":"appsettings","type":"Microsoft.Web/sites/config","location":"Japan + West","properties":{"WEBSITE_NODE_DEFAULT_VERSION":"6.9.1","s":"value","s2":"value2","s3":"value3"}}' + headers: + cache-control: + - no-cache + content-length: + - '430' + content-type: + - application/json + date: + - Sat, 29 May 2021 12:44:24 GMT + etag: + - '"1D754885AC0F700"' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp config appsettings set + Connection: + - keep-alive + ParameterSetName: + - -g -n --slot --settings + User-Agent: + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/slotConfigNames?api-version=2020-09-01 + response: + body: + string: '{"id":null,"name":"webapp-config-test000002","type":"Microsoft.Web/sites","location":"Japan + West","properties":{"connectionStringNames":[],"appSettingNames":["s3"],"azureStorageConfigNames":[]}}' + headers: + cache-control: + - no-cache + content-length: + - '210' + content-type: + - application/json + date: + - Sat, 29 May 2021 12:44:24 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-aspnet-version: + - 4.0.30319 + x-content-type-options: + - nosniff + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: '{"properties": {"connectionStringNames": [], "appSettingNames": ["s3"], + "azureStorageConfigNames": []}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - webapp config appsettings set + Connection: + - keep-alive + Content-Length: + - '103' + Content-Type: + - application/json + ParameterSetName: + - -g -n --slot --settings + User-Agent: + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/slotConfigNames?api-version=2020-09-01 response: @@ -869,7 +1265,7 @@ interactions: content-type: - application/json date: - - Wed, 28 Apr 2021 11:35:02 GMT + - Sat, 29 May 2021 12:44:24 GMT expires: - '-1' pragma: @@ -887,7 +1283,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1198' x-powered-by: - ASP.NET status: @@ -907,24 +1303,24 @@ interactions: ParameterSetName: - -g -n --generic-configurations User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/web?api-version=2020-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/web","name":"webapp-config-test000002","type":"Microsoft.Web/sites/config","location":"Japan - West","properties":{"numberOfWorkers":1,"defaultDocuments":["Default.htm","Default.html","Default.asp","index.htm","index.html","iisstart.htm","default.aspx","index.php","hostingstart.html"],"netFrameworkVersion":"v4.0","phpVersion":"5.6","pythonVersion":"","nodeVersion":"","powerShellVersion":"","linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":null,"httpLoggingEnabled":false,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$webapp-config-test000002","publishingPassword":null,"appSettings":null,"azureStorageAccounts":{},"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":true,"virtualDirectories":null}],"winAuthAdminState":0,"winAuthTenantState":0,"customAppPoolIdentityAdminState":false,"customAppPoolIdentityTenantState":false,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":"LeastRequests","routingRules":[],"experiments":{"rampUpRules":[]},"limits":null,"autoHealEnabled":false,"autoHealRules":null,"tracingOptions":null,"vnetName":"","vnetRouteAllEnabled":false,"vnetPrivatePortsCount":0,"siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"configVersion":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"clientSecretSettingName":null,"clientSecretCertificateThumbprint":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"aadClaimsAuthorization":null,"googleClientId":null,"googleClientSecret":null,"googleClientSecretSettingName":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookAppSecretSettingName":null,"facebookOAuthScopes":null,"gitHubClientId":null,"gitHubClientSecret":null,"gitHubClientSecretSettingName":null,"gitHubOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"twitterConsumerSecretSettingName":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountClientSecretSettingName":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow + West","properties":{"numberOfWorkers":1,"defaultDocuments":["Default.htm","Default.html","Default.asp","index.htm","index.html","iisstart.htm","default.aspx","index.php","hostingstart.html"],"netFrameworkVersion":"v4.0","phpVersion":"5.6","pythonVersion":"","nodeVersion":"","powerShellVersion":"","linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":null,"httpLoggingEnabled":false,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$webapp-config-test000002","publishingPassword":null,"appSettings":null,"azureStorageAccounts":{},"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":true,"virtualDirectories":null}],"winAuthAdminState":0,"winAuthTenantState":0,"customAppPoolIdentityAdminState":false,"customAppPoolIdentityTenantState":false,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":"LeastRequests","routingRules":[],"experiments":{"rampUpRules":[]},"limits":null,"autoHealEnabled":false,"autoHealRules":null,"tracingOptions":null,"vnetName":"","vnetRouteAllEnabled":false,"vnetPrivatePortsCount":0,"publicNetworkAccess":null,"siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"configVersion":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"clientSecretSettingName":null,"clientSecretCertificateThumbprint":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"aadClaimsAuthorization":null,"googleClientId":null,"googleClientSecret":null,"googleClientSecretSettingName":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookAppSecretSettingName":null,"facebookOAuthScopes":null,"gitHubClientId":null,"gitHubClientSecret":null,"gitHubClientSecretSettingName":null,"gitHubOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"twitterConsumerSecretSettingName":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountClientSecretSettingName":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow all","description":"Allow all access"}],"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow all","description":"Allow all access"}],"scmIpSecurityRestrictionsUseMain":false,"http20Enabled":true,"minTlsVersion":"1.2","scmMinTlsVersion":"1.0","ftpsState":"AllAllowed","preWarmedInstanceCount":0,"functionAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":false,"functionsRuntimeScaleMonitoringEnabled":false,"websiteTimeZone":null,"minimumElasticInstanceCount":0}}' headers: cache-control: - no-cache content-length: - - '3773' + - '3800' content-type: - application/json date: - - Wed, 28 Apr 2021 11:35:03 GMT + - Sat, 29 May 2021 12:44:27 GMT expires: - '-1' pragma: @@ -977,26 +1373,26 @@ interactions: ParameterSetName: - -g -n --generic-configurations User-Agent: - - AZURECLI/2.22.1 azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 (MSI) azsdk-python-azure-mgmt-web/2.0.0 Python/3.7.6 (Windows-10-10.0.19041-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002/config/web?api-version=2020-09-01 response: body: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_webapp_json000001/providers/Microsoft.Web/sites/webapp-config-test000002","name":"webapp-config-test000002","type":"Microsoft.Web/sites","location":"Japan - West","properties":{"numberOfWorkers":1,"defaultDocuments":["Default.htm","Default.html","Default.asp","index.htm","index.html","iisstart.htm","default.aspx","index.php","hostingstart.html"],"netFrameworkVersion":"v4.0","phpVersion":"5.6","pythonVersion":"","nodeVersion":"","powerShellVersion":"","linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":true,"requestTracingExpirationTime":"9999-12-31T23:59:00Z","remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2019","httpLoggingEnabled":false,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$webapp-config-test000002","publishingPassword":null,"appSettings":null,"azureStorageAccounts":{},"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":true,"virtualDirectories":null}],"winAuthAdminState":0,"winAuthTenantState":0,"customAppPoolIdentityAdminState":false,"customAppPoolIdentityTenantState":false,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":"LeastRequests","routingRules":[],"experiments":{"rampUpRules":[]},"limits":null,"autoHealEnabled":false,"autoHealRules":null,"tracingOptions":null,"vnetName":"","vnetRouteAllEnabled":false,"vnetPrivatePortsCount":0,"siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"configVersion":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"clientSecretSettingName":null,"clientSecretCertificateThumbprint":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"aadClaimsAuthorization":null,"googleClientId":null,"googleClientSecret":null,"googleClientSecretSettingName":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookAppSecretSettingName":null,"facebookOAuthScopes":null,"gitHubClientId":null,"gitHubClientSecret":null,"gitHubClientSecretSettingName":null,"gitHubOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"twitterConsumerSecretSettingName":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountClientSecretSettingName":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow + West","properties":{"numberOfWorkers":1,"defaultDocuments":["Default.htm","Default.html","Default.asp","index.htm","index.html","iisstart.htm","default.aspx","index.php","hostingstart.html"],"netFrameworkVersion":"v4.0","phpVersion":"5.6","pythonVersion":"","nodeVersion":"","powerShellVersion":"","linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":true,"requestTracingExpirationTime":"9999-12-31T23:59:00Z","remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2019","httpLoggingEnabled":false,"azureMonitorLogCategories":null,"acrUseManagedIdentityCreds":false,"acrUserManagedIdentityID":null,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$webapp-config-test000002","publishingPassword":null,"appSettings":null,"azureStorageAccounts":{},"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":true,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":true,"virtualDirectories":null}],"winAuthAdminState":0,"winAuthTenantState":0,"customAppPoolIdentityAdminState":false,"customAppPoolIdentityTenantState":false,"runtimeADUser":null,"runtimeADUserPassword":null,"loadBalancing":"LeastRequests","routingRules":[],"experiments":{"rampUpRules":[]},"limits":null,"autoHealEnabled":false,"autoHealRules":null,"tracingOptions":null,"vnetName":"","vnetRouteAllEnabled":false,"vnetPrivatePortsCount":0,"publicNetworkAccess":null,"siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"configVersion":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"clientSecretSettingName":null,"clientSecretCertificateThumbprint":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"aadClaimsAuthorization":null,"googleClientId":null,"googleClientSecret":null,"googleClientSecretSettingName":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookAppSecretSettingName":null,"facebookOAuthScopes":null,"gitHubClientId":null,"gitHubClientSecret":null,"gitHubClientSecretSettingName":null,"gitHubOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"twitterConsumerSecretSettingName":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountClientSecretSettingName":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"keyVaultReferenceIdentity":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow all","description":"Allow all access"}],"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow all","description":"Allow all access"}],"scmIpSecurityRestrictionsUseMain":false,"http20Enabled":true,"minTlsVersion":"1.2","scmMinTlsVersion":"1.0","ftpsState":"AllAllowed","preWarmedInstanceCount":0,"functionAppScaleLimit":0,"healthCheckPath":null,"fileChangeAuditEnabled":false,"functionsRuntimeScaleMonitoringEnabled":false,"websiteTimeZone":null,"minimumElasticInstanceCount":0}}' headers: cache-control: - no-cache content-length: - - '3812' + - '3839' content-type: - application/json date: - - Wed, 28 Apr 2021 11:35:07 GMT + - Sat, 29 May 2021 12:44:30 GMT etag: - - '"1D73C228663E2CB"' + - '"1D7548857D9DCA0"' expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py index f241647b93f..169d2c733a3 100644 --- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py +++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py @@ -575,7 +575,7 @@ def test_webapp_config_appsettings(self, resource_group): def test_update_webapp_settings_thru_json(self, resource_group): webapp_name = self.create_random_name('webapp-config-test', 40) plan_name = self.create_random_name('webapp-config-plan', 40) - + slot = 'staging' # update through a json file with key value pair _, settings_file = tempfile.mkstemp() with open(settings_file, 'w+') as file: @@ -585,6 +585,11 @@ def test_update_webapp_settings_thru_json(self, resource_group): 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name)) self.cmd( 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name)) + # create an empty slot + self.cmd('webapp deployment slot create -g {} -n {} --slot {}'.format(resource_group, webapp_name, slot), + checks=[ + JMESPathCheck('name', slot) + ]) output = self.cmd('webapp config appsettings set -g {} -n {} --settings s=value "@{}"'.format( resource_group, webapp_name, settings_file)).get_output_in_json() @@ -617,17 +622,40 @@ def test_update_webapp_settings_thru_json(self, resource_group): self.assertEqual(output[0], { 'name': 's', - 'value': 'False', + 'value': 'value', 'slotSetting': False }) self.assertEqual(output[1], { 'name': 's2', - 'value': 'False', + 'value': 'value2', 'slotSetting': False }) self.assertEqual(output[2], { 'name': 's3', - 'value': 'True', + 'value': 'value3', + 'slotSetting': True + }) + with open(settings_file, 'w') as file: + file.write(json.dumps(output)) + + output = self.cmd('webapp config appsettings set -g {} -n {} --slot {} --settings "@{}"'.format( + resource_group, webapp_name, slot, settings_file)).get_output_in_json() + output = [s for s in output if s['name'] in ['s', 's2', 's3']] + output.sort(key=lambda s: s['name']) + + self.assertEqual(output[0], { + 'name': 's', + 'value': 'value', + 'slotSetting': False + }) + self.assertEqual(output[1], { + 'name': 's2', + 'value': 'value2', + 'slotSetting': False + }) + self.assertEqual(output[2], { + 'name': 's3', + 'value': 'value3', 'slotSetting': True }) # update site config @@ -640,7 +668,8 @@ def test_update_webapp_settings_thru_json(self, resource_group): self.cmd('webapp config set -g {} -n {} --generic-configurations "@{}"'.format(resource_group, webapp_name, settings_file)).assert_with_checks([ JMESPathCheck("requestTracingEnabled", True), JMESPathCheck("alwaysOn", True), - ]) + ]) + class WebappScaleTest(ScenarioTest): diff --git a/src/azure-cli/azure/cli/command_modules/container/custom.py b/src/azure-cli/azure/cli/command_modules/container/custom.py index 2c8d430cfe0..867e30eba86 100644 --- a/src/azure-cli/azure/cli/command_modules/container/custom.py +++ b/src/azure-cli/azure/cli/command_modules/container/custom.py @@ -405,7 +405,7 @@ def _create_update_from_file(cli_ctx, resource_group_name, name, location, file, api_version = cg_defintion.get('apiVersion', None) or container_group_client.api_version return sdk_no_wait(no_wait, - resource_client.resources.create_or_update, + resource_client.resources.begin_create_or_update, resource_group_name, "Microsoft.ContainerInstance", '', diff --git a/src/azure-cli/azure/cli/command_modules/resource/_formatters.py b/src/azure-cli/azure/cli/command_modules/resource/_formatters.py index 9b9e35f319b..d6e44594482 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/_formatters.py +++ b/src/azure-cli/azure/cli/command_modules/resource/_formatters.py @@ -108,7 +108,7 @@ def populate_change_type_set(property_changes): change_type_color = _change_type_to_color[change_type] _format_indent(builder) builder.append(change_type_symbol, change_type_color).append(Symbol.WHITE_SPACE) - builder.append_line(change_type.value.title()) + builder.append_line(change_type.title()) def _format_resource_changes_stats(builder, resource_changes): diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if.yaml b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if.yaml index f7ed90dc630..d86fcb76056 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if.yaml +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/recordings/test_subscription_level_what_if.yaml @@ -30,12 +30,12 @@ interactions: ParameterSetName: - --location --template-file User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/validate?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy","name":"policy_definition_deploy","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-16T02:04:44.3419793Z","duration":"PT0S","correlationId":"aea2b6cc-221a-4a23-a486-ceb60e585c83","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy","name":"policy_definition_deploy","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-26T16:20:37.7765178Z","duration":"PT0S","correlationId":"78b56bd8-1d60-4d8c-865c-2f07138a2970","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"validatedResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' headers: cache-control: - no-cache @@ -44,7 +44,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:04:43 GMT + - Wed, 26 May 2021 16:20:37 GMT expires: - '-1' pragma: @@ -93,15 +93,15 @@ interactions: ParameterSetName: - --location --template-file User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy","name":"policy_definition_deploy","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-04-16T02:04:46.7668111Z","duration":"PT1.8811173S","correlationId":"5361b3b6-c96d-424f-b854-b218619e6f02","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy","name":"policy_definition_deploy","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-26T16:20:40.7689604Z","duration":"PT2.5643911S","correlationId":"9203b4ec-af8a-4762-8658-002ad9169f9e","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy/operationStatuses/08585830682005919212?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy/operationStatuses/08585795608472730431?api-version=2020-10-01 cache-control: - no-cache content-length: @@ -109,24 +109,20 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:04:46 GMT + - Wed, 26 May 2021 16:20:41 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1199' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -141,9 +137,9 @@ interactions: ParameterSetName: - --location --template-file User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585830682005919212?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585795608472730431?api-version=2020-10-01 response: body: string: '{"status":"Succeeded"}' @@ -155,7 +151,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:05:17 GMT + - Wed, 26 May 2021 16:21:11 GMT expires: - '-1' pragma: @@ -183,21 +179,123 @@ interactions: ParameterSetName: - --location --template-file User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2020-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy","name":"policy_definition_deploy","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-04-16T02:05:02.5104236Z","duration":"PT17.6247298S","correlationId":"5361b3b6-c96d-424f-b854-b218619e6f02","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"outputs":{"policyDefinitionId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/policy_definition_deploy","name":"policy_definition_deploy","type":"Microsoft.Resources/deployments","location":"westus","properties":{"templateHash":"6791821466041245512","parameters":{"denyLocation":{"type":"String","value":"northeurope"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-26T16:20:42.1250067Z","duration":"PT3.9204374S","correlationId":"9203b4ec-af8a-4762-8658-002ad9169f9e","providers":[{"namespace":"Microsoft.Authorization","resourceTypes":[{"resourceType":"policyDefinitions","locations":[null]}]}],"dependencies":[],"outputs":{"policyDefinitionId":{"type":"String","value":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '1013' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 26 May 2021 16:21:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: "{\"location\": \"westus\", \"properties\": {\"parameters\": {\"denyLocation\": + {\"value\": \"westeurope\"}}, \"mode\": \"Incremental\", \"whatIfSettings\": + {\"resultFormat\": \"FullResourcePayloads\"}, template:{\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n + \ \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"denyLocation\": + {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"northeurope\"\r\n + \ }\r\n },\r\n \"variables\": {\r\n \"policyDefinitionName\": \"policy-for-what-if-test\"\r\n + \ },\r\n \"resources\": [\r\n {\r\n \"name\": \"[variables('policyDefinitionName')]\",\r\n + \ \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"apiVersion\": + \"2018-05-01\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n + \ \"policyRule\": {\r\n \"if\": {\r\n \"field\": \"location\",\r\n + \ \"equals\": \"[parameters('denyLocation')]\"\r\n },\r\n + \ \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"outputs\": {\r\n \"policyDefinitionId\": + {\r\n \"type\": \"string\",\r\n \"value\": \"[resourceId('Microsoft.Authorization/policyDefinitions', + variables('policyDefinitionName'))]\"\r\n }\r\n }\r\n}}}" + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - deployment sub what-if + Connection: + - keep-alive + Content-Length: + - '1186' + Content-Type: + - application/json + ParameterSetName: + - --location --template-file --parameters + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/whatIf?api-version=2020-10-01 + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 26 May 2021 16:21:14 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLVBPTElDWTo1RkRFRklOSVRJT046NUZERVBMT1ktMTRBMzM4QUU6MkQ4ODZCOjJENEE4MjoyRDlBRkE6MkQ1QzE3REI1QzlFOEYiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - deployment sub what-if + Connection: + - keep-alive + ParameterSetName: + - --location --template-file --parameters + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLVBPTElDWTo1RkRFRklOSVRJT046NUZERVBMT1ktMTRBMzM4QUU6MkQ4ODZCOjJENEE4MjoyRDlBRkE6MkQ1QzE3REI1QzlFOEYiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 + response: + body: + string: '{"status":"Succeeded","properties":{"correlationId":"14a338ae-886b-4a82-9afa-5c17db5c9e8f","changes":[{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","changeType":"Modify","before":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"northeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"after":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"westeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"delta":[{"path":"properties.policyRule.if.equals","propertyChangeType":"Modify","before":"northeurope","after":"westeurope"}]}]}}' headers: cache-control: - no-cache content-length: - - '1014' + - '1194' content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:05:17 GMT + - Wed, 26 May 2021 16:21:30 GMT expires: - '-1' pragma: @@ -243,7 +341,7 @@ interactions: ParameterSetName: - --location --template-file --parameters --no-pretty-print User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Resources/deployments/mock-deployment/whatIf?api-version=2020-10-01 response: @@ -255,11 +353,11 @@ interactions: content-length: - '0' date: - - Fri, 16 Apr 2021 02:05:21 GMT + - Wed, 26 May 2021 16:21:34 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLVBPTElDWTo1RkRFRklOSVRJT046NUZERVBMT1ktRkE2NjRDQzI6MkQ2RjVBOjJENDEwMDoyREFEM0M6MkQ1NUFGOEJGRDU2M0UiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLVBPTElDWTo1RkRFRklOSVRJT046NUZERVBMT1ktOUNGNEYzODg6MkREMkFEOjJENDY4RjoyREExNUI6MkQzQ0UzQjY2MzA4NTQiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 pragma: - no-cache strict-transport-security: @@ -285,12 +383,12 @@ interactions: ParameterSetName: - --location --template-file --parameters --no-pretty-print User-Agent: - - AZURECLI/2.21.0 azsdk-python-azure-mgmt-resource/16.0.0 Python/3.8.0 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/17.0.0 Python/3.8.10 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLVBPTElDWTo1RkRFRklOSVRJT046NUZERVBMT1ktRkE2NjRDQzI6MkQ2RjVBOjJENDEwMDoyREFEM0M6MkQ1NUFGOEJGRDU2M0UiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IkRlcGxveW1lbnRXaGF0SWZKb2ItLVBPTElDWTo1RkRFRklOSVRJT046NUZERVBMT1ktOUNGNEYzODg6MkREMkFEOjJENDY4RjoyREExNUI6MkQzQ0UzQjY2MzA4NTQiLCJqb2JMb2NhdGlvbiI6Indlc3R1cyJ9?api-version=2020-10-01 response: body: - string: '{"status":"Succeeded","properties":{"correlationId":"fa664cc2-6f5a-4100-ad3c-55af8bfd563e","changes":[{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","changeType":"Modify","before":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"northeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"after":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"westeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"delta":[{"path":"properties.policyRule.if.equals","propertyChangeType":"Modify","before":"northeurope","after":"westeurope"}]}]}}' + string: '{"status":"Succeeded","properties":{"correlationId":"9cf4f388-d2ad-468f-a15b-3ce3b6630854","changes":[{"resourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","changeType":"Modify","before":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"northeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"after":{"apiVersion":"2018-05-01","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/policyDefinitions/policy-for-what-if-test","name":"policy-for-what-if-test","properties":{"mode":"Indexed","policyRule":{"if":{"equals":"westeurope","field":"location"},"then":{"effect":"deny"}},"policyType":"Custom"},"type":"Microsoft.Authorization/policyDefinitions"},"delta":[{"path":"properties.policyRule.if.equals","propertyChangeType":"Modify","before":"northeurope","after":"westeurope"}]}]}}' headers: cache-control: - no-cache @@ -299,7 +397,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 16 Apr 2021 02:05:36 GMT + - Wed, 26 May 2021 16:21:49 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py index 9c866fb819d..3e94bc60fe1 100644 --- a/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py +++ b/src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py @@ -1763,6 +1763,9 @@ def test_subscription_level_what_if(self): deployment_output = self.cmd('deployment sub create --location westus --template-file "{tf}"').get_output_in_json() self.kwargs['policy_definition_id'] = deployment_output['properties']['outputs']['policyDefinitionId']['value'] + # Make sure the formatter works without exception + self.cmd('deployment sub what-if --location westus --template-file "{tf}" --parameters "{params}"') + self.cmd('deployment sub what-if --location westus --template-file "{tf}" --parameters "{params}" --no-pretty-print', checks=[ self.check('status', 'Succeeded'), self.check("changes[?resourceId == '{policy_definition_id}'].changeType | [0]", 'Modify'), diff --git a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py index 1c6376bf7bc..5a8af049001 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py +++ b/src/azure-cli/azure/cli/command_modules/vm/_template_builder.py @@ -930,15 +930,7 @@ def build_vmss_resource(cmd, name, naming_prefix, location, tags, overprovision, vmss_properties = { 'overprovision': overprovision, 'upgradePolicy': { - 'mode': upgrade_policy_mode, - 'rollingUpgradePolicy': { - 'maxBatchInstancePercent': max_batch_instance_percent, - 'maxUnhealthyInstancePercent': max_unhealthy_instance_percent, - 'maxUnhealthyUpgradedInstancePercent': max_unhealthy_upgraded_instance_percent, - 'pauseTimeBetweenBatches': pause_time_between_batches, - 'enableCrossZoneUpgrade': enable_cross_zone_upgrade, - 'prioritizeUnhealthyInstances': prioritize_unhealthy_instances - } + 'mode': upgrade_policy_mode }, 'virtualMachineProfile': { 'storageProfile': storage_properties, @@ -948,6 +940,31 @@ def build_vmss_resource(cmd, name, naming_prefix, location, tags, overprovision, } } + if cmd.supported_api_version(min_api='2020-12-01', operation_group='virtual_machine_scale_sets'): + vmss_properties['upgradePolicy']['rollingUpgradePolicy'] = {} + rolling_upgrade_policy = vmss_properties['upgradePolicy']['rollingUpgradePolicy'] + + if max_batch_instance_percent is not None: + rolling_upgrade_policy['maxBatchInstancePercent'] = max_batch_instance_percent + + if max_unhealthy_instance_percent is not None: + rolling_upgrade_policy['maxUnhealthyInstancePercent'] = max_unhealthy_instance_percent + + if max_unhealthy_upgraded_instance_percent is not None: + rolling_upgrade_policy['maxUnhealthyUpgradedInstancePercent'] = max_unhealthy_upgraded_instance_percent + + if pause_time_between_batches is not None: + rolling_upgrade_policy['pauseTimeBetweenBatches'] = pause_time_between_batches + + if enable_cross_zone_upgrade is not None: + rolling_upgrade_policy['enableCrossZoneUpgrade'] = enable_cross_zone_upgrade + + if prioritize_unhealthy_instances is not None: + rolling_upgrade_policy['prioritizeUnhealthyInstances'] = prioritize_unhealthy_instances + + if not rolling_upgrade_policy: + del rolling_upgrade_policy + if not specialized: vmss_properties['virtualMachineProfile']['osProfile'] = os_profile 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 72d1ac13b27..b95b167204c 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/custom.py +++ b/src/azure-cli/azure/cli/command_modules/vm/custom.py @@ -3240,15 +3240,27 @@ def set_vmss_extension(cmd, resource_group_name, vmss_name, extension_name, publ extension_profile.extensions = [x for x in extensions if x.type_properties_type.lower() != extension_name.lower() or x.publisher.lower() != publisher.lower()] # pylint: disable=line-too-long - ext = VirtualMachineScaleSetExtension(name=extension_instance_name, - publisher=publisher, - type_properties_type=extension_name, - protected_settings=protected_settings, - type_handler_version=version, - settings=settings, - auto_upgrade_minor_version=(not no_auto_upgrade), - provision_after_extensions=provision_after_extensions, - enable_automatic_upgrade=enable_auto_upgrade) + if cmd.supported_api_version(min_api='2019-07-01', operation_group='virtual_machine_scale_sets'): + ext = VirtualMachineScaleSetExtension(name=extension_instance_name, + publisher=publisher, + type_properties_type=extension_name, + protected_settings=protected_settings, + type_handler_version=version, + settings=settings, + auto_upgrade_minor_version=(not no_auto_upgrade), + provision_after_extensions=provision_after_extensions, + enable_automatic_upgrade=enable_auto_upgrade) + else: + ext = VirtualMachineScaleSetExtension(name=extension_instance_name, + publisher=publisher, + type=extension_name, + protected_settings=protected_settings, + type_handler_version=version, + settings=settings, + auto_upgrade_minor_version=(not no_auto_upgrade), + provision_after_extensions=provision_after_extensions, + enable_automatic_upgrade=enable_auto_upgrade) + if force_update: ext.force_update_tag = str(_gen_guid()) diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vmss_create_none_options.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vmss_create_none_options.yaml index 460bcf7e510..e64cc92a043 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vmss_create_none_options.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2018_03_01/recordings/test_vmss_create_none_options.yaml @@ -1,1095 +1,878 @@ interactions: -- request: - body: '{"tags": {"date": "2018-07-21T03:15:59Z", "product": "azurecli", "cause": - "automation"}, "location": "westus"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [group create] - Connection: [keep-alive] - Content-Length: ['110'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001?api-version=2018-02-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","location":"westus","tags":{"date":"2018-07-21T03:15:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['384'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:15:59 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001?api-version=2018-02-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","location":"westus","tags":{"date":"2018-07-21T03:15:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['384'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:15:59 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} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-31T08:51:02Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:52:02 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python-requests/2.19.1] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json response: - body: {string: "{\n \"$schema\":\"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ - ,\n \"contentVersion\":\"1.0.0.0\",\n \"parameters\":{},\n \"variables\"\ - :{},\n \"resources\":[],\n\n \"outputs\":{\n \"aliases\":{\n \"\ - type\":\"object\",\n \"value\":{\n\n \"Linux\":{\n \"\ - CentOS\":{\n \"publisher\":\"OpenLogic\",\n \"offer\"\ - :\"CentOS\",\n \"sku\":\"7.3\",\n \"version\":\"latest\"\ - \n },\n \"CoreOS\":{\n \"publisher\":\"CoreOS\"\ - ,\n \"offer\":\"CoreOS\",\n \"sku\":\"Stable\",\n \ - \ \"version\":\"latest\"\n },\n \"Debian\":{\n\ - \ \"publisher\":\"credativ\",\n \"offer\":\"Debian\"\ - ,\n \"sku\":\"8\",\n \"version\":\"latest\"\n \ - \ },\n \"openSUSE-Leap\": {\n \"publisher\":\"SUSE\"\ - ,\n \"offer\":\"openSUSE-Leap\",\n \"sku\":\"42.3\"\ - ,\n \"version\": \"latest\"\n },\n \"RHEL\":{\n\ - \ \"publisher\":\"RedHat\",\n \"offer\":\"RHEL\",\n\ - \ \"sku\":\"7.3\",\n \"version\":\"latest\"\n \ - \ },\n \"SLES\":{\n \"publisher\":\"SUSE\",\n \ - \ \"offer\":\"SLES\",\n \"sku\":\"12-SP2\",\n \ - \ \"version\":\"latest\"\n },\n \"UbuntuLTS\":{\n \ - \ \"publisher\":\"Canonical\",\n \"offer\":\"UbuntuServer\"\ - ,\n \"sku\":\"16.04-LTS\",\n \"version\":\"latest\"\n\ - \ }\n },\n\n \"Windows\":{\n \"Win2016Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2016-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2012R2Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2012-R2-Datacenter\",\n\ - \ \"version\":\"latest\"\n },\n \"Win2012Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2012-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2008R2SP1\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2008-R2-SP1\",\n \ - \ \"version\":\"latest\"\n }\n }\n }\n }\n }\n\ - }\n"} - headers: - accept-ranges: [bytes] - access-control-allow-origin: ['*'] - cache-control: [max-age=300] - connection: [keep-alive] - content-length: ['2235'] - content-security-policy: [default-src 'none'; style-src 'unsafe-inline'; sandbox] - content-type: [text/plain; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:16:00 GMT'] - etag: ['"60d07919b4224266adafb81340896eea100dc887"'] - expires: ['Sat, 21 Jul 2018 03:21:00 GMT'] - source-age: ['0'] - strict-transport-security: [max-age=31536000] - vary: ['Authorization,Accept-Encoding'] - via: [1.1 varnish] - x-cache: [MISS] - x-cache-hits: ['0'] - x-content-type-options: [nosniff] - x-fastly-request-id: [5b8b10f70b8c99754529eb2982212451f7e11f28] - x-frame-options: [deny] - x-geo-block-list: [''] - x-github-request-id: ['80E8:5C5E:5F00ABC:63D5F55:5B52A570'] - x-served-by: [cache-sea1039-SEA] - x-timer: ['S1532142961.741353,VS0,VE93'] - x-xss-protection: [1; mode=block] - status: {code: 200, message: OK} + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": + \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n + \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": + \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": + \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": + {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n + \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": + \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\"\n }\n },\n \"Windows\": + {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": + \"latest\"\n }\n }\n }\n }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2501' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Mon, 31 May 2021 08:52:03 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Mon, 31 May 2021 08:57:03 GMT + source-age: + - '13' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - c48f696df0f200261b62a4dd98a7fe1a88793fa1 + x-frame-options: + - deny + x-github-request-id: + - 7478:5C35:4E120:58E04:60B49108 + x-served-by: + - cache-hkg17929-HKG + x-timer: + - S1622451123.318952,VS0,VE0 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 networkmanagementclient/2.0.0rc3 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks?api-version=2017-10-01 response: - body: {string: '{"value":[]}'} - headers: - cache-control: [no-cache] - content-length: ['12'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:16:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: 'b''{"properties": {"parameters": {}, "mode": "Incremental", "template": - {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "variables": {}, "outputs": {"VMSS": {"value": "[reference(resourceId(\''Microsoft.Compute/virtualMachineScaleSets\'', - \''vmss1\''),providers(\''Microsoft.Compute\'', \''virtualMachineScaleSets\'').apiVersions[0])]", - "type": "object"}}, "resources": [{"properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "subnets": [{"properties": {"addressPrefix": "10.0.0.0/24"}, - "name": "vmss1Subnet"}]}, "type": "Microsoft.Network/virtualNetworks", "dependsOn": - [], "name": "vmss1VNET", "location": "westus", "tags": {}, "apiVersion": "2015-06-15"}, - {"properties": {"upgradePolicy": {"mode": "manual"}, "overprovision": true, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1a1c2", "adminUsername": - "ubuntu", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": - {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n", "path": "/home/ubuntu/.ssh/authorized_keys"}]}}}, "networkProfile": - {"networkInterfaceConfigurations": [{"properties": {"ipConfigurations": [{"properties": - {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}, - "name": "vmss1a1c2IPConfig"}], "primary": "true"}, "name": "vmss1a1c2Nic"}]}, - "storageProfile": {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", - "managedDisk": {"storageAccountType": null}}, "imageReference": {"offer": "Debian", - "publisher": "credativ", "version": "latest", "sku": "8"}}}, "singlePlacementGroup": - null}, "sku": {"name": "Basic_A1", "capacity": 2}, "type": "Microsoft.Compute/virtualMachineScaleSets", - "name": "vmss1", "apiVersion": "2017-03-30", "tags": {}, "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET"], - "location": "westus"}], "contentVersion": "1.0.0.0", "parameters": {}}}}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - Content-Length: ['2745'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:52:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"name": "vmss1VNET", "type": "Microsoft.Network/virtualNetworks", "location": + "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "vmss1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Compute/virtualMachineScaleSets", "name": "vmss1", "location": "westus", + "tags": {}, "apiVersion": "2017-03-30", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET"], + "sku": {"name": "Basic_A1", "capacity": 2}, "properties": {"overprovision": + true, "upgradePolicy": {"mode": "manual"}, "virtualMachineProfile": {"storageProfile": + {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": + {"storageAccountType": null}}, "imageReference": {"publisher": "Debian", "offer": + "debian-10", "sku": "10", "version": "latest"}}, "networkProfile": {"networkInterfaceConfigurations": + [{"name": "vmss17dd5Nic", "properties": {"primary": "true", "ipConfigurations": + [{"name": "vmss17dd5IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}}]}}]}, + "osProfile": {"computerNamePrefix": "vmss17dd5", "adminUsername": "ubuntu", + "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": + [{"path": "/home/ubuntu/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}}}, "singlePlacementGroup": null}}], "outputs": {"VMSS": + {"type": "object", "value": "[reference(resourceId(''Microsoft.Compute/virtualMachineScaleSets'', + ''vmss1''),providers(''Microsoft.Compute'', ''virtualMachineScaleSets'').apiVersions[0])]"}}}, + "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + Content-Length: + - '2747' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-02-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_u4P2XRyINwltu6H3AHXkgCmCIsFNfnzN","name":"vmss_deploy_u4P2XRyINwltu6H3AHXkgCmCIsFNfnzN","properties":{"templateHash":"18125301576605888852","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2018-07-21T03:16:03.1471406Z","duration":"PT0.6419074S","correlationId":"16012434-0b59-490c-929f-9680e2984600","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/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_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_u4P2XRyINwltu6H3AHXkgCmCIsFNfnzN/operationStatuses/08586694639229723886?api-version=2018-02-01'] - cache-control: [no-cache] - content-length: ['1386'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:16:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586694639229723886?api-version=2018-02-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:16:33 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] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586694639229723886?api-version=2018-02-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:17: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] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586694639229723886?api-version=2018-02-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:17:34 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} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_MugJHJiGPUbZ8IXrcLKqLEgVErrcLPa8","name":"vmss_deploy_MugJHJiGPUbZ8IXrcLKqLEgVErrcLPa8","properties":{"templateHash":"5720653831805669638","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-31T08:52:09.2111096Z","duration":"PT2.13632S","correlationId":"3ba877cc-46d8-4c08-a109-3bbaf573d5b1","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/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_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_MugJHJiGPUbZ8IXrcLKqLEgVErrcLPa8/operationStatuses/08585791557584028299?api-version=2018-02-01 + cache-control: + - no-cache + content-length: + - '1383' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:52:11 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586694639229723886?api-version=2018-02-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:18:05 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} + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557584028299?api-version=2018-02-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:52:42 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] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586694639229723886?api-version=2018-02-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:18:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557584028299?api-version=2018-02-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:53:12 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586694639229723886?api-version=2018-02-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:19:06 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} + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557584028299?api-version=2018-02-01 + response: + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:53:43 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] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586694639229723886?api-version=2018-02-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:19:37 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} + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557584028299?api-version=2018-02-01 + response: + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:13 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-02-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_u4P2XRyINwltu6H3AHXkgCmCIsFNfnzN","name":"vmss_deploy_u4P2XRyINwltu6H3AHXkgCmCIsFNfnzN","properties":{"templateHash":"18125301576605888852","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2018-07-21T03:19:20.5278011Z","duration":"PT3M18.0225679S","correlationId":"16012434-0b59-490c-929f-9680e2984600","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual","automaticOSUpgrade":false},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1a1c2","adminUsername":"ubuntu","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/ubuntu/.ssh/authorized_keys","keyData":"ssh-rsa + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_MugJHJiGPUbZ8IXrcLKqLEgVErrcLPa8","name":"vmss_deploy_MugJHJiGPUbZ8IXrcLKqLEgVErrcLPa8","properties":{"templateHash":"5720653831805669638","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-31T08:53:59.6437403Z","duration":"PT1M52.5689507S","correlationId":"3ba877cc-46d8-4c08-a109-3bbaf573d5b1","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss17dd5","adminUsername":"ubuntu","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/ubuntu/.ssh/authorized_keys","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]}},"secrets":[]},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Standard_LRS"}},"imageReference":{"publisher":"credativ","offer":"Debian","sku":"8","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss1a1c2Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"ipConfigurations":[{"name":"vmss1a1c2IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4"}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"uniqueId":"d609e788-ff0c-4e5a-b8a7-f614c6f443b5"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['3788'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:19:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + test@example.com\n"}]}},"secrets":[]},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Standard_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss17dd5Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"ipConfigurations":[{"name":"vmss17dd5IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4"}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"985f9b34-cb97-4968-8b5e-4b892405d6fe"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3842' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:14 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss show] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-03-30 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss1a1c2\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"8\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a1c2Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss1a1c2IPConfig\"\ - ,\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"d609e788-ff0c-4e5a-b8a7-f614c6f443b5\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2821'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:19:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;190,Microsoft.Compute/GetVMScaleSet30Min;1410'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n + \ \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss17dd5\",\r\n + \ \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": + {\r\n \"publicKeys\": [\r\n {\r\n \"path\": + \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss17dd5Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss17dd5IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"985f9b34-cb97-4968-8b5e-4b892405d6fe\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2882' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;384,Microsoft.Compute/GetVMScaleSet30Min;2485 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-03-30 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss1a1c2\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"8\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a1c2Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss1a1c2IPConfig\"\ - ,\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"d609e788-ff0c-4e5a-b8a7-f614c6f443b5\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2821'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:19:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;189,Microsoft.Compute/GetVMScaleSet30Min;1409'] - status: {code: 200, message: OK} -- request: - body: 'b''{"properties": {"upgradePolicy": {"automaticOSUpgrade": false, "mode": - "Manual"}, "virtualMachineProfile": {"osProfile": {"secrets": [], "adminUsername": - "ubuntu", "computerNamePrefix": "vmss1a1c2", "linuxConfiguration": {"disablePasswordAuthentication": - true, "ssh": {"publicKeys": [{"keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n", "path": "/home/ubuntu/.ssh/authorized_keys"}]}}}, "networkProfile": - {"networkInterfaceConfigurations": [{"properties": {"ipConfigurations": [{"properties": - {"privateIPAddressVersion": "IPv4", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}, - "name": "vmss1a1c2IPConfig"}], "dnsSettings": {"dnsServers": []}, "enableAcceleratedNetworking": - false, "primary": true}, "name": "vmss1a1c2Nic"}]}, "storageProfile": {"osDisk": - {"caching": "ReadWrite", "createOption": "FromImage", "managedDisk": {"storageAccountType": - "Standard_LRS"}}, "imageReference": {"offer": "Debian", "publisher": "credativ", - "version": "latest", "sku": "8"}}}, "overprovision": true, "singlePlacementGroup": - true}, "tags": {"test": "success"}, "sku": {"name": "Basic_A1", "tier": "Basic", - "capacity": 2}, "location": "westus"}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - Content-Length: ['2026'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n + \ \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss17dd5\",\r\n + \ \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": + {\r\n \"publicKeys\": [\r\n {\r\n \"path\": + \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss17dd5Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss17dd5IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"985f9b34-cb97-4968-8b5e-4b892405d6fe\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2882' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;383,Microsoft.Compute/GetVMScaleSet30Min;2484 + status: + code: 200 + message: OK +- request: + body: '{"location": "westus", "tags": {"test": "success"}, "sku": {"name": "Basic_A1", + "tier": "Basic", "capacity": 2}, "properties": {"upgradePolicy": {"mode": "Manual", + "automaticOSUpgrade": false}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": + "vmss17dd5", "adminUsername": "ubuntu", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"path": "/home/ubuntu/.ssh/authorized_keys", "keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "secrets": []}, "storageProfile": {"osDisk": {"caching": + "ReadWrite", "createOption": "FromImage", "osType": "Linux", "managedDisk": + {"storageAccountType": "Standard_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": + [{"name": "vmss17dd5Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss17dd5IPConfig", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "privateIPAddressVersion": "IPv4"}}]}}]}}, "overprovision": true, "singlePlacementGroup": + true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + Content-Length: + - '1948' + Content-Type: + - application/json + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-03-30 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss1a1c2\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"8\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a1c2Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss1a1c2IPConfig\"\ - ,\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"d609e788-ff0c-4e5a-b8a7-f614c6f443b5\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\ - \r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30'] - cache-control: [no-cache] - content-length: ['2847'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:19:41 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/CreateVMScaleSet3Min;39,Microsoft.Compute/CreateVMScaleSet30Min;195,Microsoft.Compute/VmssQueuedVMOperations;4800'] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-charge: ['0'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:19:58 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;14979,Microsoft.Compute/GetOperation30Min;29819'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:20:36 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29837'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:21:08 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29834'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:21:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29831'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:22:12 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;14987,Microsoft.Compute/GetOperation30Min;29828'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:22:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29825'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:23:17 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;14983,Microsoft.Compute/GetOperation30Min;29822'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:23:48 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;14983,Microsoft.Compute/GetOperation30Min;29819'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:24:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29816'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:24:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29813'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:25:26 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;14983,Microsoft.Compute/GetOperation30Min;29835'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:25:58 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;14983,Microsoft.Compute/GetOperation30Min;29832'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic_A1\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": + 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n + \ \"upgradePolicy\": {\r\n \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": + false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss17dd5\",\r\n \"adminUsername\": + \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss17dd5Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss17dd5IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"985f9b34-cb97-4968-8b5e-4b892405d6fe\"\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/0892d097-3844-43e0-bac9-fad078af51c2?api-version=2017-03-30 + cache-control: + - no-cache + content-length: + - '2908' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:20 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateVMScaleSet3Min;56,Microsoft.Compute/CreateVMScaleSet30Min;284,Microsoft.Compute/VmssQueuedVMOperations;0 + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + x-ms-request-charge: + - '0' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/7b6de0db-3b19-43ea-a9f1-7eaed1720351?api-version=2017-03-30 - response: - body: {string: "{\r\n \"startTime\": \"2018-07-21T03:19:41.9969807+00:00\",\r\ - \n \"endTime\": \"2018-07-21T03:26:04.9635217+00:00\",\r\n \"status\": \"\ - Succeeded\",\r\n \"name\": \"7b6de0db-3b19-43ea-a9f1-7eaed1720351\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['184'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:26:29 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29830'] - status: {code: 200, message: OK} + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/0892d097-3844-43e0-bac9-fad078af51c2?api-version=2017-03-30 + response: + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:54:18.8007693+00:00\",\r\n \"endTime\": + \"2021-05-31T08:54:22.2851267+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"0892d097-3844-43e0-bac9-fad078af51c2\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29906 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 computemanagementclient/4.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-03-30 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss1a1c2\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"8\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a1c2Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss1a1c2IPConfig\"\ - ,\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"d609e788-ff0c-4e5a-b8a7-f614c6f443b5\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\ - \r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2848'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:26:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;192,Microsoft.Compute/GetVMScaleSet30Min;1416'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic_A1\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": + 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n + \ \"upgradePolicy\": {\r\n \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": + false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss17dd5\",\r\n \"adminUsername\": + \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss17dd5Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"ipConfigurations\":[{\"name\":\"vmss17dd5IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"985f9b34-cb97-4968-8b5e-4b892405d6fe\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2909' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:31 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;381,Microsoft.Compute/GetVMScaleSet30Min;2480 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network public-ip show] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 networkmanagementclient/2.0.0rc3 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/publicIPAddresses/vmss1PublicIP?api-version=2017-10-01 response: - body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/publicIPAddresses/vmss1PublicIP'' - under resource group ''cli_test_vmss_create_none000001'' was not found."}}'} - headers: - cache-control: [no-cache] - content-length: ['228'] - content-type: [application/json; charset=utf-8] - date: ['Sat, 21 Jul 2018 03:26:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [group delete] - Connection: [keep-alive] - Content-Length: ['0'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.17134-SP0) requests/2.19.1 msrest/0.5.4 - msrest_azure/0.4.34 resourcemanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.43] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001?api-version=2018-02-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sat, 21 Jul 2018 03:26:33 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1TUzo1RkNSRUFURTo1Rk5PTkVaNVcyUTJJTjJBNzdKU3xCQUY4REVGNUQ1Q0M2MTZBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-02-01'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] - status: {code: 202, message: Accepted} + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/publicIPAddresses/vmss1PublicIP'' + under resource group ''cli_test_vmss_create_none000001'' was not found. For + more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '296' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_create_none_options.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_create_none_options.yaml index 31e0efde7b4..f8895db30c1 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_create_none_options.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_create_none_options.yaml @@ -1,750 +1,878 @@ interactions: -- request: - body: '{"tags": {"date": "2019-02-26T03:26:43Z", "product": "azurecli", "cause": - "automation"}, "location": "westus"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [group create] - Connection: [keep-alive] - Content-Length: ['110'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [--location --name --tag] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","location":"westus","tags":{"date":"2019-02-26T03:26:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['384'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:26:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-n -g --image --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","location":"westus","tags":{"date":"2019-02-26T03:26:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['384'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:26:43 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} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-31T08:50:49Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:51:49 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python-requests/2.21.0] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json response: - body: {string: "{\n \"$schema\":\"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ - ,\n \"contentVersion\":\"1.0.0.0\",\n \"parameters\":{},\n \"variables\"\ - :{},\n \"resources\":[],\n\n \"outputs\":{\n \"aliases\":{\n \"\ - type\":\"object\",\n \"value\":{\n\n \"Linux\":{\n \"\ - CentOS\":{\n \"publisher\":\"OpenLogic\",\n \"offer\"\ - :\"CentOS\",\n \"sku\":\"7.5\",\n \"version\":\"latest\"\ - \n },\n \"CoreOS\":{\n \"publisher\":\"CoreOS\"\ - ,\n \"offer\":\"CoreOS\",\n \"sku\":\"Stable\",\n \ - \ \"version\":\"latest\"\n },\n \"Debian\":{\n\ - \ \"publisher\":\"credativ\",\n \"offer\":\"Debian\"\ - ,\n \"sku\":\"9\",\n \"version\":\"latest\"\n \ - \ },\n \"openSUSE-Leap\": {\n \"publisher\":\"SUSE\"\ - ,\n \"offer\":\"openSUSE-Leap\",\n \"sku\":\"42.3\"\ - ,\n \"version\": \"latest\"\n },\n \"RHEL\":{\n\ - \ \"publisher\":\"RedHat\",\n \"offer\":\"RHEL\",\n\ - \ \"sku\":\"7-RAW\",\n \"version\":\"latest\"\n \ - \ },\n \"SLES\":{\n \"publisher\":\"SUSE\",\n \ - \ \"offer\":\"SLES\",\n \"sku\":\"15\",\n \"\ - version\":\"latest\"\n },\n \"UbuntuLTS\":{\n \ - \ \"publisher\":\"Canonical\",\n \"offer\":\"UbuntuServer\",\n\ - \ \"sku\":\"18.04-LTS\",\n \"version\":\"latest\"\n\ - \ }\n },\n\n \"Windows\":{\n \"Win2019Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2019-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2016Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2016-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2012R2Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2012-R2-Datacenter\",\n\ - \ \"version\":\"latest\"\n },\n \"Win2012Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2012-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2008R2SP1\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2008-R2-SP1\",\n \ - \ \"version\":\"latest\"\n }\n }\n }\n }\n }\n\ - }\n"} - headers: - accept-ranges: [bytes] - access-control-allow-origin: ['*'] - cache-control: [max-age=300] - connection: [keep-alive] - content-length: ['2433'] - content-security-policy: [default-src 'none'; style-src 'unsafe-inline'; sandbox] - content-type: [text/plain; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:26:45 GMT'] - etag: ['"f5944d69cdbfb4a2bb2ddda8c5f050bde5bbcb32"'] - expires: ['Tue, 26 Feb 2019 03:31:45 GMT'] - source-age: ['44'] - strict-transport-security: [max-age=31536000] - vary: ['Authorization,Accept-Encoding'] - via: [1.1 varnish] - x-cache: [HIT] - x-cache-hits: ['1'] - x-content-type-options: [nosniff] - x-fastly-request-id: [002d2538e958ff7e53a6599360c6f2221cda6d24] - x-frame-options: [deny] - x-geo-block-list: [''] - x-github-request-id: ['4E62:6F2F:101958:114D06:5C74B1C8'] - x-served-by: [cache-dfw18625-DFW] - x-timer: ['S1551151605.058818,VS0,VE1'] - x-xss-protection: [1; mode=block] - status: {code: 200, message: OK} + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": + \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n + \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": + \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": + \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": + {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n + \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": + \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\"\n }\n },\n \"Windows\": + {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": + \"latest\"\n }\n }\n }\n }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2501' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Mon, 31 May 2021 08:51:50 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Mon, 31 May 2021 08:56:50 GMT + source-age: + - '0' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - ef6322a6a5039bddd7ac1f1f5bc3fc9ce04e358c + x-frame-options: + - deny + x-github-request-id: + - 7478:5C35:4E120:58E04:60B49108 + x-served-by: + - cache-hkg17932-HKG + x-timer: + - S1622451110.187806,VS0,VE249 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-n -g --image --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks?api-version=2017-10-01 response: - body: {string: '{"value":[]}'} - headers: - cache-control: [no-cache] - content-length: ['12'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:26:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:51:50 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: - body: 'b''{"properties": {"parameters": {}, "mode": "Incremental", "template": - {"variables": {}, "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "resources": [{"dependsOn": [], "tags": {}, "apiVersion": "2015-06-15", "location": - "westus", "name": "vmss1VNET", "properties": {"subnets": [{"name": "vmss1Subnet", - "properties": {"addressPrefix": "10.0.0.0/24"}}], "addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}}, "type": "Microsoft.Network/virtualNetworks"}, {"dependsOn": - ["Microsoft.Network/virtualNetworks/vmss1VNET"], "sku": {"name": "Basic_A1", - "capacity": 2}, "tags": {}, "apiVersion": "2017-12-01", "location": "westus", - "name": "vmss1", "properties": {"singlePlacementGroup": null, "overprovision": - true, "upgradePolicy": {"mode": "manual"}, "virtualMachineProfile": {"networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss13001Nic", "properties": {"ipConfigurations": - [{"name": "vmss13001IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}}], - "primary": "true"}}]}, "osProfile": {"computerNamePrefix": "vmss13001", "linuxConfiguration": - {"ssh": {"publicKeys": [{"path": "/home/ubuntu/.ssh/authorized_keys", "keyData": - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n"}]}, "disablePasswordAuthentication": true}, "adminUsername": - "ubuntu"}, "storageProfile": {"osDisk": {"caching": "ReadWrite", "managedDisk": - {"storageAccountType": null}, "createOption": "FromImage"}, "imageReference": - {"publisher": "credativ", "offer": "Debian", "sku": "9", "version": "latest"}}}}, - "type": "Microsoft.Compute/virtualMachineScaleSets"}], "outputs": {"VMSS": {"value": - "[reference(resourceId(\''Microsoft.Compute/virtualMachineScaleSets\'', \''vmss1\''),providers(\''Microsoft.Compute\'', - \''virtualMachineScaleSets\'').apiVersions[0])]", "type": "object"}}, "contentVersion": - "1.0.0.0", "parameters": {}}}}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - Content-Length: ['2745'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g --image --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"name": "vmss1VNET", "type": "Microsoft.Network/virtualNetworks", "location": + "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "vmss1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Compute/virtualMachineScaleSets", "name": "vmss1", "location": "westus", + "tags": {}, "apiVersion": "2017-12-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET"], + "sku": {"name": "Basic_A1", "capacity": 2}, "properties": {"overprovision": + true, "upgradePolicy": {"mode": "manual"}, "virtualMachineProfile": {"storageProfile": + {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": + {"storageAccountType": null}}, "imageReference": {"publisher": "Debian", "offer": + "debian-10", "sku": "10", "version": "latest"}}, "networkProfile": {"networkInterfaceConfigurations": + [{"name": "vmss14205Nic", "properties": {"primary": "true", "ipConfigurations": + [{"name": "vmss14205IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}}]}}]}, + "osProfile": {"computerNamePrefix": "vmss14205", "adminUsername": "ubuntu", + "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": + [{"path": "/home/ubuntu/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}}}, "singlePlacementGroup": null}}], "outputs": {"VMSS": + {"type": "object", "value": "[reference(resourceId(''Microsoft.Compute/virtualMachineScaleSets'', + ''vmss1''),providers(''Microsoft.Compute'', ''virtualMachineScaleSets'').apiVersions[0])]"}}}, + "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + Content-Length: + - '2747' + Content-Type: + - application/json + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_QAHbb19vG54s6FZ0vJcCbzY3LtZbzNOr","name":"vmss_deploy_QAHbb19vG54s6FZ0vJcCbzY3LtZbzNOr","properties":{"templateHash":"16893908409586925934","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-26T03:26:48.1090969Z","duration":"PT0.9786138S","correlationId":"7906d62b-b3b3-4843-9087-2af5878522e3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/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_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_QAHbb19vG54s6FZ0vJcCbzY3LtZbzNOr/operationStatuses/08586504552783471349?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1386'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:26:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-n -g --image --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586504552783471349?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:27:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_W7vrDlHNw0TBBl8TqKOG2cPnTHWOjznq","name":"vmss_deploy_W7vrDlHNw0TBBl8TqKOG2cPnTHWOjznq","properties":{"templateHash":"2594533222155349313","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-31T08:51:56.4392192Z","duration":"PT2.0243679S","correlationId":"7d11218b-2f4f-444a-a7e6-954d71116534","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/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_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_W7vrDlHNw0TBBl8TqKOG2cPnTHWOjznq/operationStatuses/08585791557710627693?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '1385' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:51:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1195' + status: + code: 201 + message: Created - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-n -g --image --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586504552783471349?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557710627693?api-version=2018-05-01 response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:27:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:52:28 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 --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586504552783471349?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557710627693?api-version=2018-05-01 response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:28:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:52:58 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 --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586504552783471349?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557710627693?api-version=2018-05-01 response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:28:48 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:53:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-n -g --image --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586504552783471349?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791557710627693?api-version=2018-05-01 response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:29:19 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:00 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 --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586504552783471349?api-version=2018-05-01 - response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:29:50 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-n -g --image --load-balancer --admin-username --ssh-key-value - --public-ip-address --tags --vm-sku] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address + --tags --vm-sku + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_QAHbb19vG54s6FZ0vJcCbzY3LtZbzNOr","name":"vmss_deploy_QAHbb19vG54s6FZ0vJcCbzY3LtZbzNOr","properties":{"templateHash":"16893908409586925934","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-26T03:29:48.9391933Z","duration":"PT3M1.8087102S","correlationId":"7906d62b-b3b3-4843-9087-2af5878522e3","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss13001","adminUsername":"ubuntu","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/ubuntu/.ssh/authorized_keys","keyData":"ssh-rsa + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_W7vrDlHNw0TBBl8TqKOG2cPnTHWOjznq","name":"vmss_deploy_W7vrDlHNw0TBBl8TqKOG2cPnTHWOjznq","properties":{"templateHash":"2594533222155349313","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-31T08:53:42.0687153Z","duration":"PT1M47.653864S","correlationId":"7d11218b-2f4f-444a-a7e6-954d71116534","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss14205","adminUsername":"ubuntu","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/ubuntu/.ssh/authorized_keys","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]}},"secrets":[]},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Standard_LRS"}},"imageReference":{"publisher":"credativ","offer":"Debian","sku":"9","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss13001Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss13001IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4"}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"uniqueId":"171a5514-ff8a-40d2-9458-9f1a55dbff07"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['3787'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:29:49 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + test@example.com\n"}]}},"secrets":[]},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Standard_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss14205Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss14205IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4"}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"cda38726-d276-4429-a03e-06574c020ab6"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3868' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss show] - Connection: [keep-alive] - ParameterSetName: [-n -g] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss13001\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"9\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss13001Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\"\ - :[{\"name\":\"vmss13001IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"171a5514-ff8a-40d2-9458-9f1a55dbff07\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2848'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:29: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/GetVMScaleSet3Min;193,Microsoft.Compute/GetVMScaleSet30Min;1197'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n + \ \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss14205\",\r\n + \ \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": + {\r\n \"publicKeys\": [\r\n {\r\n \"path\": + \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14205Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14205IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"cda38726-d276-4429-a03e-06574c020ab6\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2909' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:02 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;388,Microsoft.Compute/GetVMScaleSet30Min;2489 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss13001\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"9\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss13001Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\"\ - :[{\"name\":\"vmss13001IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"171a5514-ff8a-40d2-9458-9f1a55dbff07\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2848'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:29:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;192,Microsoft.Compute/GetVMScaleSet30Min;1196'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n + \ \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss14205\",\r\n + \ \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": + {\r\n \"publicKeys\": [\r\n {\r\n \"path\": + \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": \"ssh-rsa + AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14205Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14205IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"cda38726-d276-4429-a03e-06574c020ab6\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2909' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:03 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;387,Microsoft.Compute/GetVMScaleSet30Min;2488 + status: + code: 200 + message: OK - request: - body: 'b''{"sku": {"name": "Basic_A1", "capacity": 2, "tier": "Basic"}, "tags": - {"test": "success"}, "properties": {"singlePlacementGroup": true, "overprovision": - true, "upgradePolicy": {"automaticOSUpgrade": false, "mode": "Manual"}, "virtualMachineProfile": - {"networkProfile": {"networkInterfaceConfigurations": [{"name": "vmss13001Nic", - "properties": {"dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": - "vmss13001IPConfig", "properties": {"privateIPAddressVersion": "IPv4", "subnet": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}}], - "primary": true, "enableAcceleratedNetworking": false, "enableIPForwarding": - false}}]}, "osProfile": {"computerNamePrefix": "vmss13001", "secrets": [], "adminUsername": - "ubuntu", "linuxConfiguration": {"ssh": {"publicKeys": [{"path": "/home/ubuntu/.ssh/authorized_keys", - "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\\n"}]}, "disablePasswordAuthentication": true}}, "storageProfile": - {"osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": "Standard_LRS"}, - "createOption": "FromImage"}, "imageReference": {"publisher": "credativ", "offer": - "Debian", "sku": "9", "version": "latest"}}}}, "location": "westus"}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - Content-Length: ['2055'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + body: '{"location": "westus", "tags": {"test": "success"}, "sku": {"name": "Basic_A1", + "tier": "Basic", "capacity": 2}, "properties": {"upgradePolicy": {"mode": "Manual", + "automaticOSUpgrade": false}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": + "vmss14205", "adminUsername": "ubuntu", "linuxConfiguration": {"disablePasswordAuthentication": + true, "ssh": {"publicKeys": [{"path": "/home/ubuntu/.ssh/authorized_keys", "keyData": + "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\n"}]}}, "secrets": []}, "storageProfile": {"osDisk": {"caching": + "ReadWrite", "createOption": "FromImage", "osType": "Linux", "managedDisk": + {"storageAccountType": "Standard_LRS"}}}, "networkProfile": {"networkInterfaceConfigurations": + [{"name": "vmss14205Nic", "properties": {"primary": true, "enableAcceleratedNetworking": + false, "dnsSettings": {"dnsServers": []}, "ipConfigurations": [{"name": "vmss14205IPConfig", + "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "privateIPAddressVersion": "IPv4"}}], "enableIPForwarding": false}}]}}, "overprovision": + true, "singlePlacementGroup": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + Content-Length: + - '1977' + Content-Type: + - application/json + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss13001\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"9\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss13001Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\"\ - :[{\"name\":\"vmss13001IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Updating\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"171a5514-ff8a-40d2-9458-9f1a55dbff07\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\ - \r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - azure-asyncnotification: [Enabled] - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/d3ea3c6b-d79a-43ff-ab14-16e0e21e0971?api-version=2017-12-01'] - cache-control: [no-cache] - content-length: ['2874'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:29:52 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/CreateVMScaleSet3Min;38,Microsoft.Compute/CreateVMScaleSet30Min;191,Microsoft.Compute/VmssQueuedVMOperations;4800'] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-charge: ['0'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic_A1\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": + 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n + \ \"upgradePolicy\": {\r\n \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": + false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss14205\",\r\n \"adminUsername\": + \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14205Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14205IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"cda38726-d276-4429-a03e-06574c020ab6\"\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/fe37d887-4650-4f92-be7b-c694c7b14572?api-version=2017-12-01 + cache-control: + - no-cache + content-length: + - '2935' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:07 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateVMScaleSet3Min;57,Microsoft.Compute/CreateVMScaleSet30Min;285,Microsoft.Compute/VmssQueuedVMOperations;0 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-ms-request-charge: + - '0' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/d3ea3c6b-d79a-43ff-ab14-16e0e21e0971?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/fe37d887-4650-4f92-be7b-c694c7b14572?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-26T03:29:52.1536957+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"d3ea3c6b-d79a-43ff-ab14-16e0e21e0971\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:30:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14986,Microsoft.Compute/GetOperation30Min;29907'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:54:05.6913269+00:00\",\r\n \"endTime\": + \"2021-05-31T08:54:11.1913662+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"fe37d887-4650-4f92-be7b-c694c7b14572\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:18 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;14994,Microsoft.Compute/GetOperation30Min;29908 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/d3ea3c6b-d79a-43ff-ab14-16e0e21e0971?api-version=2017-12-01 - response: - body: {string: "{\r\n \"startTime\": \"2019-02-26T03:29:52.1536957+00:00\",\r\ - \n \"endTime\": \"2019-02-26T03:30:15.8100816+00:00\",\r\n \"status\": \"\ - Succeeded\",\r\n \"name\": \"d3ea3c6b-d79a-43ff-ab14-16e0e21e0971\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['184'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:30:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14984,Microsoft.Compute/GetOperation30Min;29905'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Basic_A1\",\r\n \"tier\"\ - : \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \ - \ \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"\ - mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \ - \ \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \"computerNamePrefix\"\ - : \"vmss13001\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\"\ - : {\r\n \"disablePasswordAuthentication\": true,\r\n \"\ - ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ - \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \ - \ \"keyData\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ==\ - \ test@example.com\\n\"\r\n }\r\n ]\r\n }\r\ - \n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Standard_LRS\"\r\n }\r\n\ - \ },\r\n \"imageReference\": {\r\n \"publisher\": \"\ - credativ\",\r\n \"offer\": \"Debian\",\r\n \"sku\": \"9\"\ - ,\r\n \"version\": \"latest\"\r\n }\r\n },\r\n \"\ - networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss13001Nic\"\ - ,\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"\ - dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\"\ - :[{\"name\":\"vmss13001IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n },\r\n \"provisioningState\"\ - : \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"171a5514-ff8a-40d2-9458-9f1a55dbff07\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\ - \r\n },\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2875'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:30:39 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;183,Microsoft.Compute/GetVMScaleSet30Min;1189'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {\r\n \"test\": \"success\"\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic_A1\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": + 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n + \ \"upgradePolicy\": {\r\n \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": + false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss14205\",\r\n \"adminUsername\": + \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n + \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": + \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== + test@example.com\\n\"\r\n }\r\n ]\r\n }\r\n + \ },\r\n \"secrets\": []\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\": \"Standard_LRS\"\r\n },\r\n + \ \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": + {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n + \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n + \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss14205Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss14205IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"cda38726-d276-4429-a03e-06574c020ab6\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2936' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:19 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;381,Microsoft.Compute/GetVMScaleSet30Min;2482 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network public-ip show] - Connection: [keep-alive] - ParameterSetName: [-n -g] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network public-ip show + Connection: + - keep-alive + ParameterSetName: + - -n -g + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/publicIPAddresses/vmss1PublicIP?api-version=2017-10-01 response: - body: {string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/publicIPAddresses/vmss1PublicIP'' - under resource group ''cli_test_vmss_create_none000001'' was not found."}}'} - headers: - cache-control: [no-cache] - content-length: ['228'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 26 Feb 2019 03:30:40 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-failure-cause: [gateway] - status: {code: 404, message: Not Found} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [group delete] - Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Tue, 26 Feb 2019 03:30:41 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1TUzo1RkNSRUFURTo1Rk5PTkVPVlhKTkNBNjZFQlM2V3w4NTdFMjUxMzAzRDU3QTI1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] - status: {code: 202, message: Accepted} + body: + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/publicIPAddresses/vmss1PublicIP'' + under resource group ''cli_test_vmss_create_none000001'' was not found. For + more details please go to https://aka.ms/ARMResourceNotFoundFix"}}' + headers: + cache-control: + - no-cache + content-length: + - '296' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:54:19 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + status: + code: 404 + message: Not Found version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_rolling_upgrade.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_rolling_upgrade.yaml index b142641158c..5c18f3c2361 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_rolling_upgrade.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2019_03_01/recordings/test_vmss_rolling_upgrade.yaml @@ -1,2663 +1,3460 @@ interactions: -- request: - body: '{"location": "westus", "tags": {"date": "2019-02-27T18:55:40Z", "product": - "azurecli", "cause": "automation"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [group create] - Connection: [keep-alive] - Content-Length: ['110'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [--location --name --tag] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001?api-version=2018-05-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","location":"westus","tags":{"date":"2019-02-27T18:55:40Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['384'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:55:42 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb create] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","location":"westus","tags":{"date":"2019-02-27T18:55:40Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['384'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:55:43 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} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-31T08:21:57Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:22:57 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: [network lb create] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_vmss_rolling_update000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2018-05-01 response: - body: {string: '{"value":[]}'} - headers: - cache-control: [no-cache] - content-length: ['12'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:55:45 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:22:58 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: - body: 'b''{"properties": {"mode": "Incremental", "parameters": {}, "template": - {"contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": - [{"location": "westus", "apiVersion": "2017-10-01", "tags": {}, "name": "PublicIPlb1", - "type": "Microsoft.Network/publicIPAddresses", "sku": {"name": "Basic"}, "dependsOn": - [], "properties": {"publicIPAllocationMethod": "Dynamic"}}, {"location": "westus", - "apiVersion": "2017-10-01", "tags": {}, "name": "lb1", "type": "Microsoft.Network/loadBalancers", - "sku": {"name": "Basic"}, "dependsOn": ["Microsoft.Network/publicIpAddresses/PublicIPlb1"], + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {}, "variables": {}, "resources": + [{"apiVersion": "2017-10-01", "type": "Microsoft.Network/publicIPAddresses", + "name": "PublicIPlb1", "location": "westus", "tags": {}, "dependsOn": [], "properties": + {"publicIPAllocationMethod": "Dynamic"}, "sku": {"name": "Basic"}}, {"type": + "Microsoft.Network/loadBalancers", "name": "lb1", "location": "westus", "tags": + {}, "apiVersion": "2017-10-01", "dependsOn": ["Microsoft.Network/publicIpAddresses/PublicIPlb1"], "properties": {"backendAddressPools": [{"name": "lb1bepool"}], "frontendIPConfigurations": - [{"name": "LoadBalancerFrontEnd", "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}}}]}}], - "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "outputs": {"loadBalancer": {"type": "object", "value": "[reference(\''lb1\'')]"}}}}}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb create] - Connection: [keep-alive] - Content-Length: ['1145'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + [{"name": "LoadBalancerFrontEnd", "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}}}]}, + "sku": {"name": "Basic"}}], "outputs": {"loadBalancer": {"type": "object", "value": + "[reference(''lb1'')]"}}}, "parameters": {}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb create + Connection: + - keep-alive + Content-Length: + - '1145' + Content-Type: + - application/json + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_5ZCcv5qzqcfIrhicDuwStWorfNI3b82B","name":"lb_deploy_5ZCcv5qzqcfIrhicDuwStWorfNI3b82B","properties":{"templateHash":"12193227550871669659","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-27T18:55:48.1851532Z","duration":"PT1.0211842S","correlationId":"4f0e0828-87b3-4d8c-9240-2ef8be71509c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}]}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_5ZCcv5qzqcfIrhicDuwStWorfNI3b82B/operationStatuses/08586503131383136482?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1306'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:55:47 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_jB9kLucR17jgBBZYCj3CGkGroqOcwhXQ","name":"lb_deploy_jB9kLucR17jgBBZYCj3CGkGroqOcwhXQ","properties":{"templateHash":"10826876517268417588","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-31T08:23:03.0498825Z","duration":"PT2.1258046S","correlationId":"eba5a123-202a-4b9a-b3fc-53c8d471dedc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}]}}' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_jB9kLucR17jgBBZYCj3CGkGroqOcwhXQ/operationStatuses/08585791575045535481?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '1306' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:23:03 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb create] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586503131383136482?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791575045535481?api-version=2018-05-01 response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:23:33 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: [network lb create] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb create + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_5ZCcv5qzqcfIrhicDuwStWorfNI3b82B","name":"lb_deploy_5ZCcv5qzqcfIrhicDuwStWorfNI3b82B","properties":{"templateHash":"12193227550871669659","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-27T18:56:16.3123073Z","duration":"PT29.1483383S","correlationId":"4f0e0828-87b3-4d8c-9240-2ef8be71509c","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}],"outputs":{"loadBalancer":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"4b14b9f1-5209-4262-94d4-c31c667139dc","frontendIPConfigurations":[{"name":"LoadBalancerFrontEnd","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd","etag":"W/\"a7c75549-f075-40bc-a694-2c14d99774ae\"","type":"Microsoft.Network/loadBalancers/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}}}],"backendAddressPools":[{"name":"lb1bepool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool","etag":"W/\"a7c75549-f075-40bc-a694-2c14d99774ae\"","properties":{"provisioningState":"Succeeded"},"type":"Microsoft.Network/loadBalancers/backendAddressPools"}],"loadBalancingRules":[],"probes":[],"inboundNatRules":[],"inboundNatPools":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['3120'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56:18 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_jB9kLucR17jgBBZYCj3CGkGroqOcwhXQ","name":"lb_deploy_jB9kLucR17jgBBZYCj3CGkGroqOcwhXQ","properties":{"templateHash":"10826876517268417588","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-31T08:23:21.9594192Z","duration":"PT21.0353413S","correlationId":"eba5a123-202a-4b9a-b3fc-53c8d471dedc","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}],"outputs":{"loadBalancer":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"bca35b5e-d320-449e-85de-cf0a038b4cd4","frontendIPConfigurations":[{"name":"LoadBalancerFrontEnd","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd","etag":"W/\"552ae08b-2812-47b5-99ec-82a7e66122b0\"","type":"Microsoft.Network/loadBalancers/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}}}],"backendAddressPools":[{"name":"lb1bepool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool","etag":"W/\"552ae08b-2812-47b5-99ec-82a7e66122b0\"","properties":{"provisioningState":"Succeeded"},"type":"Microsoft.Network/loadBalancers/backendAddressPools"}],"loadBalancingRules":[],"probes":[],"inboundNatRules":[],"inboundNatPools":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3120' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:23:34 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: [network lb probe create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --protocol --port --path] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb probe create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --protocol --port --path + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"a7c75549-f075-40bc-a694-2c14d99774ae\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"a7c75549-f075-40bc-a694-2c14d99774ae\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\"\ - : [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"a7c75549-f075-40bc-a694-2c14d99774ae\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\"\ - : [],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n \ - \ },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\ - \r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2091'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56:19 GMT'] - etag: [W/"a7c75549-f075-40bc-a694-2c14d99774ae"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"552ae08b-2812-47b5-99ec-82a7e66122b0\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"552ae08b-2812-47b5-99ec-82a7e66122b0\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"552ae08b-2812-47b5-99ec-82a7e66122b0\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [],\r\n + \ \"inboundNatRules\": [],\r\n \"inboundNatPools\": []\r\n },\r\n \"sku\": + {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2066' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:23:36 GMT + etag: + - W/"552ae08b-2812-47b5-99ec-82a7e66122b0" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 34ed23e4-24a3-4fca-b2d2-97eebc142228 + status: + code: 200 + message: OK - request: - body: 'b''{"location": "westus", "tags": {}, "etag": "W/\\"a7c75549-f075-40bc-a694-2c14d99774ae\\"", - "sku": {"name": "Basic"}, "properties": {"resourceGuid": "4b14b9f1-5209-4262-94d4-c31c667139dc", - "frontendIPConfigurations": [{"name": "LoadBalancerFrontEnd", "etag": "W/\\"a7c75549-f075-40bc-a694-2c14d99774ae\\"", + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1", + "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "etag": "W/\"552ae08b-2812-47b5-99ec-82a7e66122b0\"", + "properties": {"frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"552ae08b-2812-47b5-99ec-82a7e66122b0\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}], - "inboundNatRules": [], "provisioningState": "Succeeded", "inboundNatPools": - [], "backendAddressPools": [{"name": "lb1bepool", "etag": "W/\\"a7c75549-f075-40bc-a694-2c14d99774ae\\"", - "properties": {"provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], - "probes": [{"name": "probe1", "properties": {"requestPath": "/", "protocol": - "Http", "port": 80}}], "loadBalancingRules": []}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1"}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb probe create] - Connection: [keep-alive] - Content-Length: ['1653'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g --lb-name -n --protocol --port --path] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + "provisioningState": "Succeeded"}}], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"552ae08b-2812-47b5-99ec-82a7e66122b0\"", "properties": + {"provisioningState": "Succeeded"}}], "loadBalancingRules": [], "probes": [{"name": + "probe1", "properties": {"protocol": "Http", "port": 80, "requestPath": "/"}}], + "inboundNatRules": [], "inboundNatPools": [], "resourceGuid": "bca35b5e-d320-449e-85de-cf0a038b4cd4", + "provisioningState": "Succeeded"}}' + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb probe create + Connection: + - keep-alive + Content-Length: + - '1653' + Content-Type: + - application/json + ParameterSetName: + - -g --lb-name -n --protocol --port --path + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\"\ - : [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\"\ - : [\r\n {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\":\ - \ \"Regional\"\r\n }\r\n}"} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/93b2203f-548c-461b-87ce-2f9e31a7a19c?api-version=2017-10-01'] - cache-control: [no-cache] - content-length: ['2718'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56:20 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-subscription-writes: ['1199'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [\r\n + \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5c73d728-d252-43d8-b9c7-0812b3f1c82f?api-version=2017-10-01 + cache-control: + - no-cache + content-length: + - '2693' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:23:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 18e33b01-495c-402d-9952-71813e05281f + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb probe create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --protocol --port --path] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb probe create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --protocol --port --path + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/93b2203f-548c-461b-87ce-2f9e31a7a19c?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5c73d728-d252-43d8-b9c7-0812b3f1c82f?api-version=2017-10-01 response: - body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['29'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56: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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:08 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - d65087db-91ca-4001-b8e0-2916019d0fb8 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb probe create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --protocol --port --path] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb probe create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --protocol --port --path + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\"\ - : [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\"\ - : [\r\n {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\":\ - \ \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2718'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56:51 GMT'] - etag: [W/"7e9e1977-3429-4696-8487-b49b82318ba8"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [\r\n + \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2693' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:09 GMT + etag: + - W/"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 094b187a-5464-4ee0-aa02-5b46742ee053 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb rule create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --protocol --frontend-port --backend-port - --probe-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb rule create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\"\ - : [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\"\ - : [\r\n {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"7e9e1977-3429-4696-8487-b49b82318ba8\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\":\ - \ \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2718'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56:51 GMT'] - etag: [W/"7e9e1977-3429-4696-8487-b49b82318ba8"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n + \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [\r\n + \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2693' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:10 GMT + etag: + - W/"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 12c1d55a-d4ff-4d95-90da-154e57375aba + status: + code: 200 + message: OK - request: - body: 'b''{"location": "westus", "tags": {}, "etag": "W/\\"7e9e1977-3429-4696-8487-b49b82318ba8\\"", - "sku": {"name": "Basic"}, "properties": {"resourceGuid": "4b14b9f1-5209-4262-94d4-c31c667139dc", - "frontendIPConfigurations": [{"name": "LoadBalancerFrontEnd", "etag": "W/\\"7e9e1977-3429-4696-8487-b49b82318ba8\\"", + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1", + "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "etag": "W/\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\"", + "properties": {"frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}], - "inboundNatRules": [], "provisioningState": "Succeeded", "inboundNatPools": - [], "backendAddressPools": [{"name": "lb1bepool", "etag": "W/\\"7e9e1977-3429-4696-8487-b49b82318ba8\\"", - "properties": {"provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], - "probes": [{"name": "probe1", "etag": "W/\\"7e9e1977-3429-4696-8487-b49b82318ba8\\"", - "properties": {"requestPath": "/", "intervalInSeconds": 15, "numberOfProbes": - 2, "protocol": "Http", "port": 80, "provisioningState": "Succeeded"}, "id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}], - "loadBalancingRules": [{"name": "rule1", "properties": {"loadDistribution": - "default", "backendPort": 80, "frontendPort": 80, "protocol": "Tcp", "frontendIPConfiguration": - {"name": "LoadBalancerFrontEnd", "etag": "W/\\"7e9e1977-3429-4696-8487-b49b82318ba8\\"", + "provisioningState": "Succeeded"}}], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\"", "properties": + {"provisioningState": "Succeeded"}}], "loadBalancingRules": [{"name": "rule1", + "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}, - "probe": {"name": "probe1", "etag": "W/\\"7e9e1977-3429-4696-8487-b49b82318ba8\\"", - "properties": {"requestPath": "/", "intervalInSeconds": 15, "numberOfProbes": - 2, "protocol": "Http", "port": 80, "provisioningState": "Succeeded"}, "id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, - "backendAddressPool": {"name": "lb1bepool", "etag": "W/\\"7e9e1977-3429-4696-8487-b49b82318ba8\\"", - "properties": {"provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}}}]}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1"}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb rule create] - Connection: [keep-alive] - Content-Length: ['3621'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g --lb-name -n --protocol --frontend-port --backend-port - --probe-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + "provisioningState": "Succeeded"}}, "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\"", "properties": + {"provisioningState": "Succeeded"}}, "probe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", + "name": "probe1", "etag": "W/\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\"", "properties": + {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": + 2, "requestPath": "/", "provisioningState": "Succeeded"}}, "protocol": "Tcp", + "loadDistribution": "default", "frontendPort": 80, "backendPort": 80}}], "probes": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", + "name": "probe1", "etag": "W/\"70f3d139-5e44-47f1-b1a7-1d7be8af2d4d\"", "properties": + {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": + 2, "requestPath": "/", "provisioningState": "Succeeded"}}], "inboundNatRules": + [], "inboundNatPools": [], "resourceGuid": "bca35b5e-d320-449e-85de-cf0a038b4cd4", + "provisioningState": "Succeeded"}}' + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb rule create + Connection: + - keep-alive + Content-Length: + - '3621' + Content-Type: + - application/json + ParameterSetName: + - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\":\ - \ \"Regional\"\r\n }\r\n}"} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e48e33f8-f1e7-4ddc-a591-3c50757c2b1d?api-version=2017-10-01'] - cache-control: [no-cache] - content-length: ['5230'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:56:52 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-subscription-writes: ['1199'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1e542524-82bd-4800-8358-7ef70d3c4c5f?api-version=2017-10-01 + cache-control: + - no-cache + content-length: + - '5205' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - eeb8faeb-0605-4e29-8bbb-fd462fdb66df + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb rule create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --protocol --frontend-port --backend-port - --probe-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb rule create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e48e33f8-f1e7-4ddc-a591-3c50757c2b1d?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/1e542524-82bd-4800-8358-7ef70d3c4c5f?api-version=2017-10-01 response: - body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['29'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 83429e45-9708-4325-b890-b7c9952b997b + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb rule create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --protocol --frontend-port --backend-port - --probe-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb rule create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\":\ - \ \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['5230'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:23 GMT'] - etag: [W/"b8026c3f-bcf9-4f13-8c82-58603ae22c0a"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '5205' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:43 GMT + etag: + - W/"f30fab39-dd97-44a7-a474-c56eaa6f6712" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 20bcfbf4-b250-43ec-a25b-13dbb70511ef + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb inbound-nat-pool create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --backend-port --frontend-port-range-start - --frontend-port-range-end --protocol --frontend-ip-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb inbound-nat-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end + --protocol --frontend-ip-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\":\ - \ \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['5230'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:23 GMT'] - etag: [W/"b8026c3f-bcf9-4f13-8c82-58603ae22c0a"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"f30fab39-dd97-44a7-a474-c56eaa6f6712\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '5205' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:44 GMT + etag: + - W/"f30fab39-dd97-44a7-a474-c56eaa6f6712" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 4cb01bdd-fafd-42f1-b4e6-fb23b7b3cd31 + status: + code: 200 + message: OK - request: - body: 'b''{"location": "westus", "tags": {}, "etag": "W/\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\"", - "sku": {"name": "Basic"}, "properties": {"resourceGuid": "4b14b9f1-5209-4262-94d4-c31c667139dc", - "frontendIPConfigurations": [{"name": "LoadBalancerFrontEnd", "etag": "W/\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\"", + body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1", + "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "etag": "W/\"f30fab39-dd97-44a7-a474-c56eaa6f6712\"", + "properties": {"frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"f30fab39-dd97-44a7-a474-c56eaa6f6712\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}], - "inboundNatRules": [], "provisioningState": "Succeeded", "inboundNatPools": - [{"name": "nat-pool1", "properties": {"frontendIPConfiguration": {"name": "LoadBalancerFrontEnd", - "etag": "W/\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\"", "properties": {"privateIPAllocationMethod": - "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}, - "protocol": "Tcp", "backendPort": 22, "frontendPortRangeEnd": 50119, "frontendPortRangeStart": - 50000}}], "backendAddressPools": [{"name": "lb1bepool", "etag": "W/\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\"", - "properties": {"provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], - "probes": [{"name": "probe1", "etag": "W/\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\"", - "properties": {"requestPath": "/", "intervalInSeconds": 15, "numberOfProbes": - 2, "protocol": "Http", "port": 80, "provisioningState": "Succeeded"}, "id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}], - "loadBalancingRules": [{"name": "rule1", "etag": "W/\\"b8026c3f-bcf9-4f13-8c82-58603ae22c0a\\"", - "properties": {"loadDistribution": "Default", "backendPort": 80, "frontendPort": - 80, "idleTimeoutInMinutes": 4, "protocol": "Tcp", "frontendIPConfiguration": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}, + "provisioningState": "Succeeded"}}], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"f30fab39-dd97-44a7-a474-c56eaa6f6712\"", "properties": + {"provisioningState": "Succeeded"}}], "loadBalancingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "name": "rule1", "etag": "W/\"f30fab39-dd97-44a7-a474-c56eaa6f6712\"", "properties": + {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}, + "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}, "probe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, - "enableFloatingIP": false, "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}, - "provisioningState": "Succeeded"}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1"}]}, - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1"}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb inbound-nat-pool create] - Connection: [keep-alive] - Content-Length: ['4053'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g --lb-name -n --backend-port --frontend-port-range-start - --frontend-port-range-end --protocol --frontend-ip-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + "protocol": "Tcp", "loadDistribution": "Default", "frontendPort": 80, "backendPort": + 80, "idleTimeoutInMinutes": 4, "enableFloatingIP": false, "provisioningState": + "Succeeded"}}], "probes": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", + "name": "probe1", "etag": "W/\"f30fab39-dd97-44a7-a474-c56eaa6f6712\"", "properties": + {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": + 2, "requestPath": "/", "provisioningState": "Succeeded"}}], "inboundNatRules": + [], "inboundNatPools": [{"name": "nat-pool1", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"f30fab39-dd97-44a7-a474-c56eaa6f6712\"", + "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, + "provisioningState": "Succeeded"}}, "protocol": "Tcp", "frontendPortRangeStart": + 50000, "frontendPortRangeEnd": 50119, "backendPort": 22}}], "resourceGuid": + "bca35b5e-d320-449e-85de-cf0a038b4cd4", "provisioningState": "Succeeded"}}' + headers: + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb inbound-nat-pool create + Connection: + - keep-alive + Content-Length: + - '4053' + Content-Type: + - application/json + ParameterSetName: + - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end + --protocol --frontend-ip-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\"\ - : 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\ - \n \"tier\": \"Regional\"\r\n }\r\n}"} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/546f7429-f1f2-47a9-8ff7-1ac306b57037?api-version=2017-10-01'] - cache-control: [no-cache] - content-length: ['6498'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:24 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": + 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1333436-c013-4802-b065-4b56c5b06a04?api-version=2017-10-01 + cache-control: + - no-cache + content-length: + - '6473' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:24:47 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - fdaeea33-9f3b-4928-bca8-0c93a83137fe + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb inbound-nat-pool create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --backend-port --frontend-port-range-start - --frontend-port-range-end --protocol --frontend-ip-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb inbound-nat-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end + --protocol --frontend-ip-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/546f7429-f1f2-47a9-8ff7-1ac306b57037?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/d1333436-c013-4802-b065-4b56c5b06a04?api-version=2017-10-01 response: - body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['29'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:54 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: "{\r\n \"status\": \"Succeeded\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '29' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:18 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9fa75eca-930d-49d8-b106-7c347d6bb62c + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network lb inbound-nat-pool create] - Connection: [keep-alive] - ParameterSetName: [-g --lb-name -n --backend-port --frontend-port-range-start - --frontend-port-range-end --protocol --frontend-ip-name] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - network lb inbound-nat-pool create + Connection: + - keep-alive + ParameterSetName: + - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end + --protocol --frontend-ip-name + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\"\ - : 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\ - \n \"tier\": \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['6498'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:55 GMT'] - etag: [W/"668b4785-2948-411f-9075-8052b1987e14"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": + 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '6473' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:18 GMT + etag: + - W/"21a800d6-861c-4b6f-b092-8ac8d710c016" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9075711d-b719-4fea-ad98-22154ef2372f + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","location":"westus","tags":{"date":"2019-02-27T18:55:40Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} - headers: - cache-control: [no-cache] - content-length: ['384'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-31T08:21:57Z"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:20 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python-requests/2.21.0] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 method: GET uri: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-compute/quickstart-templates/aliases.json response: - body: {string: "{\n \"$schema\":\"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\"\ - ,\n \"contentVersion\":\"1.0.0.0\",\n \"parameters\":{},\n \"variables\"\ - :{},\n \"resources\":[],\n\n \"outputs\":{\n \"aliases\":{\n \"\ - type\":\"object\",\n \"value\":{\n\n \"Linux\":{\n \"\ - CentOS\":{\n \"publisher\":\"OpenLogic\",\n \"offer\"\ - :\"CentOS\",\n \"sku\":\"7.5\",\n \"version\":\"latest\"\ - \n },\n \"CoreOS\":{\n \"publisher\":\"CoreOS\"\ - ,\n \"offer\":\"CoreOS\",\n \"sku\":\"Stable\",\n \ - \ \"version\":\"latest\"\n },\n \"Debian\":{\n\ - \ \"publisher\":\"credativ\",\n \"offer\":\"Debian\"\ - ,\n \"sku\":\"9\",\n \"version\":\"latest\"\n \ - \ },\n \"openSUSE-Leap\": {\n \"publisher\":\"SUSE\"\ - ,\n \"offer\":\"openSUSE-Leap\",\n \"sku\":\"42.3\"\ - ,\n \"version\": \"latest\"\n },\n \"RHEL\":{\n\ - \ \"publisher\":\"RedHat\",\n \"offer\":\"RHEL\",\n\ - \ \"sku\":\"7-RAW\",\n \"version\":\"latest\"\n \ - \ },\n \"SLES\":{\n \"publisher\":\"SUSE\",\n \ - \ \"offer\":\"SLES\",\n \"sku\":\"15\",\n \"\ - version\":\"latest\"\n },\n \"UbuntuLTS\":{\n \ - \ \"publisher\":\"Canonical\",\n \"offer\":\"UbuntuServer\",\n\ - \ \"sku\":\"18.04-LTS\",\n \"version\":\"latest\"\n\ - \ }\n },\n\n \"Windows\":{\n \"Win2019Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2019-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2016Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2016-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2012R2Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2012-R2-Datacenter\",\n\ - \ \"version\":\"latest\"\n },\n \"Win2012Datacenter\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2012-Datacenter\",\n \ - \ \"version\":\"latest\"\n },\n \"Win2008R2SP1\"\ - :{\n \"publisher\":\"MicrosoftWindowsServer\",\n \"\ - offer\":\"WindowsServer\",\n \"sku\":\"2008-R2-SP1\",\n \ - \ \"version\":\"latest\"\n }\n }\n }\n }\n }\n\ - }\n"} - headers: - accept-ranges: [bytes] - access-control-allow-origin: ['*'] - cache-control: [max-age=300] - connection: [keep-alive] - content-length: ['2433'] - content-security-policy: [default-src 'none'; style-src 'unsafe-inline'; sandbox] - content-type: [text/plain; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:56 GMT'] - etag: ['"f5944d69cdbfb4a2bb2ddda8c5f050bde5bbcb32"'] - expires: ['Wed, 27 Feb 2019 19:02:56 GMT'] - source-age: ['264'] - strict-transport-security: [max-age=31536000] - vary: ['Authorization,Accept-Encoding'] - via: [1.1 varnish] - x-cache: [HIT] - x-cache-hits: ['1'] - x-content-type-options: [nosniff] - x-fastly-request-id: [c96be0b5e7662795bf1492eac8c3dd956f2b648e] - x-frame-options: [deny] - x-geo-block-list: [''] - x-github-request-id: ['301A:2A1E:B3253:BD13D:5C76DCAB'] - x-served-by: [cache-dfw18623-DFW] - x-timer: ['S1551293876.494886,VS0,VE1'] - x-xss-protection: [1; mode=block] - status: {code: 200, message: OK} + body: + string: "{\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json\",\n + \ \"contentVersion\": \"1.0.0.0\",\n \"parameters\": {},\n \"variables\": + {},\n \"resources\": [],\n \"outputs\": {\n \"aliases\": {\n \"type\": + \"object\",\n \"value\": {\n \"Linux\": {\n \"CentOS\": + {\n \"publisher\": \"OpenLogic\",\n \"offer\": \"CentOS\",\n + \ \"sku\": \"7.5\",\n \"version\": \"latest\"\n },\n + \ \"CoreOS\": {\n \"publisher\": \"CoreOS\",\n \"offer\": + \"CoreOS\",\n \"sku\": \"Stable\",\n \"version\": \"latest\"\n + \ },\n \"Debian\": {\n \"publisher\": \"Debian\",\n + \ \"offer\": \"debian-10\",\n \"sku\": \"10\",\n \"version\": + \"latest\"\n },\n \"openSUSE-Leap\": {\n \"publisher\": + \"SUSE\",\n \"offer\": \"openSUSE-Leap\",\n \"sku\": + \"42.3\",\n \"version\": \"latest\"\n },\n \"RHEL\": + {\n \"publisher\": \"RedHat\",\n \"offer\": \"RHEL\",\n + \ \"sku\": \"7-LVM\",\n \"version\": \"latest\"\n },\n + \ \"SLES\": {\n \"publisher\": \"SUSE\",\n \"offer\": + \"SLES\",\n \"sku\": \"15\",\n \"version\": \"latest\"\n + \ },\n \"UbuntuLTS\": {\n \"publisher\": \"Canonical\",\n + \ \"offer\": \"UbuntuServer\",\n \"sku\": \"18.04-LTS\",\n + \ \"version\": \"latest\"\n }\n },\n \"Windows\": + {\n \"Win2019Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2019-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2016Datacenter\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2016-Datacenter\",\n \"version\": + \"latest\"\n },\n \"Win2012R2Datacenter\": {\n \"publisher\": + \"MicrosoftWindowsServer\",\n \"offer\": \"WindowsServer\",\n \"sku\": + \"2012-R2-Datacenter\",\n \"version\": \"latest\"\n },\n + \ \"Win2012Datacenter\": {\n \"publisher\": \"MicrosoftWindowsServer\",\n + \ \"offer\": \"WindowsServer\",\n \"sku\": \"2012-Datacenter\",\n + \ \"version\": \"latest\"\n },\n \"Win2008R2SP1\": + {\n \"publisher\": \"MicrosoftWindowsServer\",\n \"offer\": + \"WindowsServer\",\n \"sku\": \"2008-R2-SP1\",\n \"version\": + \"latest\"\n }\n }\n }\n }\n }\n}\n" + headers: + accept-ranges: + - bytes + access-control-allow-origin: + - '*' + cache-control: + - max-age=300 + connection: + - keep-alive + content-length: + - '2501' + content-security-policy: + - default-src 'none'; style-src 'unsafe-inline'; sandbox + content-type: + - text/plain; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:20 GMT + etag: + - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" + expires: + - Mon, 31 May 2021 08:30:20 GMT + source-age: + - '0' + strict-transport-security: + - max-age=31536000 + vary: + - Authorization,Accept-Encoding + via: + - 1.1 varnish + x-cache: + - HIT + x-cache-hits: + - '1' + x-content-type-options: + - nosniff + x-fastly-request-id: + - f31c7477500c0dae4e6ccb07aed271db5c7e2dd0 + x-frame-options: + - deny + x-github-request-id: + - 7478:5C35:4E120:58E04:60B49108 + x-served-by: + - cache-hkg17930-HKG + x-timer: + - S1622449521.675139,VS0,VE318 + x-xss-protection: + - 1; mode=block + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks?api-version=2017-10-01 response: - body: {string: '{"value":[]}'} - headers: - cache-control: [no-cache] - content-length: ['12'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:21 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\"\ - : 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\ - \n \"tier\": \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['6498'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:56 GMT'] - etag: [W/"668b4785-2948-411f-9075-8052b1987e14"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": + 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '6473' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:22 GMT + etag: + - W/"21a800d6-861c-4b6f-b092-8ac8d710c016" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 2eb3c2b4-3358-41ce-b06a-3a562a16b890 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\"\ - : [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - ,\r\n \"etag\": \"W/\\\"668b4785-2948-411f-9075-8052b1987e14\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\"\ - : 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\ - \n \"tier\": \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['6498'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:57:56 GMT'] - etag: [W/"668b4785-2948-411f-9075-8052b1987e14"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": + [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n + \ \"etag\": \"W/\\\"21a800d6-861c-4b6f-b092-8ac8d710c016\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": + 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '6473' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:23 GMT + etag: + - W/"21a800d6-861c-4b6f-b092-8ac8d710c016" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 2c03732e-3116-4756-8c4a-3166d29b3daf + status: + code: 200 + message: OK - request: - body: 'b''{"properties": {"mode": "Incremental", "parameters": {"adminPassword": - {"value": "Testqwer1234!"}}, "template": {"contentVersion": "1.0.0.0", "parameters": - {"adminPassword": {"type": "securestring", "metadata": {"description": "Secure - adminPassword"}}}, "variables": {}, "resources": [{"location": "westus", "apiVersion": - "2015-06-15", "tags": {}, "name": "vmss1VNET", "type": "Microsoft.Network/virtualNetworks", - "dependsOn": [], "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, - "subnets": [{"name": "vmss1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, - {"location": "westus", "apiVersion": "2017-12-01", "tags": {}, "name": "vmss1", - "type": "Microsoft.Compute/virtualMachineScaleSets", "sku": {"name": "Standard_DS1_v2", - "capacity": 2}, "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET"], - "properties": {"upgradePolicy": {"mode": "manual"}, "singlePlacementGroup": - null, "virtualMachineProfile": {"storageProfile": {"imageReference": {"version": - "latest", "offer": "UbuntuServer", "sku": "18.04-LTS", "publisher": "Canonical"}, - "osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": null}, - "createOption": "FromImage"}}, "networkProfile": {"healthProbe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, - "networkInterfaceConfigurations": [{"name": "vmss197f9Nic", "properties": {"primary": - "true", "ipConfigurations": [{"name": "vmss197f9IPConfig", "properties": {"loadBalancerBackendAddressPools": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], - "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, - "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}]}, - "osProfile": {"adminUsername": "clitester1", "adminPassword": "[parameters(\''adminPassword\'')]", - "computerNamePrefix": "vmss197f9"}}, "overprovision": true}}], "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "outputs": {"VMSS": {"type": "object", "value": "[reference(resourceId(\''Microsoft.Compute/virtualMachineScaleSets\'', - \''vmss1\''),providers(\''Microsoft.Compute\'', \''virtualMachineScaleSets\'').apiVersions[0])]"}}}}}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - Content-Length: ['2820'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + body: '{"properties": {"template": {"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", "parameters": {"adminPassword": {"type": "securestring", + "metadata": {"description": "Secure adminPassword"}}}, "variables": {}, "resources": + [{"name": "vmss1VNET", "type": "Microsoft.Network/virtualNetworks", "location": + "westus", "apiVersion": "2015-06-15", "dependsOn": [], "tags": {}, "properties": + {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "subnets": [{"name": + "vmss1Subnet", "properties": {"addressPrefix": "10.0.0.0/24"}}]}}, {"type": + "Microsoft.Compute/virtualMachineScaleSets", "name": "vmss1", "location": "westus", + "tags": {}, "apiVersion": "2017-12-01", "dependsOn": ["Microsoft.Network/virtualNetworks/vmss1VNET"], + "sku": {"name": "Standard_DS1_v2", "capacity": 2}, "properties": {"overprovision": + true, "upgradePolicy": {"mode": "manual"}, "virtualMachineProfile": {"storageProfile": + {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": + {"storageAccountType": null}}, "imageReference": {"publisher": "Canonical", + "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "networkProfile": + {"networkInterfaceConfigurations": [{"name": "vmss17223Nic", "properties": {"primary": + "true", "ipConfigurations": [{"name": "vmss17223IPConfig", "properties": {"subnet": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], + "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}], + "healthProbe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}}, + "osProfile": {"computerNamePrefix": "vmss17223", "adminUsername": "clitester1", + "adminPassword": "[parameters(''adminPassword'')]"}}, "singlePlacementGroup": + null}}], "outputs": {"VMSS": {"type": "object", "value": "[reference(resourceId(''Microsoft.Compute/virtualMachineScaleSets'', + ''vmss1''),providers(''Microsoft.Compute'', ''virtualMachineScaleSets'').apiVersions[0])]"}}}, + "parameters": {"adminPassword": {"value": "Testqwer1234!"}}, "mode": "incremental"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + Content-Length: + - '2820' + Content-Type: + - application/json + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_SemvUGHu3veWMz5meHLnZpZ7OO0TC7yr","name":"vmss_deploy_SemvUGHu3veWMz5meHLnZpZ7OO0TC7yr","properties":{"templateHash":"834013237953080378","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2019-02-27T18:58:01.0033915Z","duration":"PT1.6110585S","correlationId":"74c27218-fe04-436a-9815-e1b048c8f6c2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/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_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_SemvUGHu3veWMz5meHLnZpZ7OO0TC7yr/operationStatuses/08586503130060852889?api-version=2018-05-01'] - cache-control: [no-cache] - content-length: ['1423'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:58:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586503130060852889?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:58:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586503130060852889?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:59:01 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586503130060852889?api-version=2018-05-01 - response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 18:59:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_QYpPCKI0NyiKgZ3KIT5uLMGPRLexC7yC","name":"vmss_deploy_QYpPCKI0NyiKgZ3KIT5uLMGPRLexC7yC","properties":{"templateHash":"10949920632778623674","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-31T08:25:28.8905213Z","duration":"PT2.1169604S","correlationId":"afe51b8a-e0f2-4fb8-926f-283fcd849c37","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/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_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_QYpPCKI0NyiKgZ3KIT5uLMGPRLexC7yC/operationStatuses/08585791573587040651?api-version=2018-05-01 + cache-control: + - no-cache + content-length: + - '1425' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:25:30 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + status: + code: 201 + message: Created - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586503130060852889?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791573587040651?api-version=2018-05-01 response: - body: {string: '{"status":"Running"}'} - headers: - cache-control: [no-cache] - content-length: ['20'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:00:01 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} + body: + string: '{"status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '20' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:26:01 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586503130060852889?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791573587040651?api-version=2018-05-01 response: - body: {string: '{"status":"Succeeded"}'} - headers: - cache-control: [no-cache] - content-length: ['22'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:00:31 GMT'] - expires: ['-1'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} + body: + string: '{"status":"Succeeded"}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:26:31 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss create] - Connection: [keep-alive] - ParameterSetName: [-g -n --image --admin-username --admin-password --lb --health-probe] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss create + Connection: + - keep-alive + ParameterSetName: + - -g -n --image --admin-username --admin-password --lb --health-probe + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2018-05-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_SemvUGHu3veWMz5meHLnZpZ7OO0TC7yr","name":"vmss_deploy_SemvUGHu3veWMz5meHLnZpZ7OO0TC7yr","properties":{"templateHash":"834013237953080378","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2019-02-27T19:00:21.9562353Z","duration":"PT2M22.5639023S","correlationId":"74c27218-fe04-436a-9815-e1b048c8f6c2","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss197f9","adminUsername":"clitester1","linuxConfiguration":{"disablePasswordAuthentication":false},"secrets":[]},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"}},"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"18.04-LTS","version":"latest"}},"networkProfile":{"healthProbe":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"},"networkInterfaceConfigurations":[{"name":"vmss197f9Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss197f9IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"uniqueId":"f615f313-570b-4b7e-9756-778e5cd5856c"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['3766'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:00:32 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} + body: + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_QYpPCKI0NyiKgZ3KIT5uLMGPRLexC7yC","name":"vmss_deploy_QYpPCKI0NyiKgZ3KIT5uLMGPRLexC7yC","properties":{"templateHash":"10949920632778623674","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-31T08:26:15.5687407Z","duration":"PT48.7951798S","correlationId":"afe51b8a-e0f2-4fb8-926f-283fcd849c37","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss17223","adminUsername":"clitester1","linuxConfiguration":{"disablePasswordAuthentication":false},"secrets":[]},"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":{"healthProbe":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"},"networkInterfaceConfigurations":[{"name":"vmss17223Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss17223IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"467f5adb-18b1-4d79-83a8-e35c85d15f2a"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + headers: + cache-control: + - no-cache + content-length: + - '3846' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:26:32 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 extension set] - Connection: [keep-alive] - ParameterSetName: [-g --vmss-name -n --publisher --settings --version] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss extension set + Connection: + - keep-alive + ParameterSetName: + - -g --vmss-name -n --publisher --settings --version + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\"\ - : {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n\ - \ \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n \ - \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \ - \ \"computerNamePrefix\": \"vmss197f9\",\r\n \"adminUsername\"\ - : \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : false\r\n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n \ - \ },\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - },\"networkInterfaceConfigurations\":[{\"name\":\"vmss197f9Nic\",\"properties\"\ - :{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"\ - dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\"\ - :\"vmss197f9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\"\ - :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - }],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - }]}}]}}]}\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - overprovision\": true,\r\n \"uniqueId\": \"f615f313-570b-4b7e-9756-778e5cd5856c\"\ - \r\n },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n\ - \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['2675'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:00:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;188,Microsoft.Compute/GetVMScaleSet30Min;1288'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss17223\",\r\n + \ \"adminUsername\": \"clitester1\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false\r\n },\r\n + \ \"secrets\": []\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss17223Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss17223IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]}\r\n + \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": + true,\r\n \"uniqueId\": \"467f5adb-18b1-4d79-83a8-e35c85d15f2a\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2734' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:26:32 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;389,Microsoft.Compute/GetVMScaleSet30Min;2553 + status: + code: 200 + message: OK - request: - body: 'b''{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", - "tier": "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": - "Manual", "automaticOSUpgrade": false}, "singlePlacementGroup": true, "virtualMachineProfile": - {"extensionProfile": {"extensions": [{"name": "customScript", "properties": - {"typeHandlerVersion": "2.0", "settings": {"commandToExecute": "sudo apt-get - update && sudo apt-get install -y nginx"}, "type": "customScript", "autoUpgradeMinorVersion": - true, "publisher": "Microsoft.Azure.Extensions"}}]}, "storageProfile": {"imageReference": - {"version": "latest", "offer": "UbuntuServer", "sku": "18.04-LTS", "publisher": - "Canonical"}, "osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": - "Premium_LRS"}, "createOption": "FromImage"}}, "osProfile": {"adminUsername": - "clitester1", "secrets": [], "computerNamePrefix": "vmss197f9", "linuxConfiguration": - {"disablePasswordAuthentication": false}}, "networkProfile": {"healthProbe": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, - "networkInterfaceConfigurations": [{"name": "vmss197f9Nic", "properties": {"enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "enableIPForwarding": false, "primary": - true, "ipConfigurations": [{"name": "vmss197f9IPConfig", "properties": {"loadBalancerBackendAddressPools": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], - "privateIPAddressVersion": "IPv4", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, - "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}]}}, - "overprovision": true}}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss extension set] - Connection: [keep-alive] - Content-Length: ['2291'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g --vmss-name -n --publisher --settings --version] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": + "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": "Manual", + "automaticOSUpgrade": false}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": + "vmss17223", "adminUsername": "clitester1", "linuxConfiguration": {"disablePasswordAuthentication": + false}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", + "createOption": "FromImage", "osType": "Linux", "managedDisk": {"storageAccountType": + "Premium_LRS"}}}, "networkProfile": {"healthProbe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, + "networkInterfaceConfigurations": [{"name": "vmss17223Nic", "properties": {"primary": + true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, + "ipConfigurations": [{"name": "vmss17223IPConfig", "properties": {"subnet": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], + "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}], + "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": + "customScript", "properties": {"publisher": "Microsoft.Azure.Extensions", "type": + "customScript", "typeHandlerVersion": "2.0", "autoUpgradeMinorVersion": true, + "settings": {"commandToExecute": "sudo apt-get update && sudo apt-get install + -y nginx"}}}]}}, "overprovision": true, "singlePlacementGroup": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss extension set + Connection: + - keep-alive + Content-Length: + - '2198' + Content-Type: + - application/json + ParameterSetName: + - -g --vmss-name -n --publisher --settings --version + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\"\ - : {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n\ - \ \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n \ - \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \ - \ \"computerNamePrefix\": \"vmss197f9\",\r\n \"adminUsername\"\ - : \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : false\r\n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n \ - \ },\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - },\"networkInterfaceConfigurations\":[{\"name\":\"vmss197f9Nic\",\"properties\"\ - :{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"\ - dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\"\ - :\"vmss197f9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\"\ - :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - }],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - }]}}]}}]},\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\ - \n {\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\"\ - : true,\r\n \"settings\": {\"commandToExecute\":\"sudo apt-get\ - \ update && sudo apt-get install -y nginx\"},\r\n \"publisher\"\ - : \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\"\ - ,\r\n \"typeHandlerVersion\": \"2.0\"\r\n },\r\n \ - \ \"name\": \"customScript\"\r\n }\r\n ]\r\n \ - \ }\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\"\ - : true,\r\n \"uniqueId\": \"f615f313-570b-4b7e-9756-778e5cd5856c\"\r\n\ - \ },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"\ - location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - azure-asyncnotification: [Enabled] - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1076ca34-5d1c-4fae-811d-0ad2d8ea882e?api-version=2017-12-01'] - cache-control: [no-cache] - content-length: ['3148'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:00:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/CreateVMScaleSet3Min;38,Microsoft.Compute/CreateVMScaleSet30Min;198,Microsoft.Compute/VmssQueuedVMOperations;4800'] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-charge: ['0'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss extension set] - Connection: [keep-alive] - ParameterSetName: [-g --vmss-name -n --publisher --settings --version] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1076ca34-5d1c-4fae-811d-0ad2d8ea882e?api-version=2017-12-01 - response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:00:34.2219139+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"1076ca34-5d1c-4fae-811d-0ad2d8ea882e\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:00:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29992'] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss extension set] - Connection: [keep-alive] - ParameterSetName: [-g --vmss-name -n --publisher --settings --version] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/1076ca34-5d1c-4fae-811d-0ad2d8ea882e?api-version=2017-12-01 - response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:00:34.2219139+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"1076ca34-5d1c-4fae-811d-0ad2d8ea882e\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:01:21 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14992,Microsoft.Compute/GetOperation30Min;29991'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss17223\",\r\n + \ \"adminUsername\": \"clitester1\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false\r\n },\r\n + \ \"secrets\": []\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss17223Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss17223IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n + \ \"name\": \"customScript\",\r\n \"properties\": {\r\n + \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": + \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\",\r\n + \ \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": + {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\r\n + \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": + \"Updating\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"467f5adb-18b1-4d79-83a8-e35c85d15f2a\"\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/952d6cae-a5f0-428f-82f1-1ad83559f01b?api-version=2017-12-01 + cache-control: + - no-cache + content-length: + - '3207' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:26:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateVMScaleSet3Min;56,Microsoft.Compute/CreateVMScaleSet30Min;291,Microsoft.Compute/VmssQueuedVMOperations;0 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-ms-request-charge: + - '0' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss extension set] - Connection: [keep-alive] - ParameterSetName: [-g --vmss-name -n --publisher --settings --version] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss extension set + Connection: + - keep-alive + ParameterSetName: + - -g --vmss-name -n --publisher --settings --version + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/1076ca34-5d1c-4fae-811d-0ad2d8ea882e?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/952d6cae-a5f0-428f-82f1-1ad83559f01b?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:00:34.2219139+00:00\",\r\ - \n \"endTime\": \"2019-02-27T19:01:28.6594661+00:00\",\r\n \"status\": \"\ - Succeeded\",\r\n \"name\": \"1076ca34-5d1c-4fae-811d-0ad2d8ea882e\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['184'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:01:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29989'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:26:34.9539494+00:00\",\r\n \"endTime\": + \"2021-05-31T08:26:44.0164531+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"952d6cae-a5f0-428f-82f1-1ad83559f01b\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:26:48 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;14992,Microsoft.Compute/GetOperation30Min;29981 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss extension set] - Connection: [keep-alive] - ParameterSetName: [-g --vmss-name -n --publisher --settings --version] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss extension set + Connection: + - keep-alive + ParameterSetName: + - -g --vmss-name -n --publisher --settings --version + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\"\ - : {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n\ - \ \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n \ - \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \ - \ \"computerNamePrefix\": \"vmss197f9\",\r\n \"adminUsername\"\ - : \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : false\r\n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n \ - \ },\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - },\"networkInterfaceConfigurations\":[{\"name\":\"vmss197f9Nic\",\"properties\"\ - :{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"\ - dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\"\ - :\"vmss197f9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\"\ - :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - }],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - }]}}]}}]},\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\ - \n {\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\"\ - : true,\r\n \"settings\": {\"commandToExecute\":\"sudo apt-get\ - \ update && sudo apt-get install -y nginx\"},\r\n \"publisher\"\ - : \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\"\ - ,\r\n \"typeHandlerVersion\": \"2.0\"\r\n },\r\n \ - \ \"name\": \"customScript\"\r\n }\r\n ]\r\n \ - \ }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\"\ - : true,\r\n \"uniqueId\": \"f615f313-570b-4b7e-9756-778e5cd5856c\"\r\n\ - \ },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"\ - location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['3149'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:01:51 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;180,Microsoft.Compute/GetVMScaleSet30Min;1278'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss17223\",\r\n + \ \"adminUsername\": \"clitester1\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false\r\n },\r\n + \ \"secrets\": []\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss17223Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss17223IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n + \ \"name\": \"customScript\",\r\n \"properties\": {\r\n + \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": + \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\",\r\n + \ \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": + {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\r\n + \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": + \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"467f5adb-18b1-4d79-83a8-e35c85d15f2a\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3208' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:26:48 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;386,Microsoft.Compute/GetVMScaleSet30Min;2550 + status: + code: 200 + message: OK - request: body: '{"instanceIds": ["*"]}' headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update-instances] - Connection: [keep-alive] - Content-Length: ['22'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -n --instance-ids] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + Content-Length: + - '22' + Content-Type: + - application/json + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/manualupgrade?api-version=2017-12-01 response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9a7f6be9-a5a7-4a74-bf72-3578dd8bc562?api-version=2017-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 27 Feb 2019 19:01:52 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/9a7f6be9-a5a7-4a74-bf72-3578dd8bc562?monitor=true&api-version=2017-12-01'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/VMScaleSetActions3Min;239,Microsoft.Compute/VMScaleSetActions30Min;1199,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1194,Microsoft.Compute/VmssQueuedVMOperations;4798'] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-charge: ['2'] - status: {code: 202, message: Accepted} + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/28f89d60-8432-4ffa-844d-2801e5cc717d?api-version=2017-12-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 31 May 2021 08:26:49 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/28f89d60-8432-4ffa-844d-2801e5cc717d?monitor=true&api-version=2017-12-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/VMScaleSetActions3Min;239,Microsoft.Compute/VMScaleSetActions30Min;1199,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1184,Microsoft.Compute/VmssQueuedVMOperations;0 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-charge: + - '2' + status: + code: 202 + message: Accepted - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update-instances] - Connection: [keep-alive] - ParameterSetName: [-g -n --instance-ids] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/9a7f6be9-a5a7-4a74-bf72-3578dd8bc562?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/28f89d60-8432-4ffa-844d-2801e5cc717d?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:01:53.0656507+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"9a7f6be9-a5a7-4a74-bf72-3578dd8bc562\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:02:22 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29987'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:26:50.0946414+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"28f89d60-8432-4ffa-844d-2801e5cc717d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:27:20 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;14988,Microsoft.Compute/GetOperation30Min;29976 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update-instances] - Connection: [keep-alive] - ParameterSetName: [-g -n --instance-ids] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update-instances + Connection: + - keep-alive + ParameterSetName: + - -g -n --instance-ids + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/9a7f6be9-a5a7-4a74-bf72-3578dd8bc562?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/28f89d60-8432-4ffa-844d-2801e5cc717d?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:01:53.0656507+00:00\",\r\ - \n \"endTime\": \"2019-02-27T19:02:40.2844245+00:00\",\r\n \"status\": \"\ - Succeeded\",\r\n \"name\": \"9a7f6be9-a5a7-4a74-bf72-3578dd8bc562\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['184'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:02:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29984'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:26:50.0946414+00:00\",\r\n \"endTime\": + \"2021-05-31T08:27:25.2973926+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"28f89d60-8432-4ffa-844d-2801e5cc717d\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:27: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;14984,Microsoft.Compute/GetOperation30Min;29971 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\"\ - : {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n\ - \ \"mode\": \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n \ - \ },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": {\r\n \ - \ \"computerNamePrefix\": \"vmss197f9\",\r\n \"adminUsername\"\ - : \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : false\r\n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n \ - \ },\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - },\"networkInterfaceConfigurations\":[{\"name\":\"vmss197f9Nic\",\"properties\"\ - :{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"\ - dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\"\ - :\"vmss197f9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\"\ - :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - }],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - }]}}]}}]},\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\ - \n {\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\"\ - : true,\r\n \"settings\": {\"commandToExecute\":\"sudo apt-get\ - \ update && sudo apt-get install -y nginx\"},\r\n \"publisher\"\ - : \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\"\ - ,\r\n \"typeHandlerVersion\": \"2.0\"\r\n },\r\n \ - \ \"name\": \"customScript\"\r\n }\r\n ]\r\n \ - \ }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\"\ - : true,\r\n \"uniqueId\": \"f615f313-570b-4b7e-9756-778e5cd5856c\"\r\n\ - \ },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"\ - location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['3149'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:02:53 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;179,Microsoft.Compute/GetVMScaleSet30Min;1277'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Manual\",\r\n \"automaticOSUpgrade\": false\r\n },\r\n \"virtualMachineProfile\": + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss17223\",\r\n + \ \"adminUsername\": \"clitester1\",\r\n \"linuxConfiguration\": + {\r\n \"disablePasswordAuthentication\": false\r\n },\r\n + \ \"secrets\": []\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss17223Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss17223IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n + \ \"name\": \"customScript\",\r\n \"properties\": {\r\n + \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": + \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\",\r\n + \ \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": + {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\r\n + \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": + \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"467f5adb-18b1-4d79-83a8-e35c85d15f2a\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3208' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:27:51 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;384,Microsoft.Compute/GetVMScaleSet30Min;2541 + status: + code: 200 + message: OK - request: - body: 'b''{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", - "tier": "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": - "Rolling", "automaticOSUpgrade": false}, "singlePlacementGroup": true, "virtualMachineProfile": - {"extensionProfile": {"extensions": [{"name": "customScript", "properties": - {"typeHandlerVersion": "2.0", "settings": {"commandToExecute": "sudo apt-get - update && sudo apt-get install -y nginx"}, "type": "customScript", "autoUpgradeMinorVersion": - true, "publisher": "Microsoft.Azure.Extensions"}}]}, "storageProfile": {"imageReference": - {"version": "latest", "offer": "UbuntuServer", "sku": "18.04-LTS", "publisher": - "Canonical"}, "osDisk": {"caching": "ReadWrite", "managedDisk": {"storageAccountType": - "Premium_LRS"}, "createOption": "FromImage"}}, "osProfile": {"adminUsername": - "clitester1", "secrets": [], "computerNamePrefix": "vmss197f9", "linuxConfiguration": - {"disablePasswordAuthentication": false}}, "networkProfile": {"healthProbe": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, - "networkInterfaceConfigurations": [{"name": "vmss197f9Nic", "properties": {"enableAcceleratedNetworking": - false, "dnsSettings": {"dnsServers": []}, "enableIPForwarding": false, "primary": - true, "ipConfigurations": [{"name": "vmss197f9IPConfig", "properties": {"loadBalancerBackendAddressPools": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], - "privateIPAddressVersion": "IPv4", "subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, - "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}]}}, - "overprovision": true}}''' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - Content-Length: ['2292'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": + "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": "rolling", + "automaticOSUpgrade": false}, "virtualMachineProfile": {"osProfile": {"computerNamePrefix": + "vmss17223", "adminUsername": "clitester1", "linuxConfiguration": {"disablePasswordAuthentication": + false}, "secrets": []}, "storageProfile": {"osDisk": {"caching": "ReadWrite", + "createOption": "FromImage", "osType": "Linux", "managedDisk": {"storageAccountType": + "Premium_LRS"}}}, "networkProfile": {"healthProbe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, + "networkInterfaceConfigurations": [{"name": "vmss17223Nic", "properties": {"primary": + true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, + "ipConfigurations": [{"name": "vmss17223IPConfig", "properties": {"subnet": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], + "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}], + "enableIPForwarding": false}}]}, "extensionProfile": {"extensions": [{"name": + "customScript", "properties": {"publisher": "Microsoft.Azure.Extensions", "type": + "customScript", "typeHandlerVersion": "2.0", "autoUpgradeMinorVersion": true, + "settings": {"commandToExecute": "sudo apt-get update && sudo apt-get install + -y nginx"}}}]}}, "overprovision": true, "singlePlacementGroup": true}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + Content-Length: + - '2199' + Content-Type: + - application/json + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\"\ - : {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n\ - \ \"mode\": \"Rolling\",\r\n \"rollingUpgradePolicy\": {\r\n \ - \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\"\ - : 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"\ - pauseTimeBetweenBatches\": \"PT0S\"\r\n },\r\n \"automaticOSUpgrade\"\ - : false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\"\ - : {\r\n \"computerNamePrefix\": \"vmss197f9\",\r\n \"adminUsername\"\ - : \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : false\r\n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n \ - \ },\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - },\"networkInterfaceConfigurations\":[{\"name\":\"vmss197f9Nic\",\"properties\"\ - :{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"\ - dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\"\ - :\"vmss197f9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\"\ - :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - }],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - }]}}]}}]},\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\ - \n {\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\"\ - : true,\r\n \"settings\": {\"commandToExecute\":\"sudo apt-get\ - \ update && sudo apt-get install -y nginx\"},\r\n \"publisher\"\ - : \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\"\ - ,\r\n \"typeHandlerVersion\": \"2.0\"\r\n },\r\n \ - \ \"name\": \"customScript\"\r\n }\r\n ]\r\n \ - \ }\r\n },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\"\ - : true,\r\n \"uniqueId\": \"f615f313-570b-4b7e-9756-778e5cd5856c\"\r\n\ - \ },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"\ - location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - azure-asyncnotification: [Enabled] - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/d3f0ba2b-525a-45f9-9b73-a2ed9db5e378?api-version=2017-12-01'] - cache-control: [no-cache] - content-length: ['3371'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:02:55 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/CreateVMScaleSet3Min;38,Microsoft.Compute/CreateVMScaleSet30Min;197,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1193,Microsoft.Compute/VmssQueuedVMOperations;4799'] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-charge: ['1'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Rolling\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n },\r\n \"automaticOSUpgrade\": + false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss17223\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + false\r\n },\r\n \"secrets\": []\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss17223Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss17223IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n + \ \"name\": \"customScript\",\r\n \"properties\": {\r\n + \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": + \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\",\r\n + \ \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": + {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\r\n + \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": + \"Updating\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"467f5adb-18b1-4d79-83a8-e35c85d15f2a\"\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/feeacad4-5341-48df-a14e-41df95fabb8f?api-version=2017-12-01 + cache-control: + - no-cache + content-length: + - '3430' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:27:56 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/CreateVMScaleSet3Min;55,Microsoft.Compute/CreateVMScaleSet30Min;289,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1185,Microsoft.Compute/VmssQueuedVMOperations;0 + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + x-ms-request-charge: + - '1' + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/d3f0ba2b-525a-45f9-9b73-a2ed9db5e378?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/feeacad4-5341-48df-a14e-41df95fabb8f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:02:55.2063595+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"d3f0ba2b-525a-45f9-9b73-a2ed9db5e378\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:03:05 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29983'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:27:54.2664757+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"feeacad4-5341-48df-a14e-41df95fabb8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:28:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29969 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/d3f0ba2b-525a-45f9-9b73-a2ed9db5e378?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/feeacad4-5341-48df-a14e-41df95fabb8f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:02:55.2063595+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"d3f0ba2b-525a-45f9-9b73-a2ed9db5e378\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:03:43 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29982'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:27:54.2664757+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"feeacad4-5341-48df-a14e-41df95fabb8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:28:43 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;14981,Microsoft.Compute/GetOperation30Min;29966 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/d3f0ba2b-525a-45f9-9b73-a2ed9db5e378?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/feeacad4-5341-48df-a14e-41df95fabb8f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:03:55.690659+00:00\",\r\n\ - \ \"status\": \"InProgress\",\r\n \"name\": \"d3f0ba2b-525a-45f9-9b73-a2ed9db5e378\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['133'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:04:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14990,Microsoft.Compute/GetOperation30Min;29981'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:27:54.2664757+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"feeacad4-5341-48df-a14e-41df95fabb8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:29:14 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14980,Microsoft.Compute/GetOperation30Min;29963 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/d3f0ba2b-525a-45f9-9b73-a2ed9db5e378?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/feeacad4-5341-48df-a14e-41df95fabb8f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:03:55.690659+00:00\",\r\n\ - \ \"status\": \"InProgress\",\r\n \"name\": \"d3f0ba2b-525a-45f9-9b73-a2ed9db5e378\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['133'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:04:44 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29980'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:27:54.2664757+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"feeacad4-5341-48df-a14e-41df95fabb8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:29:44 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14979,Microsoft.Compute/GetOperation30Min;29960 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/d3f0ba2b-525a-45f9-9b73-a2ed9db5e378?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/feeacad4-5341-48df-a14e-41df95fabb8f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:04:55.9563042+00:00\",\r\ - \n \"endTime\": \"2019-02-27T19:04:55.9719495+00:00\",\r\n \"status\": \"\ - Succeeded\",\r\n \"name\": \"d3f0ba2b-525a-45f9-9b73-a2ed9db5e378\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['184'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:05:15 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;14992,Microsoft.Compute/GetOperation30Min;29978'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:27:54.2664757+00:00\",\r\n \"endTime\": + \"2021-05-31T08:29:54.8613189+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"feeacad4-5341-48df-a14e-41df95fabb8f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '184' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:30:15 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;14982,Microsoft.Compute/GetOperation30Min;29956 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss update] - Connection: [keep-alive] - ParameterSetName: [-g -n --set] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss update + Connection: + - keep-alive + ParameterSetName: + - -g -n --set + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\"\ - : {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n\ - \ \"mode\": \"Rolling\",\r\n \"rollingUpgradePolicy\": {\r\n \ - \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\"\ - : 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"\ - pauseTimeBetweenBatches\": \"PT0S\"\r\n },\r\n \"automaticOSUpgrade\"\ - : false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\"\ - : {\r\n \"computerNamePrefix\": \"vmss197f9\",\r\n \"adminUsername\"\ - : \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : false\r\n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n \ - \ },\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - },\"networkInterfaceConfigurations\":[{\"name\":\"vmss197f9Nic\",\"properties\"\ - :{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"\ - dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\"\ - :\"vmss197f9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\"\ - :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - }],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - }]}}]}}]},\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\ - \n {\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\"\ - : true,\r\n \"settings\": {\"commandToExecute\":\"sudo apt-get\ - \ update && sudo apt-get install -y nginx\"},\r\n \"publisher\"\ - : \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\"\ - ,\r\n \"typeHandlerVersion\": \"2.0\"\r\n },\r\n \ - \ \"name\": \"customScript\"\r\n }\r\n ]\r\n \ - \ }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\"\ - : true,\r\n \"uniqueId\": \"f615f313-570b-4b7e-9756-778e5cd5856c\"\r\n\ - \ },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"\ - location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['3372'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:05:14 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;189,Microsoft.Compute/GetVMScaleSet30Min;1267'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Rolling\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n },\r\n \"automaticOSUpgrade\": + false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss17223\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + false\r\n },\r\n \"secrets\": []\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss17223Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss17223IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n + \ \"name\": \"customScript\",\r\n \"properties\": {\r\n + \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": + \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\",\r\n + \ \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": + {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\r\n + \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": + \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"467f5adb-18b1-4d79-83a8-e35c85d15f2a\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3431' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:30:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;383,Microsoft.Compute/GetVMScaleSet30Min;2528 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss list-instance-connection-info] - Connection: [keep-alive] - ParameterSetName: [-g -n -o] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss list-instance-connection-info + Connection: + - keep-alive + ParameterSetName: + - -g -n -o + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2017-12-01 response: - body: {string: "{\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n \ - \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\"\ - : {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n\ - \ \"mode\": \"Rolling\",\r\n \"rollingUpgradePolicy\": {\r\n \ - \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\"\ - : 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"\ - pauseTimeBetweenBatches\": \"PT0S\"\r\n },\r\n \"automaticOSUpgrade\"\ - : false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\"\ - : {\r\n \"computerNamePrefix\": \"vmss197f9\",\r\n \"adminUsername\"\ - : \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\"\ - : false\r\n },\r\n \"secrets\": []\r\n },\r\n \"storageProfile\"\ - : {\r\n \"osDisk\": {\r\n \"createOption\": \"FromImage\"\ - ,\r\n \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\ - \n \"storageAccountType\": \"Premium_LRS\"\r\n }\r\n \ - \ },\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - },\"networkInterfaceConfigurations\":[{\"name\":\"vmss197f9Nic\",\"properties\"\ - :{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"\ - dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\"\ - :\"vmss197f9IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"\ - },\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\"\ - :[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - }],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - }]}}]}}]},\r\n \"extensionProfile\": {\r\n \"extensions\": [\r\ - \n {\r\n \"properties\": {\r\n \"autoUpgradeMinorVersion\"\ - : true,\r\n \"settings\": {\"commandToExecute\":\"sudo apt-get\ - \ update && sudo apt-get install -y nginx\"},\r\n \"publisher\"\ - : \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\"\ - ,\r\n \"typeHandlerVersion\": \"2.0\"\r\n },\r\n \ - \ \"name\": \"customScript\"\r\n }\r\n ]\r\n \ - \ }\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\"\ - : true,\r\n \"uniqueId\": \"f615f313-570b-4b7e-9756-778e5cd5856c\"\r\n\ - \ },\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"\ - location\": \"westus\",\r\n \"tags\": {},\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\"\ - ,\r\n \"name\": \"vmss1\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['3372'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:05:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;188,Microsoft.Compute/GetVMScaleSet30Min;1266'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"vmss1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1\",\r\n + \ \"type\": \"Microsoft.Compute/virtualMachineScaleSets\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"sku\": {\r\n \"name\": \"Standard_DS1_v2\",\r\n + \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": + {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": + \"Rolling\",\r\n \"rollingUpgradePolicy\": {\r\n \"maxBatchInstancePercent\": + 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": + 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n },\r\n \"automaticOSUpgrade\": + false\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": + {\r\n \"computerNamePrefix\": \"vmss17223\",\r\n \"adminUsername\": + \"clitester1\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": + false\r\n },\r\n \"secrets\": []\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss17223Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss17223IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n + \ \"name\": \"customScript\",\r\n \"properties\": {\r\n + \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": + \"Microsoft.Azure.Extensions\",\r\n \"type\": \"customScript\",\r\n + \ \"typeHandlerVersion\": \"2.0\",\r\n \"settings\": + {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\r\n + \ }\r\n }\r\n ]\r\n }\r\n },\r\n \"provisioningState\": + \"Succeeded\",\r\n \"overprovision\": true,\r\n \"uniqueId\": \"467f5adb-18b1-4d79-83a8-e35c85d15f2a\"\r\n + \ }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '3431' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:30:15 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;382,Microsoft.Compute/GetVMScaleSet30Min;2527 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss list-instance-connection-info] - Connection: [keep-alive] - ParameterSetName: [-g -n -o] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss list-instance-connection-info + Connection: + - keep-alive + ParameterSetName: + - -g -n -o + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\"\ - ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"4b14b9f1-5209-4262-94d4-c31c667139dc\"\ - ,\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"\ - LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"\ - publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - \r\n },\r\n \"loadBalancingRules\": [\r\n {\r\ - \n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.0\"\ - \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.2\"\ - \r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n\ - \ {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - \r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \ - \ \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\"\ - ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"backendIPConfigurations\": [\r\n {\r\n \ - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss197f9Nic/ipConfigurations/vmss197f9IPConfig\"\ - \r\n },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/vmss197f9Nic/ipConfigurations/vmss197f9IPConfig\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\ - \r\n }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ - \ \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 80,\r\n \"backendPort\"\ - : 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\"\ - : \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\ - \r\n },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n\ - \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \ - \ \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n\ - \ \"numberOfProbes\": 2,\r\n \"loadBalancingRules\": [\r\ - \n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\ - \r\n }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\ - \r\n }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \ - \ \"name\": \"nat-pool1.0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.0\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 50000,\r\n \"backendPort\"\ - : 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"backendIPConfiguration\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss197f9Nic/ipConfigurations/vmss197f9IPConfig\"\ - \r\n }\r\n }\r\n },\r\n {\r\n \"name\": \"\ - nat-pool1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.2\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\"\ - ,\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n },\r\n \"frontendPort\": 50002,\r\n \"backendPort\"\ - : 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"protocol\": \"Tcp\",\r\n \"backendIPConfiguration\"\ - : {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/vmss197f9Nic/ipConfigurations/vmss197f9IPConfig\"\ - \r\n }\r\n }\r\n }\r\n ],\r\n \"inboundNatPools\"\ - : [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\ - ,\r\n \"etag\": \"W/\\\"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\"\ - : 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\"\ - ,\r\n \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\ - \r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\ - \n \"tier\": \"Regional\"\r\n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['10493'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:05:16 GMT'] - etag: [W/"0702d1e4-f42c-49ee-b52f-fb6a85bf3d0e"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n \"type\": + \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": + {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"resourceGuid\": \"bca35b5e-d320-449e-85de-cf0a038b4cd4\",\r\n \"frontendIPConfigurations\": + [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n + \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.0\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.3\"\r\n + \ }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n + \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": + [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"backendIPConfigurations\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss17223Nic/ipConfigurations/vmss17223IPConfig\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/vmss17223Nic/ipConfigurations/vmss17223IPConfig\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n + \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": + \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 80,\r\n \"backendPort\": + 80,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"loadDistribution\": + \"Default\",\r\n \"backendAddressPool\": {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"\r\n + \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n + \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": + \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": + 2,\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n + \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n + \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"name\": + \"nat-pool1.0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.0\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 50000,\r\n \"backendPort\": + 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"backendIPConfiguration\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss17223Nic/ipConfigurations/vmss17223IPConfig\"\r\n + \ }\r\n }\r\n },\r\n {\r\n \"name\": \"nat-pool1.3\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.3\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n + \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ },\r\n \"frontendPort\": 50003,\r\n \"backendPort\": + 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"protocol\": \"Tcp\",\r\n \"backendIPConfiguration\": + {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/vmss17223Nic/ipConfigurations/vmss17223IPConfig\"\r\n + \ }\r\n }\r\n }\r\n ],\r\n \"inboundNatPools\": + [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n + \ \"etag\": \"W/\\\"60b70654-eec6-4c15-9196-6f51fb162507\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": + 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n + \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/inboundNatPools\"\r\n + \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '10468' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:30:17 GMT + etag: + - W/"60b70654-eec6-4c15-9196-6f51fb162507" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - ba966099-586a-4c84-8fa9-b5ac9e26eae1 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss list-instance-connection-info] - Connection: [keep-alive] - ParameterSetName: [-g -n -o] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json, text/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss list-instance-connection-info + Connection: + - keep-alive + ParameterSetName: + - -g -n -o + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1?api-version=2017-10-01 response: - body: {string: "{\r\n \"name\": \"PublicIPlb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\ - ,\r\n \"etag\": \"W/\\\"140939d5-2214-4159-ad2d-1ab5384e4c1c\\\"\",\r\n \ - \ \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n\ - \ \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"aefd775e-dadd-42ea-b9c1-8e81518c24dc\"\ - ,\r\n \"ipAddress\": \"13.91.41.126\",\r\n \"publicIPAddressVersion\"\ - : \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\"\ - : 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\"\ - : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\ - \r\n }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\ - \n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\ - \n }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['1029'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:05:16 GMT'] - etag: [W/"140939d5-2214-4159-ad2d-1ab5384e4c1c"] - 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] - status: {code: 200, message: OK} + body: + string: "{\r\n \"name\": \"PublicIPlb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\",\r\n + \ \"etag\": \"W/\\\"9514828d-f5f7-4940-a855-b745922d05cd\\\"\",\r\n \"location\": + \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": + \"Succeeded\",\r\n \"resourceGuid\": \"9a3904b0-b637-401d-ab08-2e63f034b288\",\r\n + \ \"ipAddress\": \"40.118.206.127\",\r\n \"publicIPAddressVersion\": + \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n + \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n + \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '1006' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:30:18 GMT + etag: + - W/"9514828d-f5f7-4940-a855-b745922d05cd" + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 6d194d3f-4d70-4534-9e5a-f0673a35996f + status: + code: 200 + message: OK - request: body: null headers: - Accept: ['*/*'] - Accept-Encoding: ['gzip, deflate'] - Connection: [keep-alive] - User-Agent: [python-requests/2.21.0] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - python-requests/2.22.0 method: GET - uri: http://13.91.41.126/ + uri: http://40.118.206.127/ response: - body: {string: "\n\n\nWelcome to nginx!\n\ - \n\n\ - \n

Welcome to nginx!

\n

If you see this page, the nginx web\ - \ server is successfully installed and\nworking. Further configuration is\ - \ required.

\n\n

For online documentation and support please refer to\n\ - nginx.org.
\nCommercial support is available\ - \ at\nnginx.com.

\n\n

Thank you\ - \ for using nginx.

\n\n\n"} - headers: - connection: [keep-alive] - content-length: ['612'] - content-type: [text/html] - date: ['Wed, 27 Feb 2019 19:05:32 GMT'] - etag: [W/"5c76dec0-264"] - last-modified: ['Wed, 27 Feb 2019 19:02:24 GMT'] - server: [nginx/1.14.0 (Ubuntu)] - transfer-encoding: [chunked] - status: {code: 200, message: OK} + body: + string: "\n\n\nWelcome to nginx!\n\n\n\n

Welcome + to nginx!

\n

If you see this page, the nginx web server is successfully + installed and\nworking. Further configuration is required.

\n\n

For online + documentation and support please refer to\nnginx.org.
\nCommercial + support is available at\nnginx.com.

\n\n

Thank + you for using nginx.

\n\n\n" + headers: + connection: + - keep-alive + content-length: + - '612' + content-type: + - text/html + date: + - Mon, 31 May 2021 08:30:33 GMT + etag: + - W/"60b49de2-264" + last-modified: + - Mon, 31 May 2021 08:27:14 GMT + server: + - nginx/1.14.0 (Ubuntu) + transfer-encoding: + - chunked + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss rolling-upgrade start] - Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss rolling-upgrade start + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/osRollingUpgrade?api-version=2017-12-01 response: - body: {string: ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b6b382c0-13f0-4919-b647-1f92ef02e8b0?api-version=2017-12-01'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 27 Feb 2019 19:05:32 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/b6b382c0-13f0-4919-b647-1f92ef02e8b0?monitor=true&api-version=2017-12-01'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/VMScaleSetActions3Min;239,Microsoft.Compute/VMScaleSetActions30Min;1198,Microsoft.Compute/VmssQueuedVMOperations;4800'] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - x-ms-request-charge: ['0'] - status: {code: 202, message: Accepted} + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/77b0e8b4-b567-4c6e-ba97-19056b910c1f?api-version=2017-12-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Mon, 31 May 2021 08:30:34 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/77b0e8b4-b567-4c6e-ba97-19056b910c1f?monitor=true&api-version=2017-12-01 + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/VMScaleSetActions3Min;238,Microsoft.Compute/VMScaleSetActions30Min;1196,Microsoft.Compute/VmssQueuedVMOperations;0 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-request-charge: + - '0' + status: + code: 202 + message: Accepted - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss rolling-upgrade start] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss rolling-upgrade start + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/b6b382c0-13f0-4919-b647-1f92ef02e8b0?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/77b0e8b4-b567-4c6e-ba97-19056b910c1f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:05:33.3000658+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"b6b382c0-13f0-4919-b647-1f92ef02e8b0\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:06:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29976'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:30:35.2988459+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"77b0e8b4-b567-4c6e-ba97-19056b910c1f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:31:05 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14982,Microsoft.Compute/GetOperation30Min;29949 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss rolling-upgrade start] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss rolling-upgrade start + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/b6b382c0-13f0-4919-b647-1f92ef02e8b0?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/77b0e8b4-b567-4c6e-ba97-19056b910c1f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:05:33.3000658+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"b6b382c0-13f0-4919-b647-1f92ef02e8b0\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:06:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29973'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:30:35.2988459+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"77b0e8b4-b567-4c6e-ba97-19056b910c1f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:31:35 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14978,Microsoft.Compute/GetOperation30Min;29943 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss rolling-upgrade start] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss rolling-upgrade start + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/b6b382c0-13f0-4919-b647-1f92ef02e8b0?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/77b0e8b4-b567-4c6e-ba97-19056b910c1f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:05:33.3000658+00:00\",\r\ - \n \"status\": \"InProgress\",\r\n \"name\": \"b6b382c0-13f0-4919-b647-1f92ef02e8b0\"\ - \r\n}"} - headers: - cache-control: [no-cache] - content-length: ['134'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:07:03 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14989,Microsoft.Compute/GetOperation30Min;29970'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:30:35.2988459+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"77b0e8b4-b567-4c6e-ba97-19056b910c1f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '134' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:32:06 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14979,Microsoft.Compute/GetOperation30Min;29940 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss rolling-upgrade start] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss rolling-upgrade start + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/b6b382c0-13f0-4919-b647-1f92ef02e8b0?api-version=2017-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/77b0e8b4-b567-4c6e-ba97-19056b910c1f?api-version=2017-12-01 response: - body: {string: "{\r\n \"startTime\": \"2019-02-27T19:07:34.0500549+00:00\",\r\ - \n \"endTime\": \"2019-02-27T19:07:34.0656716+00:00\",\r\n \"status\": \"\ - Succeeded\",\r\n \"name\": \"b6b382c0-13f0-4919-b647-1f92ef02e8b0\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['184'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:07:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetOperation3Min;14988,Microsoft.Compute/GetOperation30Min;29967'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"startTime\": \"2021-05-31T08:30:35.2988459+00:00\",\r\n \"endTime\": + \"2021-05-31T08:32:35.955118+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"77b0e8b4-b567-4c6e-ba97-19056b910c1f\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '183' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:32:36 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetOperation3Min;14977,Microsoft.Compute/GetOperation30Min;29936 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss rolling-upgrade get-latest] - Connection: [keep-alive] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss rolling-upgrade get-latest + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/rollingUpgrades/latest?api-version=2017-12-01 response: - body: {string: "{\r\n \"properties\": {\r\n \"policy\": {\r\n \"maxBatchInstancePercent\"\ - : 20,\r\n \"maxUnhealthyInstancePercent\": 20,\r\n \"maxUnhealthyUpgradedInstancePercent\"\ - : 20,\r\n \"pauseTimeBetweenBatches\": \"PT0S\"\r\n },\r\n \"runningStatus\"\ - : {\r\n \"lastAction\": \"Start\",\r\n \"lastActionTime\": \"2019-02-27T19:05:33.3625472+00:00\"\ - ,\r\n \"code\": \"Completed\",\r\n \"startTime\": \"2019-02-27T19:05:33.4250947+00:00\"\ - \r\n },\r\n \"progress\": {\r\n \"successfulInstanceCount\": 2,\r\ - \n \"failedInstanceCount\": 0,\r\n \"inProgressInstanceCount\":\ - \ 0,\r\n \"pendingInstanceCount\": 0\r\n }\r\n },\r\n \"type\":\ - \ \"Microsoft.Compute/virtualMachineScaleSets/rollingUpgrades\",\r\n \"location\"\ - : \"westus\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['695'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:07:33 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/GetVMScaleSet3Min;191,Microsoft.Compute/GetVMScaleSet30Min;1265'] - status: {code: 200, message: OK} + body: + string: "{\r\n \"type\": \"Microsoft.Compute/virtualMachineScaleSets/rollingUpgrades\",\r\n + \ \"location\": \"westus\",\r\n \"properties\": {\r\n \"policy\": {\r\n + \ \"maxBatchInstancePercent\": 20,\r\n \"maxUnhealthyInstancePercent\": + 20,\r\n \"maxUnhealthyUpgradedInstancePercent\": 20,\r\n \"pauseTimeBetweenBatches\": + \"PT0S\"\r\n },\r\n \"runningStatus\": {\r\n \"lastAction\": \"Start\",\r\n + \ \"lastActionTime\": \"2021-05-31T08:30:35.3613352+00:00\",\r\n \"code\": + \"Completed\",\r\n \"startTime\": \"2021-05-31T08:30:35.4082105+00:00\"\r\n + \ },\r\n \"progress\": {\r\n \"successfulInstanceCount\": 2,\r\n + \ \"failedInstanceCount\": 0,\r\n \"inProgressInstanceCount\": 0,\r\n + \ \"pendingInstanceCount\": 0\r\n }\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '695' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:32:37 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/GetVMScaleSet3Min;382,Microsoft.Compute/GetVMScaleSet30Min;2516 + status: + code: 200 + message: OK - request: body: null headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [vmss rolling-upgrade cancel] - Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [-g -n] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - computemanagementclient/4.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - vmss rolling-upgrade cancel + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n + User-Agent: + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/rollingUpgrades/cancel?api-version=2017-12-01 response: - body: {string: "{\r\n \"error\": {\r\n \"code\": \"OperationNotAllowed\",\r\ - \n \"message\": \"There is no ongoing Rolling Upgrade to cancel.\"\r\n\ - \ }\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['124'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 27 Feb 2019 19:07:34 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-resource: ['Microsoft.Compute/VMScaleSetActions3Min;238,Microsoft.Compute/VMScaleSetActions30Min;1197'] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] - status: {code: 409, message: Conflict} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [group delete] - Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/3.5.2 (Windows-10-10.0.17763-SP0) msrest/0.6.2 msrest_azure/0.4.34 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001?api-version=2018-05-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Wed, 27 Feb 2019 19:07:35 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGVk1TUzo1RlJPTExJTkc6NUZVUERBVEVHVkhNVTdQVUlNMnwzMzZGMDFFMTE0NEQ2NzBGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] - pragma: [no-cache] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] - status: {code: 202, message: Accepted} + body: + string: "{\r\n \"error\": {\r\n \"code\": \"OperationNotAllowed\",\r\n \"message\": + \"There is no ongoing Rolling Upgrade to cancel.\"\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '124' + content-type: + - application/json; charset=utf-8 + date: + - Mon, 31 May 2021 08:32:38 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-resource: + - Microsoft.Compute/VMScaleSetActions3Min;237,Microsoft.Compute/VMScaleSetActions30Min;1195 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 409 + message: Conflict version: 1 diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_create_none_options.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_create_none_options.yaml index c15caf2e75c..0e908d43739 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_create_none_options.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_create_none_options.yaml @@ -14,15 +14,12 @@ interactions: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-09-28T19:53:45Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001","name":"cli_test_vmss_create_none000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-31T08:21:08Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -31,7 +28,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:53:46 GMT + - Mon, 31 May 2021 08:22:08 GMT expires: - '-1' pragma: @@ -110,36 +107,35 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Mon, 28 Sep 2020 19:53:46 GMT + - Mon, 31 May 2021 08:22:09 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Mon, 28 Sep 2020 19:58:46 GMT + - Mon, 31 May 2021 08:27:09 GMT source-age: - - '127' + - '198' strict-transport-security: - max-age=31536000 vary: - Authorization,Accept-Encoding via: - - 1.1 varnish (Varnish/6.0) - 1.1 varnish x-cache: - - HFM, HIT + - HIT x-cache-hits: - - 0, 1 + - '1' x-content-type-options: - nosniff x-fastly-request-id: - - 6991e49e29562fa41f0a19b706ebb52391e9e4a2 + - ebdd177c2ae9eb6de655bb87a1ac13152dc791e9 x-frame-options: - deny x-github-request-id: - - FB54:3AAB:1FC91E:244180:5F722BE8 + - 7478:5C35:4E120:58E04:60B49108 x-served-by: - - cache-sea4467-SEA + - cache-hkg17924-HKG x-timer: - - S1601322827.995703,VS0,VE1 + - S1622449329.446868,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -160,10 +156,7 @@ interactions: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/11.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-11-01 response: @@ -177,7 +170,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:53:46 GMT + - Mon, 31 May 2021 08:22:09 GMT expires: - '-1' pragma: @@ -205,15 +198,15 @@ interactions: {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", "version": "latest"}}, "networkProfile": {"networkInterfaceConfigurations": - [{"name": "vmss1a33cNic", "properties": {"primary": "true", "ipConfigurations": - [{"name": "vmss1a33cIPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}}]}}]}, - "osProfile": {"computerNamePrefix": "vmss1a33c", "adminUsername": "ubuntu", + [{"name": "vmss1b896Nic", "properties": {"primary": "true", "ipConfigurations": + [{"name": "vmss1b896IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}}}]}}]}, + "osProfile": {"computerNamePrefix": "vmss1b896", "adminUsername": "ubuntu", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/ubuntu/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}}}}, "singlePlacementGroup": null}}], "outputs": {"VMSS": {"type": "object", "value": "[reference(resourceId(''Microsoft.Compute/virtualMachineScaleSets'', ''vmss1''),providers(''Microsoft.Compute'', ''virtualMachineScaleSets'').apiVersions[0])]"}}}, - "parameters": {}, "mode": "Incremental"}}' + "parameters": {}, "mode": "incremental"}}' headers: Accept: - application/json @@ -226,31 +219,28 @@ interactions: Content-Length: - '2747' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_OybWFeQUvHSBkUZFKzU0BmxB3gtBROgS","name":"vmss_deploy_OybWFeQUvHSBkUZFKzU0BmxB3gtBROgS","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11591316336609544032","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-09-28T19:53:49.1008739Z","duration":"PT0.9186615S","correlationId":"0a7e4f7b-9d57-4616-b6b9-1345b114fa24","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_8ubkStuM6LpI0oBX4B4fc8BFm8gaq7jP","name":"vmss_deploy_8ubkStuM6LpI0oBX4B4fc8BFm8gaq7jP","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9633652690235702732","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-31T08:22:15.565182Z","duration":"PT1.9478535S","correlationId":"951fa19e-5e33-4ba7-a1d3-a2500b735446","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/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_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_OybWFeQUvHSBkUZFKzU0BmxB3gtBROgS/operationStatuses/08586002840572954069?api-version=2019-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_8ubkStuM6LpI0oBX4B4fc8BFm8gaq7jP/operationStatuses/08585791575518602928?api-version=2019-10-01 cache-control: - no-cache content-length: - - '1427' + - '1425' content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:53:48 GMT + - Mon, 31 May 2021 08:22:17 GMT expires: - '-1' pragma: @@ -260,7 +250,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -268,7 +258,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -279,10 +269,9 @@ interactions: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586002840572954069?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791575518602928?api-version=2019-10-01 response: body: string: '{"status":"Running"}' @@ -294,7 +283,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:54:18 GMT + - Mon, 31 May 2021 08:22:49 GMT expires: - '-1' pragma: @@ -312,7 +301,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -323,10 +312,9 @@ interactions: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586002840572954069?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791575518602928?api-version=2019-10-01 response: body: string: '{"status":"Running"}' @@ -338,7 +326,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:54:49 GMT + - Mon, 31 May 2021 08:23:20 GMT expires: - '-1' pragma: @@ -356,7 +344,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -367,10 +355,9 @@ interactions: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586002840572954069?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791575518602928?api-version=2019-10-01 response: body: string: '{"status":"Running"}' @@ -382,7 +369,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:55:19 GMT + - Mon, 31 May 2021 08:23:50 GMT expires: - '-1' pragma: @@ -400,7 +387,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -411,10 +398,9 @@ interactions: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08586002840572954069?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791575518602928?api-version=2019-10-01 response: body: string: '{"status":"Succeeded"}' @@ -426,7 +412,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:55:50 GMT + - Mon, 31 May 2021 08:24:20 GMT expires: - '-1' pragma: @@ -444,7 +430,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -455,24 +441,23 @@ interactions: - -n -g --image --load-balancer --admin-username --ssh-key-value --public-ip-address --tags --vm-sku User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.2.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_OybWFeQUvHSBkUZFKzU0BmxB3gtBROgS","name":"vmss_deploy_OybWFeQUvHSBkUZFKzU0BmxB3gtBROgS","type":"Microsoft.Resources/deployments","properties":{"templateHash":"11591316336609544032","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-09-28T19:55:48.840994Z","duration":"PT2M0.6587816S","correlationId":"0a7e4f7b-9d57-4616-b6b9-1345b114fa24","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1a33c","adminUsername":"ubuntu","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/ubuntu/.ssh/authorized_keys","keyData":"ssh-rsa + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Resources/deployments/vmss_deploy_8ubkStuM6LpI0oBX4B4fc8BFm8gaq7jP","name":"vmss_deploy_8ubkStuM6LpI0oBX4B4fc8BFm8gaq7jP","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9633652690235702732","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-31T08:23:57.235639Z","duration":"PT1M43.6183105S","correlationId":"951fa19e-5e33-4ba7-a1d3-a2500b735446","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1b896","adminUsername":"ubuntu","linuxConfiguration":{"disablePasswordAuthentication":true,"ssh":{"publicKeys":[{"path":"/home/ubuntu/.ssh/authorized_keys","keyData":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== - test@example.com\n"}]},"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Standard_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss1a33cNic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss1a33cIPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4"}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"0ab6a428-d9ec-401a-a7be-46782cd55a25"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + test@example.com\n"}]},"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"osType":"Linux","createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Standard_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Debian","offer":"debian-10","sku":"10","version":"latest"}},"networkProfile":{"networkInterfaceConfigurations":[{"name":"vmss1b896Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss1b896IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4"}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"ff6841d4-b3cb-4cb5-90e8-80f6c34235a4"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3983' + - '4000' content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:55:50 GMT + - Mon, 31 May 2021 08:24:21 GMT expires: - '-1' pragma: @@ -500,10 +485,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -514,7 +496,7 @@ interactions: \ \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss1a33c\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss1b896\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": @@ -523,24 +505,25 @@ interactions: \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n - \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": - {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n - \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a33cNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1a33cIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": + 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b896Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b896IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"0ab6a428-d9ec-401a-a7be-46782cd55a25\"\r\n }\r\n}" + \"ff6841d4-b3cb-4cb5-90e8-80f6c34235a4\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3023' + - '3053' content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:55:50 GMT + - Mon, 31 May 2021 08:24:23 GMT expires: - '-1' pragma: @@ -557,7 +540,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;188,Microsoft.Compute/GetVMScaleSet30Min;1233 + - Microsoft.Compute/GetVMScaleSet3Min;389,Microsoft.Compute/GetVMScaleSet30Min;2530 status: code: 200 message: OK @@ -575,10 +558,7 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -589,7 +569,7 @@ interactions: \ \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss1a33c\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss1b896\",\r\n \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \ \"path\": \"/home/ubuntu/.ssh/authorized_keys\",\r\n \"keyData\": @@ -598,24 +578,25 @@ interactions: \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n - \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": - {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n - \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a33cNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1a33cIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": + 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b896Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b896IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"0ab6a428-d9ec-401a-a7be-46782cd55a25\"\r\n }\r\n}" + \"ff6841d4-b3cb-4cb5-90e8-80f6c34235a4\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3023' + - '3053' content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:55:52 GMT + - Mon, 31 May 2021 08:24:23 GMT expires: - '-1' pragma: @@ -632,25 +613,24 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;187,Microsoft.Compute/GetVMScaleSet30Min;1232 + - Microsoft.Compute/GetVMScaleSet3Min;388,Microsoft.Compute/GetVMScaleSet30Min;2529 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {"test": "success"}, "sku": {"name": "Basic_A1", "tier": "Basic", "capacity": 2}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1a33c", "adminUsername": + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1b896", "adminUsername": "ubuntu", "linuxConfiguration": {"disablePasswordAuthentication": true, "ssh": {"publicKeys": [{"path": "/home/ubuntu/.ssh/authorized_keys", "keyData": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCbIg1guRHbI0lV11wWDt1r2cUdcNd27CJsg+SfgC7miZeubtwUhbsPdhMQsfDyhOWHq1+ZL0M+nJZV63d/1dhmhtgyOqejUwrPlzKhydsbrsdUor+JmNJDdW01v7BXHyuymT8G4s09jCasNOwiufbP/qp72ruu0bIA1nySsvlf9pCQAuFkAnVnf/rFhUlOkhtRpwcq8SUNY2zRHR/EKb/4NWY1JzR4sa3q2fWIJdrrX0DvLoa5g9bIEd4Df79ba7v+yiUBOS0zT2ll+z4g9izHK3EO5d8hL4jYxcjKs+wcslSYRWrascfscLgMlMGh0CdKeNTDjHpGPncaf3Z+FwwwjWeuiNBxv7bJo13/8B/098KlVDl4GZqsoBCEjPyJfV6hO0y/LkRGkk7oHWKgeWAfKtfLItRp00eZ4fcJNK9kCaSMmEugoZWcI7NGbZXzqFWqbpRI7NcDP9+WIQ+i9U5vqWsqd/zng4kbuAJ6UuKqIzB0upYrLShfQE3SAck8oaLhJqqq56VfDuASNpJKidV+zq27HfSBmbXnkR/5AK337dc3MXKJypoK/QPMLKUAP5XLPbs+NddJQV7EZXd29DLgp+fRIg3edpKdO7ZErWhv7d+3Kws+e1Y+ypmR2WIVSwVyBEUfgv2C8Ts9gnTF4pNcEY/S2aBicz5Ew2+jdyGNQQ== test@example.com\n"}]}, "provisionVMAgent": true}, "secrets": []}, "storageProfile": - {"imageReference": {"publisher": "Debian", "offer": "debian-10", "sku": "10", - "version": "latest"}, "osDisk": {"caching": "ReadWrite", "createOption": "FromImage", - "diskSizeGB": 30, "managedDisk": {"storageAccountType": "Standard_LRS"}}}, "networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss1a33cNic", "properties": {"primary": - true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, - "ipConfigurations": [{"name": "vmss1a33cIPConfig", "properties": {"subnet": - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, + {"osDisk": {"caching": "ReadWrite", "createOption": "FromImage", "diskSizeGB": + 30, "osType": "Linux", "managedDisk": {"storageAccountType": "Standard_LRS"}}}, + "networkProfile": {"networkInterfaceConfigurations": [{"name": "vmss1b896Nic", + "properties": {"primary": true, "enableAcceleratedNetworking": false, "dnsSettings": + {"dnsServers": []}, "ipConfigurations": [{"name": "vmss1b896IPConfig", "properties": + {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4"}}], "enableIPForwarding": false}}]}}, "overprovision": true, "doNotRunExtensionsOnOverprovisionedVMs": false, "singlePlacementGroup": true}}' @@ -664,16 +644,13 @@ interactions: Connection: - keep-alive Content-Length: - - '2121' + - '2041' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --set User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -684,7 +661,7 @@ interactions: {\r\n \"name\": \"Basic_A1\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \ \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": - {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1a33c\",\r\n + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1b896\",\r\n \ \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": @@ -694,28 +671,29 @@ interactions: \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n - \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": - {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n - \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a33cNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1a33cIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": + 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b896Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b896IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Updating\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"0ab6a428-d9ec-401a-a7be-46782cd55a25\"\r\n }\r\n}" + \"ff6841d4-b3cb-4cb5-90e8-80f6c34235a4\"\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/ca43de90-9c19-4657-b2fa-134030581250?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f8352e1e-bc9c-417f-af25-2194b85a6a69?api-version=2020-06-01 cache-control: - no-cache content-length: - - '3049' + - '3079' content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:55:52 GMT + - Mon, 31 May 2021 08:24:29 GMT expires: - '-1' pragma: @@ -732,9 +710,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;58,Microsoft.Compute/CreateVMScaleSet30Min;290,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;58,Microsoft.Compute/CreateVMScaleSet30Min;291,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1198' x-ms-request-charge: - '0' status: @@ -744,58 +722,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss update - Connection: - - keep-alive - ParameterSetName: - - -g -n --set - User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/ca43de90-9c19-4657-b2fa-134030581250?api-version=2020-06-01 - response: - body: - string: "{\r\n \"startTime\": \"2020-09-28T19:55:52.7892649+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"ca43de90-9c19-4657-b2fa-134030581250\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Mon, 28 Sep 2020 19:56:03 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-HTTPAPI/2.0 - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14993,Microsoft.Compute/GetOperation30Min;29919 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -805,15 +732,14 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/ca43de90-9c19-4657-b2fa-134030581250?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/f8352e1e-bc9c-417f-af25-2194b85a6a69?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-09-28T19:55:52.7892649+00:00\",\r\n \"endTime\": - \"2020-09-28T19:56:33.3362533+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"ca43de90-9c19-4657-b2fa-134030581250\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:24:26.5007438+00:00\",\r\n \"endTime\": + \"2021-05-31T08:24:26.7351229+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"f8352e1e-bc9c-417f-af25-2194b85a6a69\"\r\n}" headers: cache-control: - no-cache @@ -822,7 +748,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:56:40 GMT + - Mon, 31 May 2021 08:24:39 GMT expires: - '-1' pragma: @@ -839,7 +765,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14991,Microsoft.Compute/GetOperation30Min;29916 + - Microsoft.Compute/GetOperation3Min;14995,Microsoft.Compute/GetOperation30Min;29965 status: code: 200 message: OK @@ -847,7 +773,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -857,8 +783,7 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-compute/13.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -869,7 +794,7 @@ interactions: {\r\n \"name\": \"Basic_A1\",\r\n \"tier\": \"Basic\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \ \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": - {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1a33c\",\r\n + {\r\n \"osProfile\": {\r\n \"computerNamePrefix\": \"vmss1b896\",\r\n \ \"adminUsername\": \"ubuntu\",\r\n \"linuxConfiguration\": {\r\n \"disablePasswordAuthentication\": true,\r\n \"ssh\": {\r\n \"publicKeys\": [\r\n {\r\n \"path\": @@ -879,24 +804,25 @@ interactions: \ \"provisionVMAgent\": true\r\n },\r\n \"secrets\": [],\r\n \"allowExtensionOperations\": true,\r\n \"requireGuestProvisionSignal\": true\r\n },\r\n \"storageProfile\": {\r\n \"osDisk\": {\r\n - \ \"createOption\": \"FromImage\",\r\n \"caching\": \"ReadWrite\",\r\n - \ \"managedDisk\": {\r\n \"storageAccountType\": \"Standard_LRS\"\r\n - \ },\r\n \"diskSizeGB\": 30\r\n },\r\n \"imageReference\": - {\r\n \"publisher\": \"Debian\",\r\n \"offer\": \"debian-10\",\r\n - \ \"sku\": \"10\",\r\n \"version\": \"latest\"\r\n }\r\n - \ },\r\n \"networkProfile\": {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1a33cNic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1a33cIPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n + \ \"osType\": \"Linux\",\r\n \"createOption\": \"FromImage\",\r\n + \ \"caching\": \"ReadWrite\",\r\n \"managedDisk\": {\r\n + \ \"storageAccountType\": \"Standard_LRS\"\r\n },\r\n \"diskSizeGB\": + 30\r\n },\r\n \"imageReference\": {\r\n \"publisher\": + \"Debian\",\r\n \"offer\": \"debian-10\",\r\n \"sku\": \"10\",\r\n + \ \"version\": \"latest\"\r\n }\r\n },\r\n \"networkProfile\": + {\"networkInterfaceConfigurations\":[{\"name\":\"vmss1b896Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1b896IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\"}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"0ab6a428-d9ec-401a-a7be-46782cd55a25\"\r\n }\r\n}" + \"ff6841d4-b3cb-4cb5-90e8-80f6c34235a4\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3050' + - '3080' content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:56:40 GMT + - Mon, 31 May 2021 08:24:39 GMT expires: - '-1' pragma: @@ -913,7 +839,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;186,Microsoft.Compute/GetVMScaleSet30Min;1227 + - Microsoft.Compute/GetVMScaleSet3Min;390,Microsoft.Compute/GetVMScaleSet30Min;2527 status: code: 200 message: OK @@ -931,10 +857,7 @@ interactions: ParameterSetName: - -n -g User-Agent: - - python/3.8.5 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/11.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_create_none000001/providers/Microsoft.Network/publicIPAddresses/vmss1PublicIP?api-version=2018-11-01 response: @@ -950,7 +873,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Mon, 28 Sep 2020 19:56:40 GMT + - Mon, 31 May 2021 08:24:40 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_rolling_upgrade.yaml b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_rolling_upgrade.yaml index 1bbcb4ee447..27012ca6101 100644 --- a/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_rolling_upgrade.yaml +++ b/src/azure-cli/azure/cli/command_modules/vm/tests/hybrid_2020_09_01/recordings/test_vmss_rolling_upgrade.yaml @@ -13,15 +13,12 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-12-08T07:08:58Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-31T08:24:49Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -30,7 +27,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:09:00 GMT + - Mon, 31 May 2021 08:25:50 GMT expires: - '-1' pragma: @@ -58,10 +55,7 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resources?$filter=resourceGroup%20eq%20%27cli_test_vmss_rolling_update000001%27%20and%20name%20eq%20%27None%27%20and%20resourceType%20eq%20%27Microsoft.Network%2FpublicIPAddresses%27&api-version=2019-10-01 response: @@ -75,7 +69,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:09:01 GMT + - Mon, 31 May 2021 08:25:50 GMT expires: - '-1' pragma: @@ -100,7 +94,7 @@ interactions: "properties": {"backendAddressPools": [{"name": "lb1bepool"}], "frontendIPConfigurations": [{"name": "LoadBalancerFrontEnd", "properties": {"publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}}}]}, "sku": {"name": "Basic"}}], "outputs": {"loadBalancer": {"type": "object", "value": - "[reference(''lb1'')]"}}}, "parameters": {}, "mode": "Incremental"}}' + "[reference(''lb1'')]"}}}, "parameters": {}, "mode": "incremental"}}' headers: Accept: - application/json @@ -113,30 +107,27 @@ interactions: Content-Length: - '1145' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_KvjzO4qmw4rfYyxhY5xiN9qKJm54eh0u","name":"lb_deploy_KvjzO4qmw4rfYyxhY5xiN9qKJm54eh0u","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9611158604261143005","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-12-08T07:09:06.0281165Z","duration":"PT2.3102734S","correlationId":"f46d4a43-3d0c-45ab-a9f8-c58ba0614f46","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_lJhoo2K3pY0qx3Epbv6bqmySAQ2fYW1e","name":"lb_deploy_lJhoo2K3pY0qx3Epbv6bqmySAQ2fYW1e","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15329105108612659264","parameters":{},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-31T08:25:55.6673358Z","duration":"PT2.1562523S","correlationId":"333df6e5-cb94-40cb-a05e-689436722714","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}]}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_KvjzO4qmw4rfYyxhY5xiN9qKJm54eh0u/operationStatuses/08585941955417597772?api-version=2019-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_lJhoo2K3pY0qx3Epbv6bqmySAQ2fYW1e/operationStatuses/08585791573319665380?api-version=2019-10-01 cache-control: - no-cache content-length: - - '1346' + - '1347' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:09:07 GMT + - Mon, 31 May 2021 08:25:56 GMT expires: - '-1' pragma: @@ -146,7 +137,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1198' status: code: 201 message: Created @@ -154,7 +145,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -164,10 +155,9 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585941955417597772?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791573319665380?api-version=2019-10-01 response: body: string: '{"status":"Succeeded"}' @@ -179,7 +169,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:09:38 GMT + - Mon, 31 May 2021 08:26:27 GMT expires: - '-1' pragma: @@ -197,7 +187,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -207,22 +197,21 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_KvjzO4qmw4rfYyxhY5xiN9qKJm54eh0u","name":"lb_deploy_KvjzO4qmw4rfYyxhY5xiN9qKJm54eh0u","type":"Microsoft.Resources/deployments","properties":{"templateHash":"9611158604261143005","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-12-08T07:09:34.8285055Z","duration":"PT31.1106624S","correlationId":"f46d4a43-3d0c-45ab-a9f8-c58ba0614f46","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}],"outputs":{"loadBalancer":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"97bcfa1d-6d66-45c2-acc3-a3a80b52f460","frontendIPConfigurations":[{"name":"LoadBalancerFrontEnd","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd","etag":"W/\"5eef5158-574b-4892-8753-45616445d3d7\"","type":"Microsoft.Network/loadBalancers/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}}}],"backendAddressPools":[{"name":"lb1bepool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool","etag":"W/\"5eef5158-574b-4892-8753-45616445d3d7\"","properties":{"provisioningState":"Succeeded"},"type":"Microsoft.Network/loadBalancers/backendAddressPools"}],"loadBalancingRules":[],"probes":[],"inboundNatRules":[],"inboundNatPools":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/lb_deploy_lJhoo2K3pY0qx3Epbv6bqmySAQ2fYW1e","name":"lb_deploy_lJhoo2K3pY0qx3Epbv6bqmySAQ2fYW1e","type":"Microsoft.Resources/deployments","properties":{"templateHash":"15329105108612659264","parameters":{},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-31T08:26:12.0004051Z","duration":"PT18.4893216S","correlationId":"333df6e5-cb94-40cb-a05e-689436722714","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"publicIPAddresses","locations":["westus"]},{"resourceType":"loadBalancers","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1","resourceType":"Microsoft.Network/publicIPAddresses","resourceName":"PublicIPlb1"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1","resourceType":"Microsoft.Network/loadBalancers","resourceName":"lb1"}],"outputs":{"loadBalancer":{"type":"Object","value":{"provisioningState":"Succeeded","resourceGuid":"8efa4466-e37b-4663-8176-c6092c93ae18","frontendIPConfigurations":[{"name":"LoadBalancerFrontEnd","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd","etag":"W/\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\"","type":"Microsoft.Network/loadBalancers/frontendIPConfigurations","properties":{"provisioningState":"Succeeded","privateIPAllocationMethod":"Dynamic","publicIPAddress":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}}}],"backendAddressPools":[{"name":"lb1bepool","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool","etag":"W/\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\"","properties":{"provisioningState":"Succeeded"},"type":"Microsoft.Network/loadBalancers/backendAddressPools"}],"loadBalancingRules":[],"probes":[],"inboundNatRules":[],"inboundNatPools":[]}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}]}}' headers: cache-control: - no-cache content-length: - - '3160' + - '3161' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:09:38 GMT + - Mon, 31 May 2021 08:26:27 GMT expires: - '-1' pragma: @@ -250,29 +239,26 @@ interactions: ParameterSetName: - -g --lb-name -n --protocol --port --path User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"5eef5158-574b-4892-8753-45616445d3d7\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"5eef5158-574b-4892-8753-45616445d3d7\\\"\",\r\n + \ \"etag\": \"W/\\\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"5eef5158-574b-4892-8753-45616445d3d7\\\"\",\r\n + \ \"etag\": \"W/\\\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [],\r\n @@ -286,9 +272,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:09:39 GMT + - Mon, 31 May 2021 08:26:28 GMT etag: - - W/"5eef5158-574b-4892-8753-45616445d3d7" + - W/"a9a0e535-ad9c-4208-a663-793ae05b4cfd" expires: - '-1' pragma: @@ -305,23 +291,23 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4ef455bb-c987-4b90-ba1a-64807a73516f + - 55bed1b1-8a3f-479d-aebd-50e300b5e757 status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1", - "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "properties": {"frontendIPConfigurations": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "etag": "W/\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\"", + "properties": {"frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "name": "LoadBalancerFrontEnd", "etag": "W/\"5eef5158-574b-4892-8753-45616445d3d7\""}], - "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", - "properties": {"provisioningState": "Succeeded"}, "name": "lb1bepool", "etag": - "W/\"5eef5158-574b-4892-8753-45616445d3d7\""}], "loadBalancingRules": [], "probes": - [{"properties": {"protocol": "Http", "port": 80, "requestPath": "/"}, "name": - "probe1"}], "inboundNatRules": [], "inboundNatPools": [], "resourceGuid": "97bcfa1d-6d66-45c2-acc3-a3a80b52f460", - "provisioningState": "Succeeded"}, "etag": "W/\"5eef5158-574b-4892-8753-45616445d3d7\""}' + "provisioningState": "Succeeded"}}], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"a9a0e535-ad9c-4208-a663-793ae05b4cfd\"", "properties": + {"provisioningState": "Succeeded"}}], "loadBalancingRules": [], "probes": [{"name": + "probe1", "properties": {"protocol": "Http", "port": 80, "requestPath": "/"}}], + "inboundNatRules": [], "inboundNatPools": [], "resourceGuid": "8efa4466-e37b-4663-8176-c6092c93ae18", + "provisioningState": "Succeeded"}}' headers: Accept: - application/json @@ -334,38 +320,35 @@ interactions: Content-Length: - '1653' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --lb-name -n --protocol --port --path User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [\r\n \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -374,7 +357,7 @@ interactions: []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e1819b74-d8f1-4a5e-bbac-d994b19e7c09?api-version=2018-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3d428952-ef9a-41dc-ae6f-7b9a2040a203?api-version=2018-11-01 cache-control: - no-cache content-length: @@ -382,7 +365,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:09:39 GMT + - Mon, 31 May 2021 08:26:31 GMT expires: - '-1' pragma: @@ -399,9 +382,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c939aaf8-0765-47a0-9019-dc106f95716f + - 64a865ce-ab41-4eba-92bd-3d86b823ece8 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1199' status: code: 200 message: OK @@ -409,7 +392,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -419,10 +402,9 @@ interactions: ParameterSetName: - -g --lb-name -n --protocol --port --path User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/e1819b74-d8f1-4a5e-bbac-d994b19e7c09?api-version=2018-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/3d428952-ef9a-41dc-ae6f-7b9a2040a203?api-version=2018-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -434,7 +416,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:10 GMT + - Mon, 31 May 2021 08:27:01 GMT expires: - '-1' pragma: @@ -451,7 +433,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 531411ec-2e68-417b-a3e7-ec50ced606e7 + - 8eaedec3-b43d-4c32-9fbe-4a345dcb3b02 status: code: 200 message: OK @@ -459,7 +441,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -469,32 +451,31 @@ interactions: ParameterSetName: - -g --lb-name -n --protocol --port --path User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [\r\n \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -509,9 +490,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:11 GMT + - Mon, 31 May 2021 08:27:02 GMT etag: - - W/"8161a1b5-6c74-407d-bee6-c08ff518a772" + - W/"31e61c01-4712-464a-8240-8779552946f5" expires: - '-1' pragma: @@ -528,7 +509,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 712cd65d-8488-4609-859b-c3bf45aab366 + - 0a9b4d51-2ff0-41cb-b480-3f4769a6a668 status: code: 200 message: OK @@ -546,34 +527,31 @@ interactions: ParameterSetName: - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n \ },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [],\r\n \"probes\": [\r\n \ {\r\n \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"8161a1b5-6c74-407d-bee6-c08ff518a772\\\"\",\r\n + \ \"etag\": \"W/\\\"31e61c01-4712-464a-8240-8779552946f5\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -588,9 +566,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:12 GMT + - Mon, 31 May 2021 08:27:03 GMT etag: - - W/"8161a1b5-6c74-407d-bee6-c08ff518a772" + - W/"31e61c01-4712-464a-8240-8779552946f5" expires: - '-1' pragma: @@ -607,37 +585,37 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ab60de6b-5a06-435a-a5be-8a4afb24de40 + - 18653535-a3d6-448e-ba72-cace87f637e1 status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1", - "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "properties": {"frontendIPConfigurations": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "etag": "W/\"31e61c01-4712-464a-8240-8779552946f5\"", + "properties": {"frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"31e61c01-4712-464a-8240-8779552946f5\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "name": "LoadBalancerFrontEnd", "etag": "W/\"8161a1b5-6c74-407d-bee6-c08ff518a772\""}], - "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", - "properties": {"provisioningState": "Succeeded"}, "name": "lb1bepool", "etag": - "W/\"8161a1b5-6c74-407d-bee6-c08ff518a772\""}], "loadBalancingRules": [{"properties": - {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "provisioningState": "Succeeded"}}], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"31e61c01-4712-464a-8240-8779552946f5\"", "properties": + {"provisioningState": "Succeeded"}}], "loadBalancingRules": [{"name": "rule1", + "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"31e61c01-4712-464a-8240-8779552946f5\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "name": "LoadBalancerFrontEnd", "etag": "W/\"8161a1b5-6c74-407d-bee6-c08ff518a772\""}, - "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", - "properties": {"provisioningState": "Succeeded"}, "name": "lb1bepool", "etag": - "W/\"8161a1b5-6c74-407d-bee6-c08ff518a772\""}, "probe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", - "properties": {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": - 2, "requestPath": "/", "provisioningState": "Succeeded"}, "name": "probe1", - "etag": "W/\"8161a1b5-6c74-407d-bee6-c08ff518a772\""}, "protocol": "Tcp", "loadDistribution": - "default", "frontendPort": 80, "backendPort": 80}, "name": "rule1"}], "probes": + "provisioningState": "Succeeded"}}, "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"31e61c01-4712-464a-8240-8779552946f5\"", "properties": + {"provisioningState": "Succeeded"}}, "probe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", + "name": "probe1", "etag": "W/\"31e61c01-4712-464a-8240-8779552946f5\"", "properties": + {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": + 2, "requestPath": "/", "provisioningState": "Succeeded"}}, "protocol": "Tcp", + "loadDistribution": "default", "frontendPort": 80, "backendPort": 80}}], "probes": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", - "properties": {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": - 2, "requestPath": "/", "provisioningState": "Succeeded"}, "name": "probe1", - "etag": "W/\"8161a1b5-6c74-407d-bee6-c08ff518a772\""}], "inboundNatRules": [], - "inboundNatPools": [], "resourceGuid": "97bcfa1d-6d66-45c2-acc3-a3a80b52f460", - "provisioningState": "Succeeded"}, "etag": "W/\"8161a1b5-6c74-407d-bee6-c08ff518a772\""}' + "name": "probe1", "etag": "W/\"31e61c01-4712-464a-8240-8779552946f5\"", "properties": + {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": + 2, "requestPath": "/", "provisioningState": "Succeeded"}}], "inboundNatRules": + [], "inboundNatPools": [], "resourceGuid": "8efa4466-e37b-4663-8176-c6092c93ae18", + "provisioningState": "Succeeded"}}' headers: Accept: - application/json @@ -650,26 +628,23 @@ interactions: Content-Length: - '3621' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -678,14 +653,14 @@ interactions: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -698,7 +673,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -709,7 +684,7 @@ interactions: []\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f5bed3cd-97d2-407c-a829-7833dca1dd5f?api-version=2018-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8b445c6a-6dc6-4299-b205-779c267b5137?api-version=2018-11-01 cache-control: - no-cache content-length: @@ -717,7 +692,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:13 GMT + - Mon, 31 May 2021 08:27:06 GMT expires: - '-1' pragma: @@ -734,7 +709,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b4bbb9b4-8506-47be-8097-b85c786d7cf8 + - 4799bbfc-0a75-4d80-85ba-137bd739b520 x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -744,7 +719,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -754,10 +729,9 @@ interactions: ParameterSetName: - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f5bed3cd-97d2-407c-a829-7833dca1dd5f?api-version=2018-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/8b445c6a-6dc6-4299-b205-779c267b5137?api-version=2018-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -769,7 +743,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:43 GMT + - Mon, 31 May 2021 08:27:37 GMT expires: - '-1' pragma: @@ -786,7 +760,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 7e2668cf-13c8-4fd8-a714-d397089052ce + - e671c6a6-9b15-43df-bf09-8965f2a783a5 status: code: 200 message: OK @@ -794,7 +768,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -804,20 +778,19 @@ interactions: ParameterSetName: - -g --lb-name -n --protocol --frontend-port --backend-port --probe-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -826,14 +799,14 @@ interactions: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -846,7 +819,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -863,9 +836,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:44 GMT + - Mon, 31 May 2021 08:27:37 GMT etag: - - W/"342dfa81-a6c6-476c-951e-df657f97e025" + - W/"07651862-5421-4cf4-9b1d-51774db940cc" expires: - '-1' pragma: @@ -882,7 +855,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2a605975-fd9a-4122-b9db-c1d165cc49df + - b23e5111-3e64-49a0-9c11-a45bcb39a353 status: code: 200 message: OK @@ -901,22 +874,19 @@ interactions: - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end --protocol --frontend-ip-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -925,14 +895,14 @@ interactions: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -945,7 +915,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"342dfa81-a6c6-476c-951e-df657f97e025\\\"\",\r\n + \ \"etag\": \"W/\\\"07651862-5421-4cf4-9b1d-51774db940cc\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -962,9 +932,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:44 GMT + - Mon, 31 May 2021 08:27:38 GMT etag: - - W/"342dfa81-a6c6-476c-951e-df657f97e025" + - W/"07651862-5421-4cf4-9b1d-51774db940cc" expires: - '-1' pragma: @@ -981,38 +951,38 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a5861fe4-7ca1-4098-889b-8802873af065 + - 346d31a3-7212-4330-82bd-dfbe87e56bca status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1", - "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "properties": {"frontendIPConfigurations": - [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "location": "westus", "tags": {}, "sku": {"name": "Basic"}, "etag": "W/\"07651862-5421-4cf4-9b1d-51774db940cc\"", + "properties": {"frontendIPConfigurations": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"07651862-5421-4cf4-9b1d-51774db940cc\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "name": "LoadBalancerFrontEnd", "etag": "W/\"342dfa81-a6c6-476c-951e-df657f97e025\""}], - "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", - "properties": {"provisioningState": "Succeeded"}, "name": "lb1bepool", "etag": - "W/\"342dfa81-a6c6-476c-951e-df657f97e025\""}], "loadBalancingRules": [{"id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", - "properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}, + "provisioningState": "Succeeded"}}], "backendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool", + "name": "lb1bepool", "etag": "W/\"07651862-5421-4cf4-9b1d-51774db940cc\"", "properties": + {"provisioningState": "Succeeded"}}], "loadBalancingRules": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "name": "rule1", "etag": "W/\"07651862-5421-4cf4-9b1d-51774db940cc\"", "properties": + {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd"}, "backendAddressPool": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}, "probe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, "protocol": "Tcp", "loadDistribution": "Default", "frontendPort": 80, "backendPort": 80, "idleTimeoutInMinutes": 4, "enableFloatingIP": false, "enableTcpReset": - false, "provisioningState": "Succeeded"}, "name": "rule1", "etag": "W/\"342dfa81-a6c6-476c-951e-df657f97e025\""}], - "probes": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", - "properties": {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": - 2, "requestPath": "/", "provisioningState": "Succeeded"}, "name": "probe1", - "etag": "W/\"342dfa81-a6c6-476c-951e-df657f97e025\""}], "inboundNatRules": [], - "inboundNatPools": [{"properties": {"frontendIPConfiguration": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + false, "provisioningState": "Succeeded"}}], "probes": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1", + "name": "probe1", "etag": "W/\"07651862-5421-4cf4-9b1d-51774db940cc\"", "properties": + {"protocol": "Http", "port": 80, "intervalInSeconds": 15, "numberOfProbes": + 2, "requestPath": "/", "provisioningState": "Succeeded"}}], "inboundNatRules": + [], "inboundNatPools": [{"name": "nat-pool1", "properties": {"frontendIPConfiguration": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd", + "name": "LoadBalancerFrontEnd", "etag": "W/\"07651862-5421-4cf4-9b1d-51774db940cc\"", "properties": {"privateIPAllocationMethod": "Dynamic", "publicIPAddress": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1"}, - "provisioningState": "Succeeded"}, "name": "LoadBalancerFrontEnd", "etag": "W/\"342dfa81-a6c6-476c-951e-df657f97e025\""}, - "protocol": "Tcp", "frontendPortRangeStart": 50000, "frontendPortRangeEnd": - 50119, "backendPort": 22}, "name": "nat-pool1"}], "resourceGuid": "97bcfa1d-6d66-45c2-acc3-a3a80b52f460", - "provisioningState": "Succeeded"}, "etag": "W/\"342dfa81-a6c6-476c-951e-df657f97e025\""}' + "provisioningState": "Succeeded"}}, "protocol": "Tcp", "frontendPortRangeStart": + 50000, "frontendPortRangeEnd": 50119, "backendPort": 22}}], "resourceGuid": + "8efa4466-e37b-4663-8176-c6092c93ae18", "provisioningState": "Succeeded"}}' headers: Accept: - application/json @@ -1025,27 +995,24 @@ interactions: Content-Length: - '4078' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end --protocol --frontend-ip-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1056,14 +1023,14 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -1076,7 +1043,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -1085,7 +1052,7 @@ interactions: \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n @@ -1097,7 +1064,7 @@ interactions: \ }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4cd2fb47-6ded-462d-b4f8-fe6dfaa768a3?api-version=2018-11-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/54429150-e5ea-4e97-a5be-3d7426f00dc8?api-version=2018-11-01 cache-control: - no-cache content-length: @@ -1105,7 +1072,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:10:45 GMT + - Mon, 31 May 2021 08:27:41 GMT expires: - '-1' pragma: @@ -1122,7 +1089,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ec1beaeb-c64a-4f29-bf14-fed58b91674e + - 2c5e50d4-0448-40e6-9a40-83153469594e x-ms-ratelimit-remaining-subscription-writes: - '1197' status: @@ -1132,7 +1099,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1143,10 +1110,9 @@ interactions: - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end --protocol --frontend-ip-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/4cd2fb47-6ded-462d-b4f8-fe6dfaa768a3?api-version=2018-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/54429150-e5ea-4e97-a5be-3d7426f00dc8?api-version=2018-11-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1158,7 +1124,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:16 GMT + - Mon, 31 May 2021 08:28:11 GMT expires: - '-1' pragma: @@ -1175,7 +1141,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2903e242-5f7c-44d0-bacc-296b6ef10f1a + - b61e9dad-9ea1-47f0-bd14-36ff383c36ac status: code: 200 message: OK @@ -1183,7 +1149,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1194,20 +1160,19 @@ interactions: - -g --lb-name -n --backend-port --frontend-port-range-start --frontend-port-range-end --protocol --frontend-ip-name User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1218,14 +1183,14 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -1238,7 +1203,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -1247,7 +1212,7 @@ interactions: \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n @@ -1265,9 +1230,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:16 GMT + - Mon, 31 May 2021 08:28:11 GMT etag: - - W/"f906050d-21f2-407d-a7da-004a5e744b0d" + - W/"4288d62f-efd7-4875-9ca1-e6070a1dd06f" expires: - '-1' pragma: @@ -1284,7 +1249,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f8a1746-b8b1-49c4-8e33-659f3cf7f5ed + - 355a32f9-9658-4ea6-bdb8-51157773bc41 status: code: 200 message: OK @@ -1302,15 +1267,12 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-12-08T07:08:58Z"},"properties":{"provisioningState":"Succeeded"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001","name":"cli_test_vmss_rolling_update000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2021-05-31T08:24:49Z"},"properties":{"provisioningState":"Succeeded"}}' headers: cache-control: - no-cache @@ -1319,7 +1281,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:17 GMT + - Mon, 31 May 2021 08:28:12 GMT expires: - '-1' pragma: @@ -1398,35 +1360,35 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:17 GMT + - Mon, 31 May 2021 08:28:13 GMT etag: - W/"540044b4084c3c314537f1baa1770f248628b2bc9ba0328f1004c33862e049da" expires: - - Tue, 08 Dec 2020 07:16:17 GMT + - Mon, 31 May 2021 08:33:13 GMT source-age: - - '8' + - '172' strict-transport-security: - max-age=31536000 vary: - Authorization,Accept-Encoding via: - - 1.1 varnish (Varnish/6.0), 1.1 varnish + - 1.1 varnish x-cache: - - HIT, HIT + - HIT x-cache-hits: - - 1, 1 + - '2' x-content-type-options: - nosniff x-fastly-request-id: - - d0062e44df91731eb9b58271cdb4284cc8a5e9e6 + - 64847514a94c1aadbebaaf70dc3fe7d3302b6d88 x-frame-options: - deny x-github-request-id: - - 4050:92E2:3C75FA:46F464:5FCF2713 + - 7478:5C35:4E120:58E04:60B49108 x-served-by: - - cache-sin18026-SIN + - cache-hkg17925-HKG x-timer: - - S1607411478.878512,VS0,VE1 + - S1622449694.527480,VS0,VE0 x-xss-protection: - 1; mode=block status: @@ -1446,10 +1408,7 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks?api-version=2018-11-01 response: @@ -1463,7 +1422,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:17 GMT + - Mon, 31 May 2021 08:28:13 GMT expires: - '-1' pragma: @@ -1491,22 +1450,19 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1517,14 +1473,14 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -1537,7 +1493,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -1546,7 +1502,7 @@ interactions: \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n @@ -1564,9 +1520,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:18 GMT + - Mon, 31 May 2021 08:28:14 GMT etag: - - W/"f906050d-21f2-407d-a7da-004a5e744b0d" + - W/"4288d62f-efd7-4875-9ca1-e6070a1dd06f" expires: - '-1' pragma: @@ -1583,7 +1539,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - be95f2cf-4337-4832-9ea6-80ed4c072680 + - 0646ef85-953e-4a8d-bf6e-0402526bb3de status: code: 200 message: OK @@ -1601,22 +1557,19 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -1627,14 +1580,14 @@ interactions: \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -1647,7 +1600,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -1656,7 +1609,7 @@ interactions: \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n \ }\r\n ],\r\n \"inboundNatRules\": [],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n - \ \"etag\": \"W/\\\"f906050d-21f2-407d-a7da-004a5e744b0d\\\"\",\r\n + \ \"etag\": \"W/\\\"4288d62f-efd7-4875-9ca1-e6070a1dd06f\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n @@ -1674,9 +1627,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:19 GMT + - Mon, 31 May 2021 08:28:15 GMT etag: - - W/"f906050d-21f2-407d-a7da-004a5e744b0d" + - W/"4288d62f-efd7-4875-9ca1-e6070a1dd06f" expires: - '-1' pragma: @@ -1693,7 +1646,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c09a168d-6d69-4a83-9435-615759adb69a + - 8746cd7f-b975-4ab1-9bfb-b75030e7ef29 status: code: 200 message: OK @@ -1712,17 +1665,17 @@ interactions: {"osDisk": {"createOption": "FromImage", "caching": "ReadWrite", "managedDisk": {"storageAccountType": null}}, "imageReference": {"publisher": "Canonical", "offer": "UbuntuServer", "sku": "18.04-LTS", "version": "latest"}}, "networkProfile": - {"networkInterfaceConfigurations": [{"name": "vmss10d20Nic", "properties": {"primary": - "true", "ipConfigurations": [{"name": "vmss10d20IPConfig", "properties": {"subnet": + {"networkInterfaceConfigurations": [{"name": "vmss1c208Nic", "properties": {"primary": + "true", "ipConfigurations": [{"name": "vmss1c208IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], "loadBalancerInboundNatPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}], "healthProbe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}}, - "osProfile": {"computerNamePrefix": "vmss10d20", "adminUsername": "clitester1", + "osProfile": {"computerNamePrefix": "vmss1c208", "adminUsername": "clitester1", "adminPassword": "[parameters(''adminPassword'')]"}}, "singlePlacementGroup": null}}], "outputs": {"VMSS": {"type": "object", "value": "[reference(resourceId(''Microsoft.Compute/virtualMachineScaleSets'', ''vmss1''),providers(''Microsoft.Compute'', ''virtualMachineScaleSets'').apiVersions[0])]"}}}, - "parameters": {"adminPassword": {"value": "Testqwer1234!"}}, "mode": "Incremental"}}' + "parameters": {"adminPassword": {"value": "Testqwer1234!"}}, "mode": "incremental"}}' headers: Accept: - application/json @@ -1735,30 +1688,27 @@ interactions: Content-Length: - '2820' Content-Type: - - application/json; charset=utf-8 + - application/json ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_S8Q6GlDXk4rzXKkE2x8XudsDYasEVLmo","name":"vmss_deploy_S8Q6GlDXk4rzXKkE2x8XudsDYasEVLmo","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17937527654439244511","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2020-12-08T07:11:23.9944578Z","duration":"PT2.540471S","correlationId":"467e6c87-b46f-496e-a78a-0724506e81fe","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_qVUPCQrzkeAKvAl4Zq0YoD6b5j9t5S3z","name":"vmss_deploy_qVUPCQrzkeAKvAl4Zq0YoD6b5j9t5S3z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14986442428794084133","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Accepted","timestamp":"2021-05-31T08:28:20.7666933Z","duration":"PT2.6766584S","correlationId":"9668ede8-ecfd-45a1-9171-4fc988794972","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/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_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_S8Q6GlDXk4rzXKkE2x8XudsDYasEVLmo/operationStatuses/08585941954040236355?api-version=2019-10-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_qVUPCQrzkeAKvAl4Zq0YoD6b5j9t5S3z/operationStatuses/08585791571873875957?api-version=2019-10-01 cache-control: - no-cache content-length: - - '1465' + - '1466' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:11:25 GMT + - Mon, 31 May 2021 08:28:22 GMT expires: - '-1' pragma: @@ -1768,7 +1718,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1199' status: code: 201 message: Created @@ -1776,93 +1726,7 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --admin-password --lb --health-probe - User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585941954040236355?api-version=2019-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 08 Dec 2020 07:11:57 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss create - Connection: - - keep-alive - ParameterSetName: - - -g -n --image --admin-username --admin-password --lb --health-probe - User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585941954040236355?api-version=2019-10-01 - response: - body: - string: '{"status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '20' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 08 Dec 2020 07:12:27 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: @@ -1872,10 +1736,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585941954040236355?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791571873875957?api-version=2019-10-01 response: body: string: '{"status":"Running"}' @@ -1887,7 +1750,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:12:58 GMT + - Mon, 31 May 2021 08:28:53 GMT expires: - '-1' pragma: @@ -1905,7 +1768,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1915,10 +1778,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585941954040236355?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791571873875957?api-version=2019-10-01 response: body: string: '{"status":"Running"}' @@ -1930,7 +1792,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:13:28 GMT + - Mon, 31 May 2021 08:29:24 GMT expires: - '-1' pragma: @@ -1948,7 +1810,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -1958,10 +1820,9 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585941954040236355?api-version=2019-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment/operationStatuses/08585791571873875957?api-version=2019-10-01 response: body: string: '{"status":"Succeeded"}' @@ -1973,7 +1834,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:13:59 GMT + - Mon, 31 May 2021 08:29:54 GMT expires: - '-1' pragma: @@ -1991,7 +1852,7 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: @@ -2001,22 +1862,21 @@ interactions: ParameterSetName: - -g -n --image --admin-username --admin-password --lb --health-probe User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-resource/10.3.0 Azure-SDK-For-Python AZURECLI/2.16.0 + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-resource/18.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/mock-deployment?api-version=2019-10-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_S8Q6GlDXk4rzXKkE2x8XudsDYasEVLmo","name":"vmss_deploy_S8Q6GlDXk4rzXKkE2x8XudsDYasEVLmo","type":"Microsoft.Resources/deployments","properties":{"templateHash":"17937527654439244511","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2020-12-08T07:13:48.6791014Z","duration":"PT2M27.2251146S","correlationId":"467e6c87-b46f-496e-a78a-0724506e81fe","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss10d20","adminUsername":"clitester1","linuxConfiguration":{"disablePasswordAuthentication":false,"provisionVMAgent":true},"secrets":[],"allowExtensionOperations":true,"requireGuestProvisionSignal":true},"storageProfile":{"osDisk":{"createOption":"FromImage","caching":"ReadWrite","managedDisk":{"storageAccountType":"Premium_LRS"},"diskSizeGB":30},"imageReference":{"publisher":"Canonical","offer":"UbuntuServer","sku":"18.04-LTS","version":"latest"}},"networkProfile":{"healthProbe":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"},"networkInterfaceConfigurations":[{"name":"vmss10d20Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss10d20IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Resources/deployments/vmss_deploy_qVUPCQrzkeAKvAl4Zq0YoD6b5j9t5S3z","name":"vmss_deploy_qVUPCQrzkeAKvAl4Zq0YoD6b5j9t5S3z","type":"Microsoft.Resources/deployments","properties":{"templateHash":"14986442428794084133","parameters":{"adminPassword":{"type":"SecureString"}},"mode":"Incremental","provisioningState":"Succeeded","timestamp":"2021-05-31T08:29:26.7635662Z","duration":"PT1M8.6735313S","correlationId":"9668ede8-ecfd-45a1-9171-4fc988794972","providers":[{"namespace":"Microsoft.Network","resourceTypes":[{"resourceType":"virtualNetworks","locations":["westus"]}]},{"namespace":"Microsoft.Compute","resourceTypes":[{"resourceType":"virtualMachineScaleSets","locations":["westus"]}]}],"dependencies":[{"dependsOn":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET","resourceType":"Microsoft.Network/virtualNetworks","resourceName":"vmss1VNET"}],"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1","resourceType":"Microsoft.Compute/virtualMachineScaleSets","resourceName":"vmss1"}],"outputs":{"vmss":{"type":"Object","value":{"singlePlacementGroup":true,"upgradePolicy":{"mode":"Manual"},"virtualMachineProfile":{"osProfile":{"computerNamePrefix":"vmss1c208","adminUsername":"clitester1","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":{"healthProbe":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"},"networkInterfaceConfigurations":[{"name":"vmss1c208Nic","properties":{"primary":true,"enableAcceleratedNetworking":false,"dnsSettings":{"dnsServers":[]},"enableIPForwarding":false,"ipConfigurations":[{"name":"vmss1c208IPConfig","properties":{"subnet":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"},"privateIPAddressVersion":"IPv4","loadBalancerBackendAddressPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}],"loadBalancerInboundNatPools":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1"}]}}]}}]}},"provisioningState":"Succeeded","overprovision":true,"doNotRunExtensionsOnOverprovisionedVMs":false,"uniqueId":"0902c8df-6fb3-4c43-bf56-32185be2b32a"}}},"outputResources":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET"}]}}' headers: cache-control: - no-cache content-length: - - '3963' + - '3979' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:14:00 GMT + - Mon, 31 May 2021 08:29:55 GMT expires: - '-1' pragma: @@ -2044,7 +1904,7 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --settings --version User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -2055,29 +1915,30 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss10d20\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss1c208\",\r\n \"adminUsername\": \"clitester1\",\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 - \ \"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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss10d20Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10d20IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]}\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss1c208Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1c208IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]}\r\n \ },\r\n \"provisioningState\": \"Succeeded\",\r\n \"overprovision\": true,\r\n \"doNotRunExtensionsOnOverprovisionedVMs\": false,\r\n \"uniqueId\": - \"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c\"\r\n }\r\n}" + \"0902c8df-6fb3-4c43-bf56-32185be2b32a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2848' + - '2878' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:14:01 GMT + - Mon, 31 May 2021 08:29:56 GMT expires: - '-1' pragma: @@ -2094,21 +1955,22 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;378,Microsoft.Compute/GetVMScaleSet30Min;2557 + - Microsoft.Compute/GetVMScaleSet3Min;382,Microsoft.Compute/GetVMScaleSet30Min;2532 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": "Manual"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss10d20", "adminUsername": + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1c208", "adminUsername": "clitester1", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": - "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "managedDisk": {"storageAccountType": - "Premium_LRS"}}}, "networkProfile": {"healthProbe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, - "networkInterfaceConfigurations": [{"name": "vmss10d20Nic", "properties": {"primary": + "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", + "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"healthProbe": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, + "networkInterfaceConfigurations": [{"name": "vmss1c208Nic", "properties": {"primary": true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, - "ipConfigurations": [{"name": "vmss10d20IPConfig", "properties": {"subnet": + "ipConfigurations": [{"name": "vmss1c208IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], @@ -2129,13 +1991,13 @@ interactions: Connection: - keep-alive Content-Length: - - '2243' + - '2262' Content-Type: - application/json ParameterSetName: - -g --vmss-name -n --publisher --settings --version User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -2146,17 +2008,18 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss10d20\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss1c208\",\r\n \"adminUsername\": \"clitester1\",\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 - \ \"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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss10d20Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10d20IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss1c208Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1c208IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"customScript\",\r\n \"properties\": {\r\n \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": @@ -2165,20 +2028,20 @@ interactions: {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\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\": \"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"0902c8df-6fb3-4c43-bf56-32185be2b32a\"\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/7d6b840c-95ed-439e-ba3b-b8af20dba675?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/955e1b7e-e684-4a64-b55d-7250b2a4d87b?api-version=2020-06-01 cache-control: - no-cache content-length: - - '3321' + - '3351' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:14:04 GMT + - Mon, 31 May 2021 08:30:00 GMT expires: - '-1' pragma: @@ -2195,9 +2058,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;56,Microsoft.Compute/CreateVMScaleSet30Min;293,Microsoft.Compute/VmssQueuedVMOperations;4800 + - Microsoft.Compute/CreateVMScaleSet3Min;56,Microsoft.Compute/CreateVMScaleSet30Min;287,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1197' x-ms-request-charge: - '0' status: @@ -2217,64 +2080,14 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --settings --version User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.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/7d6b840c-95ed-439e-ba3b-b8af20dba675?api-version=2020-06-01 - response: - body: - string: "{\r\n \"startTime\": \"2020-12-08T07:14:02.5316805+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7d6b840c-95ed-439e-ba3b-b8af20dba675\"\r\n}" - headers: - cache-control: - - no-cache - content-length: - - '134' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 08 Dec 2020 07:14:15 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;14937,Microsoft.Compute/GetOperation30Min;29840 - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - vmss extension set - Connection: - - keep-alive - ParameterSetName: - - -g --vmss-name -n --publisher --settings --version - User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/7d6b840c-95ed-439e-ba3b-b8af20dba675?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/955e1b7e-e684-4a64-b55d-7250b2a4d87b?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:14:02.5316805+00:00\",\r\n \"endTime\": - \"2020-12-08T07:14:50.7213204+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"7d6b840c-95ed-439e-ba3b-b8af20dba675\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:29:58.2832062+00:00\",\r\n \"endTime\": + \"2021-05-31T08:29:58.4706877+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"955e1b7e-e684-4a64-b55d-7250b2a4d87b\"\r\n}" headers: cache-control: - no-cache @@ -2283,7 +2096,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:14:52 GMT + - Mon, 31 May 2021 08:30:11 GMT expires: - '-1' pragma: @@ -2300,7 +2113,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14928,Microsoft.Compute/GetOperation30Min;29823 + - Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29957 status: code: 200 message: OK @@ -2318,7 +2131,7 @@ interactions: ParameterSetName: - -g --vmss-name -n --publisher --settings --version User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -2329,17 +2142,18 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss10d20\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss1c208\",\r\n \"adminUsername\": \"clitester1\",\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 - \ \"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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss10d20Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10d20IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss1c208Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1c208IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"customScript\",\r\n \"properties\": {\r\n \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": @@ -2348,16 +2162,16 @@ interactions: {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\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\": \"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"0902c8df-6fb3-4c43-bf56-32185be2b32a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3322' + - '3352' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:14:53 GMT + - Mon, 31 May 2021 08:30:11 GMT expires: - '-1' pragma: @@ -2374,7 +2188,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;368,Microsoft.Compute/GetVMScaleSet30Min;2539 + - Microsoft.Compute/GetVMScaleSet3Min;385,Microsoft.Compute/GetVMScaleSet30Min;2530 status: code: 200 message: OK @@ -2396,7 +2210,7 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/manualupgrade?api-version=2020-06-01 response: @@ -2404,17 +2218,17 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7106635c-6b44-41bd-8fd3-16e3d2123526?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a1933fe5-2ee7-4939-bf80-8e7d50fda28d?api-version=2020-06-01 cache-control: - no-cache content-length: - '0' date: - - Tue, 08 Dec 2020 07:14:55 GMT + - Mon, 31 May 2021 08:30:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/7106635c-6b44-41bd-8fd3-16e3d2123526?monitor=true&api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a1933fe5-2ee7-4939-bf80-8e7d50fda28d?monitor=true&api-version=2020-06-01 pragma: - no-cache server: @@ -2425,7 +2239,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/VMScaleSetActions3Min;237,Microsoft.Compute/VMScaleSetActions30Min;1195,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1175,Microsoft.Compute/VmssQueuedVMOperations;4798 + - Microsoft.Compute/VMScaleSetActions3Min;238,Microsoft.Compute/VMScaleSetActions30Min;1197,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1183,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - '1199' x-ms-request-charge: @@ -2447,13 +2261,13 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/7106635c-6b44-41bd-8fd3-16e3d2123526?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a1933fe5-2ee7-4939-bf80-8e7d50fda28d?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:14:55.6121784+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"7106635c-6b44-41bd-8fd3-16e3d2123526\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:30:14.2831911+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"a1933fe5-2ee7-4939-bf80-8e7d50fda28d\"\r\n}" headers: cache-control: - no-cache @@ -2462,7 +2276,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:15:25 GMT + - Mon, 31 May 2021 08:30:45 GMT expires: - '-1' pragma: @@ -2479,7 +2293,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14923,Microsoft.Compute/GetOperation30Min;29809 + - Microsoft.Compute/GetOperation3Min;14983,Microsoft.Compute/GetOperation30Min;29953 status: code: 200 message: OK @@ -2497,14 +2311,14 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/7106635c-6b44-41bd-8fd3-16e3d2123526?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a1933fe5-2ee7-4939-bf80-8e7d50fda28d?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:14:55.6121784+00:00\",\r\n \"endTime\": - \"2020-12-08T07:15:40.0983739+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"7106635c-6b44-41bd-8fd3-16e3d2123526\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:30:14.2831911+00:00\",\r\n \"endTime\": + \"2021-05-31T08:30:49.0644755+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"a1933fe5-2ee7-4939-bf80-8e7d50fda28d\"\r\n}" headers: cache-control: - no-cache @@ -2513,7 +2327,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:15:55 GMT + - Mon, 31 May 2021 08:31:15 GMT expires: - '-1' pragma: @@ -2530,7 +2344,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14924,Microsoft.Compute/GetOperation30Min;29799 + - Microsoft.Compute/GetOperation3Min;14980,Microsoft.Compute/GetOperation30Min;29947 status: code: 200 message: OK @@ -2548,9 +2362,9 @@ interactions: ParameterSetName: - -g -n --instance-ids User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/7106635c-6b44-41bd-8fd3-16e3d2123526?monitor=true&api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/a1933fe5-2ee7-4939-bf80-8e7d50fda28d?monitor=true&api-version=2020-06-01 response: body: string: '' @@ -2560,7 +2374,7 @@ interactions: content-length: - '0' date: - - Tue, 08 Dec 2020 07:15:55 GMT + - Mon, 31 May 2021 08:31:16 GMT expires: - '-1' pragma: @@ -2573,7 +2387,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14923,Microsoft.Compute/GetOperation30Min;29798 + - Microsoft.Compute/GetOperation3Min;14979,Microsoft.Compute/GetOperation30Min;29946 status: code: 200 message: OK @@ -2591,7 +2405,7 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -2602,17 +2416,18 @@ interactions: \ \"tier\": \"Standard\",\r\n \"capacity\": 2\r\n },\r\n \"properties\": {\r\n \"singlePlacementGroup\": true,\r\n \"upgradePolicy\": {\r\n \"mode\": \"Manual\"\r\n },\r\n \"virtualMachineProfile\": {\r\n \"osProfile\": - {\r\n \"computerNamePrefix\": \"vmss10d20\",\r\n \"adminUsername\": + {\r\n \"computerNamePrefix\": \"vmss1c208\",\r\n \"adminUsername\": \"clitester1\",\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 - \ \"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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss10d20Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10d20IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss1c208Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1c208IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"customScript\",\r\n \"properties\": {\r\n \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": @@ -2621,16 +2436,16 @@ interactions: {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\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\": \"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"0902c8df-6fb3-4c43-bf56-32185be2b32a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3322' + - '3352' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:15:57 GMT + - Mon, 31 May 2021 08:31:17 GMT expires: - '-1' pragma: @@ -2647,21 +2462,22 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;363,Microsoft.Compute/GetVMScaleSet30Min;2530 + - Microsoft.Compute/GetVMScaleSet3Min;379,Microsoft.Compute/GetVMScaleSet30Min;2522 status: code: 200 message: OK - request: body: '{"location": "westus", "tags": {}, "sku": {"name": "Standard_DS1_v2", "tier": "Standard", "capacity": 2}, "properties": {"upgradePolicy": {"mode": "rolling"}, - "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss10d20", "adminUsername": + "virtualMachineProfile": {"osProfile": {"computerNamePrefix": "vmss1c208", "adminUsername": "clitester1", "linuxConfiguration": {"disablePasswordAuthentication": false, "provisionVMAgent": true}, "secrets": []}, "storageProfile": {"osDisk": {"caching": - "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "managedDisk": {"storageAccountType": - "Premium_LRS"}}}, "networkProfile": {"healthProbe": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, - "networkInterfaceConfigurations": [{"name": "vmss10d20Nic", "properties": {"primary": + "ReadWrite", "createOption": "FromImage", "diskSizeGB": 30, "osType": "Linux", + "managedDisk": {"storageAccountType": "Premium_LRS"}}}, "networkProfile": {"healthProbe": + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1"}, + "networkInterfaceConfigurations": [{"name": "vmss1c208Nic", "properties": {"primary": true, "enableAcceleratedNetworking": false, "dnsSettings": {"dnsServers": []}, - "ipConfigurations": [{"name": "vmss10d20IPConfig", "properties": {"subnet": + "ipConfigurations": [{"name": "vmss1c208IPConfig", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet"}, "privateIPAddressVersion": "IPv4", "loadBalancerBackendAddressPools": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool"}], @@ -2682,13 +2498,13 @@ interactions: Connection: - keep-alive Content-Length: - - '2244' + - '2263' Content-Type: - application/json ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -2702,17 +2518,17 @@ interactions: 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\": - \"vmss10d20\",\r\n \"adminUsername\": \"clitester1\",\r\n \"linuxConfiguration\": + \"vmss1c208\",\r\n \"adminUsername\": \"clitester1\",\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 \"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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss10d20Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10d20IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + {\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss1c208Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1c208IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"customScript\",\r\n \"properties\": {\r\n \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": @@ -2721,20 +2537,20 @@ interactions: {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\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\": \"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"0902c8df-6fb3-4c43-bf56-32185be2b32a\"\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/715724ad-296b-4e63-910d-c5d8b7744211?api-version=2020-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/07f3cd12-cd56-42f2-9436-62b8b7a2c338?api-version=2020-06-01 cache-control: - no-cache content-length: - - '3544' + - '3574' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:16:02 GMT + - Mon, 31 May 2021 08:31:21 GMT expires: - '-1' pragma: @@ -2751,9 +2567,9 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/CreateVMScaleSet3Min;56,Microsoft.Compute/CreateVMScaleSet30Min;290,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1174,Microsoft.Compute/VmssQueuedVMOperations;4799 + - Microsoft.Compute/CreateVMScaleSet3Min;57,Microsoft.Compute/CreateVMScaleSet30Min;286,Microsoft.Compute/VMScaleSetBatchedVMRequests5Min;1188,Microsoft.Compute/VmssQueuedVMOperations;0 x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1196' x-ms-request-charge: - '1' status: @@ -2773,13 +2589,13 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/715724ad-296b-4e63-910d-c5d8b7744211?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/07f3cd12-cd56-42f2-9436-62b8b7a2c338?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:15:59.7710364+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"715724ad-296b-4e63-910d-c5d8b7744211\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:31:19.6426011+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"07f3cd12-cd56-42f2-9436-62b8b7a2c338\"\r\n}" headers: cache-control: - no-cache @@ -2788,7 +2604,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:16:12 GMT + - Mon, 31 May 2021 08:31:32 GMT expires: - '-1' pragma: @@ -2805,7 +2621,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14934,Microsoft.Compute/GetOperation30Min;29796 + - Microsoft.Compute/GetOperation3Min;14979,Microsoft.Compute/GetOperation30Min;29944 status: code: 200 message: OK @@ -2823,13 +2639,13 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/715724ad-296b-4e63-910d-c5d8b7744211?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/07f3cd12-cd56-42f2-9436-62b8b7a2c338?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:15:59.7710364+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"715724ad-296b-4e63-910d-c5d8b7744211\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:31:19.6426011+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"07f3cd12-cd56-42f2-9436-62b8b7a2c338\"\r\n}" headers: cache-control: - no-cache @@ -2838,7 +2654,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:16:50 GMT + - Mon, 31 May 2021 08:32:10 GMT expires: - '-1' pragma: @@ -2855,7 +2671,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14941,Microsoft.Compute/GetOperation30Min;29791 + - Microsoft.Compute/GetOperation3Min;14978,Microsoft.Compute/GetOperation30Min;29939 status: code: 200 message: OK @@ -2873,13 +2689,13 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/715724ad-296b-4e63-910d-c5d8b7744211?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/07f3cd12-cd56-42f2-9436-62b8b7a2c338?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:15:59.7710364+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"715724ad-296b-4e63-910d-c5d8b7744211\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:31:19.6426011+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"07f3cd12-cd56-42f2-9436-62b8b7a2c338\"\r\n}" headers: cache-control: - no-cache @@ -2888,7 +2704,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:17:20 GMT + - Mon, 31 May 2021 08:32:40 GMT expires: - '-1' pragma: @@ -2905,7 +2721,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14952,Microsoft.Compute/GetOperation30Min;29787 + - Microsoft.Compute/GetOperation3Min;14976,Microsoft.Compute/GetOperation30Min;29935 status: code: 200 message: OK @@ -2923,13 +2739,13 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/715724ad-296b-4e63-910d-c5d8b7744211?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/07f3cd12-cd56-42f2-9436-62b8b7a2c338?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:15:59.7710364+00:00\",\r\n \"status\": - \"InProgress\",\r\n \"name\": \"715724ad-296b-4e63-910d-c5d8b7744211\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:31:19.6426011+00:00\",\r\n \"status\": + \"InProgress\",\r\n \"name\": \"07f3cd12-cd56-42f2-9436-62b8b7a2c338\"\r\n}" headers: cache-control: - no-cache @@ -2938,7 +2754,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:17:50 GMT + - Mon, 31 May 2021 08:33:11 GMT expires: - '-1' pragma: @@ -2955,7 +2771,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14966,Microsoft.Compute/GetOperation30Min;29785 + - Microsoft.Compute/GetOperation3Min;14977,Microsoft.Compute/GetOperation30Min;29933 status: code: 200 message: OK @@ -2973,14 +2789,14 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (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/715724ad-296b-4e63-910d-c5d8b7744211?api-version=2020-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westus/operations/07f3cd12-cd56-42f2-9436-62b8b7a2c338?api-version=2020-06-01 response: body: - string: "{\r\n \"startTime\": \"2020-12-08T07:15:59.7710364+00:00\",\r\n \"endTime\": - \"2020-12-08T07:18:00.5413532+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"name\": \"715724ad-296b-4e63-910d-c5d8b7744211\"\r\n}" + string: "{\r\n \"startTime\": \"2021-05-31T08:31:19.6426011+00:00\",\r\n \"endTime\": + \"2021-05-31T08:33:20.2520698+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"name\": \"07f3cd12-cd56-42f2-9436-62b8b7a2c338\"\r\n}" headers: cache-control: - no-cache @@ -2989,7 +2805,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:18:20 GMT + - Mon, 31 May 2021 08:33:41 GMT expires: - '-1' pragma: @@ -3006,7 +2822,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;14975,Microsoft.Compute/GetOperation30Min;29783 + - Microsoft.Compute/GetOperation3Min;14978,Microsoft.Compute/GetOperation30Min;29929 status: code: 200 message: OK @@ -3024,7 +2840,7 @@ interactions: ParameterSetName: - -g -n --set User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -3038,17 +2854,17 @@ interactions: 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\": - \"vmss10d20\",\r\n \"adminUsername\": \"clitester1\",\r\n \"linuxConfiguration\": + \"vmss1c208\",\r\n \"adminUsername\": \"clitester1\",\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 \"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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss10d20Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10d20IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + {\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss1c208Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1c208IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"customScript\",\r\n \"properties\": {\r\n \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": @@ -3057,16 +2873,16 @@ interactions: {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\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\": \"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"0902c8df-6fb3-4c43-bf56-32185be2b32a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3545' + - '3575' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:18:20 GMT + - Mon, 31 May 2021 08:33:41 GMT expires: - '-1' pragma: @@ -3083,7 +2899,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;387,Microsoft.Compute/GetVMScaleSet30Min;2519 + - Microsoft.Compute/GetVMScaleSet3Min;384,Microsoft.Compute/GetVMScaleSet30Min;2509 status: code: 200 message: OK @@ -3101,7 +2917,7 @@ interactions: ParameterSetName: - -g -n -o User-Agent: - - AZURECLI/2.16.0 azsdk-python-azure-mgmt-compute/18.0.0 Python/3.7.4 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-compute/20.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1?api-version=2020-06-01 response: @@ -3115,17 +2931,17 @@ interactions: 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\": - \"vmss10d20\",\r\n \"adminUsername\": \"clitester1\",\r\n \"linuxConfiguration\": + \"vmss1c208\",\r\n \"adminUsername\": \"clitester1\",\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 \"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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss10d20Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss10d20IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n + {\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\": {\"healthProbe\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"},\"networkInterfaceConfigurations\":[{\"name\":\"vmss1c208Nic\",\"properties\":{\"primary\":true,\"enableAcceleratedNetworking\":false,\"dnsSettings\":{\"dnsServers\":[]},\"enableIPForwarding\":false,\"ipConfigurations\":[{\"name\":\"vmss1c208IPConfig\",\"properties\":{\"subnet\":{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/virtualNetworks/vmss1VNET/subnets/vmss1Subnet\"},\"privateIPAddressVersion\":\"IPv4\",\"loadBalancerBackendAddressPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\"}],\"loadBalancerInboundNatPools\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"}]}}]}}]},\r\n \ \"extensionProfile\": {\r\n \"extensions\": [\r\n {\r\n \ \"name\": \"customScript\",\r\n \"properties\": {\r\n \ \"autoUpgradeMinorVersion\": true,\r\n \"publisher\": @@ -3134,16 +2950,16 @@ interactions: {\"commandToExecute\":\"sudo apt-get update && sudo apt-get install -y nginx\"}\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\": \"ac79fbf1-cebe-428f-8303-e3a4dcc3af5c\"\r\n }\r\n}" + false,\r\n \"uniqueId\": \"0902c8df-6fb3-4c43-bf56-32185be2b32a\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '3545' + - '3575' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:18:21 GMT + - Mon, 31 May 2021 08:33:42 GMT expires: - '-1' pragma: @@ -3160,7 +2976,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetVMScaleSet3Min;386,Microsoft.Compute/GetVMScaleSet30Min;2518 + - Microsoft.Compute/GetVMScaleSet3Min;383,Microsoft.Compute/GetVMScaleSet30Min;2508 status: code: 200 message: OK @@ -3178,22 +2994,19 @@ interactions: ParameterSetName: - -g -n -o User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"lb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \"type\": \"Microsoft.Network/loadBalancers\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"97bcfa1d-6d66-45c2-acc3-a3a80b52f460\",\r\n \"frontendIPConfigurations\": + \ \"resourceGuid\": \"8efa4466-e37b-4663-8176-c6092c93ae18\",\r\n \"frontendIPConfigurations\": [\r\n {\r\n \"name\": \"LoadBalancerFrontEnd\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/frontendIPConfigurations\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": @@ -3201,23 +3014,23 @@ interactions: \ },\r\n \"loadBalancingRules\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.2\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.3\"\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.0\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.1\"\r\n \ }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\"\r\n \ }\r\n ]\r\n }\r\n }\r\n ],\r\n \"backendAddressPools\": [\r\n {\r\n \"name\": \"lb1bepool\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/lb1bepool\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"backendIPConfigurations\": [\r\n {\r\n \"id\": - \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/vmss10d20Nic/ipConfigurations/vmss10d20IPConfig\"\r\n - \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/vmss10d20Nic/ipConfigurations/vmss10d20IPConfig\"\r\n + \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1c208Nic/ipConfigurations/vmss1c208IPConfig\"\r\n + \ },\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1c208Nic/ipConfigurations/vmss1c208IPConfig\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/backendAddressPools\"\r\n \ }\r\n ],\r\n \"loadBalancingRules\": [\r\n {\r\n \"name\": \"rule1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/loadBalancingRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n @@ -3230,7 +3043,7 @@ interactions: \ },\r\n \"probe\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"probes\": [\r\n {\r\n \ \"name\": \"probe1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"protocol\": \"Http\",\r\n \"port\": 80,\r\n \"requestPath\": \"/\",\r\n \"intervalInSeconds\": 15,\r\n \"numberOfProbes\": @@ -3238,30 +3051,30 @@ interactions: \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1\"\r\n \ }\r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/loadBalancers/probes\"\r\n \ }\r\n ],\r\n \"inboundNatRules\": [\r\n {\r\n \"name\": - \"nat-pool1.2\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.2\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n + \"nat-pool1.0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.0\",\r\n + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n - \ },\r\n \"frontendPort\": 50002,\r\n \"backendPort\": + \ },\r\n \"frontendPort\": 50000,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": - false,\r\n \"backendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/vmss10d20Nic/ipConfigurations/vmss10d20IPConfig\"\r\n - \ }\r\n }\r\n },\r\n {\r\n \"name\": \"nat-pool1.3\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.3\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n + false,\r\n \"backendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1c208Nic/ipConfigurations/vmss1c208IPConfig\"\r\n + \ }\r\n }\r\n },\r\n {\r\n \"name\": \"nat-pool1.1\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/nat-pool1.1\",\r\n + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \ \"type\": \"Microsoft.Network/loadBalancers/inboundNatRules\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n - \ },\r\n \"frontendPort\": 50003,\r\n \"backendPort\": + \ },\r\n \"frontendPort\": 50001,\r\n \"backendPort\": 22,\r\n \"enableFloatingIP\": false,\r\n \"idleTimeoutInMinutes\": 4,\r\n \"protocol\": \"Tcp\",\r\n \"enableDestinationServiceEndpoint\": false,\r\n \"enableTcpReset\": false,\r\n \"allowBackendPortConflict\": - false,\r\n \"backendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/vmss10d20Nic/ipConfigurations/vmss10d20IPConfig\"\r\n + false,\r\n \"backendIPConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1c208Nic/ipConfigurations/vmss1c208IPConfig\"\r\n \ }\r\n }\r\n }\r\n ],\r\n \"inboundNatPools\": [\r\n {\r\n \"name\": \"nat-pool1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/inboundNatPools/nat-pool1\",\r\n - \ \"etag\": \"W/\\\"2678634f-0946-4c47-acfc-ecc322197cc0\\\"\",\r\n + \ \"etag\": \"W/\\\"b22d211d-b620-414e-93f1-0671818c8215\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \ \"frontendPortRangeStart\": 50000,\r\n \"frontendPortRangeEnd\": 50119,\r\n \"backendPort\": 22,\r\n \"protocol\": \"Tcp\",\r\n @@ -3279,9 +3092,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:18:22 GMT + - Mon, 31 May 2021 08:33:43 GMT etag: - - W/"2678634f-0946-4c47-acfc-ecc322197cc0" + - W/"b22d211d-b620-414e-93f1-0671818c8215" expires: - '-1' pragma: @@ -3298,7 +3111,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9e8fd625-a724-436d-ba63-20ad4fd32928 + - 7387459d-90b0-4898-8859-858bdbd5f021 status: code: 200 message: OK @@ -3316,20 +3129,17 @@ interactions: ParameterSetName: - -g -n -o User-Agent: - - python/3.7.4 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/13.0.0 Azure-SDK-For-Python AZURECLI/2.16.0 - accept-language: - - en-US + - AZURECLI/2.24.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.1 (Windows-10-10.0.19041-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1?api-version=2018-11-01 response: body: string: "{\r\n \"name\": \"PublicIPlb1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/publicIPAddresses/PublicIPlb1\",\r\n - \ \"etag\": \"W/\\\"ce996161-5749-4a81-ad33-251e5ab3d5b4\\\"\",\r\n \"location\": + \ \"etag\": \"W/\\\"ea0b0d99-1b58-4c31-89e6-404b452b2968\\\"\",\r\n \"location\": \"westus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": - \"Succeeded\",\r\n \"resourceGuid\": \"1de31f2a-e87c-4038-9944-b56f9ff59793\",\r\n - \ \"ipAddress\": \"138.91.138.219\",\r\n \"publicIPAddressVersion\": - \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": + \"Succeeded\",\r\n \"resourceGuid\": \"b6edf0e2-1e02-4b25-af10-b13480674cdc\",\r\n + \ \"ipAddress\": \"40.86.164.140\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n + \ \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"ipTags\": [],\r\n \"ipConfiguration\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_vmss_rolling_update000001/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/LoadBalancerFrontEnd\"\r\n \ }\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \ \"sku\": {\r\n \"name\": \"Basic\"\r\n }\r\n}" @@ -3337,13 +3147,13 @@ interactions: cache-control: - no-cache content-length: - - '1006' + - '1005' content-type: - application/json; charset=utf-8 date: - - Tue, 08 Dec 2020 07:18:22 GMT + - Mon, 31 May 2021 08:33:44 GMT etag: - - W/"ce996161-5749-4a81-ad33-251e5ab3d5b4" + - W/"ea0b0d99-1b58-4c31-89e6-404b452b2968" expires: - '-1' pragma: @@ -3360,7 +3170,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9045eb6a-45f2-4022-8986-9bd559cc84f7 + - 33be31d1-4b1c-4c39-bec7-b2ce14956347 status: code: 200 message: OK @@ -3376,7 +3186,7 @@ interactions: User-Agent: - python-requests/2.22.0 method: GET - uri: http://138.91.138.219/ + uri: http://40.86.164.140/ response: body: string: "\n\n\nWelcome to nginx!\n