From 979854e2047269d04b25a31b79d06a89acbd5a84 Mon Sep 17 00:00:00 2001 From: Yugang Wang Date: Wed, 25 Apr 2018 15:14:14 -0700 Subject: [PATCH] webapp: fix a bug in deleting a slot (#6222) * webapp: fix a bug in deleting a slot * update history --- .../azure-cli-appservice/HISTORY.rst | 1 + .../cli/command_modules/appservice/custom.py | 15 +- .../latest/recordings/test_webapp_slot.yaml | 1016 +++++++---------- .../tests/latest/test_webapp_commands.py | 2 + 4 files changed, 429 insertions(+), 605 deletions(-) diff --git a/src/command_modules/azure-cli-appservice/HISTORY.rst b/src/command_modules/azure-cli-appservice/HISTORY.rst index 4dd60310d6a..611ccf297e8 100644 --- a/src/command_modules/azure-cli-appservice/HISTORY.rst +++ b/src/command_modules/azure-cli-appservice/HISTORY.rst @@ -4,6 +4,7 @@ Release History =============== 0.1.32 ++++++ +* webapp: fix a bug in `az webapp delete` when `--slot` is provided * webapp: remove `--runtime-version` from `az webapp auth update` as it's not very public ready * webapp: az webapp config set support for min_tls_version & https2.0 diff --git a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/custom.py b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/custom.py index 9c4a3490ed9..36d2873e976 100644 --- a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/custom.py +++ b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/custom.py @@ -325,11 +325,16 @@ def delete_function_app(cmd, resource_group_name, name, slot=None): def delete_webapp(cmd, resource_group_name, name, keep_metrics=None, keep_empty_plan=None, keep_dns_registration=None, slot=None): client = web_client_factory(cmd.cli_ctx) - delete_method = getattr(client.web_apps, 'delete' if slot is None else 'delete_slot') - delete_method(resource_group_name, name, - delete_metrics=False if keep_metrics else None, - delete_empty_server_farm=False if keep_empty_plan else None, - skip_dns_registration=False if keep_dns_registration else None) + if slot: + client.web_apps.delete_slot(resource_group_name, name, slot, + delete_metrics=False if keep_metrics else None, + delete_empty_server_farm=False if keep_empty_plan else None, + skip_dns_registration=False if keep_dns_registration else None) + else: + client.web_apps.delete(resource_group_name, name, + delete_metrics=False if keep_metrics else None, + delete_empty_server_farm=False if keep_empty_plan else None, + skip_dns_registration=False if keep_dns_registration else None) def stop_webapp(cmd, resource_group_name, name, slot=None): diff --git a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_slot.yaml b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_slot.yaml index 03b3afe16b4..3e4c5454ce4 100644 --- a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_slot.yaml +++ b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_slot.yaml @@ -1,29 +1,31 @@ interactions: - request: - body: '{"location": "westus", "tags": {"use": "az-test"}}' + body: '{"location": "westus", "tags": {"date": "2018-04-25T20:34:00Z", "cause": + "automation", "product": "azurecli"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [group create] Connection: [keep-alive] - Content-Length: ['50'] + Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2018-04-25T20:34:00Z","cause":"automation","product":"azurecli"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['328'] + content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Sun, 18 Feb 2018 02:52:20 GMT'] + date: ['Wed, 25 Apr 2018 20:34:04 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: @@ -34,28 +36,28 @@ interactions: CommandName: [appservice plan create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2018-04-25T20:34:00Z","cause":"automation","product":"azurecli"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['328'] + content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Sun, 18 Feb 2018 02:52:14 GMT'] + date: ['Wed, 25 Apr 2018 20:34:07 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": {"name": "slot-test-plan000002", "perSiteScaling": false}, - "location": "westus", "sku": {"name": "S1", "tier": "STANDARD", "capacity": - 1}}''' + body: 'b''{"properties": {"perSiteScaling": false, "name": "slot-test-plan000002"}, + "location": "westus", "sku": {"capacity": 1, "tier": "STANDARD", "name": "S1"}}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -63,20 +65,20 @@ interactions: Connection: [keep-alive] Content-Length: ['157'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002?api-version=2016-09-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","name":"slot-test-plan000002","type":"Microsoft.Web/serverfarms","kind":"app","location":"West - US","properties":{"serverFarmId":0,"name":"slot-test-plan000002","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"301849e3-dc98-4935-bae9-35b5d22ab2d0","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Shared","siteMode":null,"geoRegion":"West - US","perSiteScaling":false,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"mdmId":"waws-prod-bay-017_24999","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded"},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}'} + US","properties":{"serverFarmId":367,"name":"slot-test-plan000002","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West + US","perSiteScaling":false,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"mdmId":"waws-prod-bay-101_367","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded"},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}'} headers: cache-control: [no-cache] - content-length: ['1383'] + content-length: ['1386'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:24 GMT'] + date: ['Wed, 25 Apr 2018 20:34:17 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -84,6 +86,7 @@ interactions: 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} @@ -95,20 +98,20 @@ interactions: CommandName: [webapp create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002?api-version=2016-09-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","name":"slot-test-plan000002","type":"Microsoft.Web/serverfarms","kind":"app","location":"West - US","properties":{"serverFarmId":0,"name":"slot-test-plan000002","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"301849e3-dc98-4935-bae9-35b5d22ab2d0","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Shared","siteMode":null,"geoRegion":"West - US","perSiteScaling":false,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"mdmId":"waws-prod-bay-017_24999","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded"},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}'} + US","properties":{"serverFarmId":367,"name":"slot-test-plan000002","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"0b1f6471-1bf0-4dda-aec3-cb9272f09590","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":10,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West + US","perSiteScaling":false,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"mdmId":"waws-prod-bay-101_367","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded"},"sku":{"name":"S1","tier":"Standard","size":"S1","family":"S","capacity":1}}'} headers: cache-control: [no-cache] - content-length: ['1383'] + content-length: ['1386'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:25 GMT'] + date: ['Wed, 25 Apr 2018 20:34:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -116,14 +119,14 @@ interactions: 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: 'b''b\''{"properties": {"scmSiteAlsoStopped": false, "reserved": false, - "siteConfig": {"localMySqlEnabled": false, "appSettings": [{"name": "WEBSITE_NODE_DEFAULT_VERSION", - "value": "6.9.1"}], "http20Enabled": true, "netFrameworkVersion": "v4.6"}, "serverFarmId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002"}, - "location": "West US"}\''''' + body: 'b''b\''{"properties": {"siteConfig": {"localMySqlEnabled": false, "http20Enabled": + true, "netFrameworkVersion": "v4.6", "appSettings": [{"value": "6.9.1", "name": + "WEBSITE_NODE_DEFAULT_VERSION"}]}, "reserved": false, "serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002", + "scmSiteAlsoStopped": false}, "location": "West US"}\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -131,20 +134,20 @@ interactions: Connection: [keep-alive] Content-Length: ['485'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003","name":"slot-test-web000003","type":"Microsoft.Web/sites","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:52:27.057","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:34:23.53","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3122'] + content-length: ['3194'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:29 GMT'] - etag: ['"1D3A86382CEDCA0"'] + date: ['Wed, 25 Apr 2018 20:34:25 GMT'] + etag: ['"1D3DCD4CC0EA90B"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -152,7 +155,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -164,21 +168,21 @@ interactions: Connection: [keep-alive] Content-Length: ['2'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/publishxml?api-version=2016-08-01 response: body: {string: ''} @@ -186,12 +190,13 @@ interactions: cache-control: [no-cache] content-length: ['1150'] content-type: [application/xml] - date: ['Sun, 18 Feb 2018 02:52:31 GMT'] + date: ['Wed, 25 Apr 2018 20:34:27 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] 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} @@ -204,8 +209,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/appsettings/list?api-version=2016-08-01 @@ -216,7 +221,7 @@ interactions: cache-control: [no-cache] content-length: ['357'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:31 GMT'] + date: ['Wed, 25 Apr 2018 20:34:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -224,12 +229,13 @@ interactions: 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": {"s2": "v2", "s1": "v1", "WEBSITE_NODE_DEFAULT_VERSION": - "6.9.1"}, "kind": ""}' + body: '{"properties": {"s2": "v2", "WEBSITE_NODE_DEFAULT_VERSION": "6.9.1", "s1": + "v1"}, "kind": ""}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -237,20 +243,20 @@ interactions: Connection: [keep-alive] Content-Length: ['106'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/appsettings?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/appsettings","name":"appsettings","type":"Microsoft.Web/sites/config","location":"West - US","properties":{"s2":"v2","s1":"v1","WEBSITE_NODE_DEFAULT_VERSION":"6.9.1"}}'} + US","properties":{"s2":"v2","WEBSITE_NODE_DEFAULT_VERSION":"6.9.1","s1":"v1"}}'} headers: cache-control: [no-cache] content-length: ['377'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:32 GMT'] - etag: ['"1D3A863859F13A0"'] + date: ['Wed, 25 Apr 2018 20:34:32 GMT'] + etag: ['"1D3DCD4D12B5B15"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -258,7 +264,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -269,8 +276,8 @@ interactions: CommandName: [webapp config appsettings set] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -281,7 +288,7 @@ interactions: cache-control: [no-cache] content-length: ['162'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:38 GMT'] + date: ['Wed, 25 Apr 2018 20:34:33 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -289,6 +296,7 @@ interactions: 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: @@ -300,8 +308,8 @@ interactions: Connection: [keep-alive] Content-Length: ['43'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -312,7 +320,7 @@ interactions: cache-control: [no-cache] content-length: ['162'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:34 GMT'] + date: ['Wed, 25 Apr 2018 20:34:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,7 +328,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -331,20 +340,20 @@ interactions: CommandName: [webapp deployment slot create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003","name":"slot-test-web000003","type":"Microsoft.Web/sites","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:52:32.09","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:34:32.4333333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3121'] + content-length: ['3199'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:35 GMT'] - etag: ['"1D3A863859F13A0"'] + date: ['Wed, 25 Apr 2018 20:34:38 GMT'] + etag: ['"1D3DCD4D12B5B15"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,13 +361,13 @@ interactions: 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: 'b''b\''{"properties": {"scmSiteAlsoStopped": false, "reserved": false, - "siteConfig": {"localMySqlEnabled": false, "http20Enabled": true, "netFrameworkVersion": - "v4.6"}, "serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002"}, - "location": "West US"}\''''' + body: 'b''b\''{"properties": {"siteConfig": {"localMySqlEnabled": false, "http20Enabled": + true, "netFrameworkVersion": "v4.6"}, "reserved": false, "serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002", + "scmSiteAlsoStopped": false}, "location": "West US"}\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -366,20 +375,20 @@ interactions: Connection: [keep-alive] Content-Length: ['408'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging","name":"slot-test-web000003/staging","type":"Microsoft.Web/sites/slots","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003(staging)","state":"Running","hostNames":["slot-test-web000003-staging.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-staging.azurewebsites.net","slot-test-web000003-staging.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-staging.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:52:36.9","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__d42a","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-staging.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003(staging)","state":"Running","hostNames":["slot-test-web000003-staging.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-staging.azurewebsites.net","slot-test-web000003-staging.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-staging.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:34:42.39","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__829f","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-staging.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3211'] + content-length: ['3285'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:43 GMT'] - etag: ['"1D3A863859F13A0"'] + date: ['Wed, 25 Apr 2018 20:35:08 GMT'] + etag: ['"1D3DCD4D12B5B15"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -387,6 +396,7 @@ interactions: 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} @@ -398,20 +408,20 @@ interactions: CommandName: [webapp deployment source config] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003","name":"slot-test-web000003","type":"Microsoft.Web/sites","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:52:32.09","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:34:32.4333333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3121'] + content-length: ['3199'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:52:44 GMT'] - etag: ['"1D3A863859F13A0"'] + date: ['Wed, 25 Apr 2018 20:35:12 GMT'] + etag: ['"1D3DCD4D12B5B15"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -419,257 +429,13 @@ interactions: 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": {"isMercurial": false, "repoUrl": "https://github.com/yugangw-msft/azure-site-test", - "isManualIntegration": true, "branch": "staging"}, "kind": "West US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [webapp deployment source config] - Connection: [keep-alive] - Content-Length: ['169'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/sourcecontrols/web?api-version=2016-08-01 - response: - body: {string: '{"Code":"BadRequest","Message":"Repository ''UpdateSiteSourceControl'' - operation failed with System.Net.WebException: The service is unavailable. - ---> System.Net.WebException: The remote server returned an error: (503) Server - Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl).","Target":null,"Details":[{"Message":"Repository - ''UpdateSiteSourceControl'' operation failed with System.Net.WebException: - The service is unavailable. ---> System.Net.WebException: The remote server - returned an error: (503) Server Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)."},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"05007","MessageTemplate":"Repository - ''{0}'' operation failed with {1}.","Parameters":["UpdateSiteSourceControl","System.Net.WebException: - The service is unavailable. ---> System.Net.WebException: The remote server - returned an error: (503) Server Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)"],"Code":"BadRequest","Message":"Repository - ''UpdateSiteSourceControl'' operation failed with System.Net.WebException: - The service is unavailable. ---> System.Net.WebException: The remote server - returned an error: (503) Server Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)."}}],"Innererror":null}'} - headers: - cache-control: [no-cache] - content-length: ['10785'] - content-type: [application/json; charset=utf-8] - date: ['Sun, 18 Feb 2018 02:52:51 GMT'] - etag: ['"1D3A86388AACD00"'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-powered-by: [ASP.NET] - status: {code: 400, message: Bad Request} -- request: - body: '{"properties": {"isMercurial": false, "repoUrl": "https://github.com/yugangw-msft/azure-site-test", - "isManualIntegration": true, "branch": "staging"}, "kind": "West US"}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [webapp deployment source config] - Connection: [keep-alive] - Content-Length: ['169'] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/sourcecontrols/web?api-version=2016-08-01 - response: - body: {string: '{"Code":"BadRequest","Message":"Repository ''UpdateSiteSourceControl'' - operation failed with System.Net.WebException: The service is unavailable. - ---> System.Net.WebException: The remote server returned an error: (503) Server - Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl).","Target":null,"Details":[{"Message":"Repository - ''UpdateSiteSourceControl'' operation failed with System.Net.WebException: - The service is unavailable. ---> System.Net.WebException: The remote server - returned an error: (503) Server Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)."},{"Code":"BadRequest"},{"ErrorEntity":{"ExtendedCode":"05007","MessageTemplate":"Repository - ''{0}'' operation failed with {1}.","Parameters":["UpdateSiteSourceControl","System.Net.WebException: - The service is unavailable. ---> System.Net.WebException: The remote server - returned an error: (503) Server Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)"],"Code":"BadRequest","Message":"Repository - ''UpdateSiteSourceControl'' operation failed with System.Net.WebException: - The service is unavailable. ---> System.Net.WebException: The remote server - returned an error: (503) Server Unavailable.\r\n at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult - asyncResult)\r\n at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult - iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n --- - End of inner exception stack trace ---\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__7b.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__45.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__6.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass3a6.<b__3a1>d__3ab.MoveNext()\r\n--- - End of stack trace from previous location where exception was thrown ---\r\n at - System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task - task)\r\n at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n at - Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String - subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)."}}],"Innererror":null}'} - headers: - cache-control: [no-cache] - content-length: ['10785'] - content-type: [application/json; charset=utf-8] - date: ['Sun, 18 Feb 2018 02:52:54 GMT'] - etag: ['"1D3A86388AACD00"'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] - x-powered-by: [ASP.NET] - status: {code: 400, message: Bad Request} -- request: - body: '{"properties": {"isMercurial": false, "repoUrl": "https://github.com/yugangw-msft/azure-site-test", - "isManualIntegration": true, "branch": "staging"}, "kind": "West US"}' + body: '{"properties": {"isMercurial": false, "branch": "staging", "isManualIntegration": + true, "repoUrl": "https://github.com/yugangw-msft/azure-site-test"}, "kind": + "West US"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -677,8 +443,8 @@ interactions: Connection: [keep-alive] Content-Length: ['169'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/sourcecontrols/web?api-version=2016-08-01 @@ -689,14 +455,15 @@ interactions: cache-control: [no-cache] content-length: ['546'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:53:08 GMT'] - etag: ['"1D3A8639A27BAC0"'] + date: ['Wed, 25 Apr 2018 20:35:22 GMT'] + etag: ['"1D3DCD4EF692820"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -706,25 +473,26 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment source config] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/sourcecontrols/web?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/sourcecontrols/web","name":"slot-test-web000003","type":"Microsoft.Web/sites/sourcecontrols","location":"West - US","properties":{"repoUrl":"https://github.com/yugangw-msft/azure-site-test","branch":"staging","isManualIntegration":true,"deploymentRollbackEnabled":false,"isMercurial":false,"provisioningState":"InProgress","provisioningDetails":"2018-02-18T02:53:38.6053864 - https://slot-test-web000003-staging.scm.azurewebsites.net/api/deployments/latest?deployer=GitHub&time=2018-02-18_02-53-16Z"}}'} + US","properties":{"repoUrl":"https://github.com/yugangw-msft/azure-site-test","branch":"staging","isManualIntegration":true,"deploymentRollbackEnabled":false,"isMercurial":false,"provisioningState":"InProgress","provisioningDetails":"2018-04-25T20:35:54.0112085 + https://slot-test-web000003-staging.scm.azurewebsites.net/api/deployments/latest?deployer=GitHub&time=2018-04-25_20-35-32Z"}}'} headers: cache-control: [no-cache] content-length: ['726'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:53:38 GMT'] - etag: ['"1D3A8639A27BAC0"'] + date: ['Wed, 25 Apr 2018 20:35:54 GMT'] + etag: ['"1D3DCD4EF692820"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -734,8 +502,8 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment source config] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/sourcecontrols/web?api-version=2016-08-01 response: @@ -745,8 +513,8 @@ interactions: cache-control: [no-cache] content-length: ['545'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:54:09 GMT'] - etag: ['"1D3A8639A27BAC0"'] + date: ['Wed, 25 Apr 2018 20:36:28 GMT'] + etag: ['"1D3DCD4EF692820"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -754,10 +522,11 @@ interactions: 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: '{"preserveVnet": true, "targetSlot": "staging"}' + body: '{"targetSlot": "staging", "preserveVnet": true}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -765,8 +534,8 @@ interactions: Connection: [keep-alive] Content-Length: ['47'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slotsswap?api-version=2016-08-01 @@ -775,14 +544,15 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:54:11 GMT'] - etag: ['"1D3A863859F13A0"'] + date: ['Wed, 25 Apr 2018 20:36:31 GMT'] + etag: ['"1D3DCD4D12B5B15"'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/53279650-912e-4b00-bbc4-b15e31de29f4?api-version=2016-08-01'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] 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: 202, message: Accepted} @@ -793,47 +563,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot swap] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:54:27 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-aspnet-version: [4.0.30319] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [webapp deployment slot swap] - Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/53279650-912e-4b00-bbc4-b15e31de29f4?api-version=2016-08-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:54:42 GMT'] + date: ['Wed, 25 Apr 2018 20:36:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/53279650-912e-4b00-bbc4-b15e31de29f4?api-version=2016-08-01'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -843,22 +589,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot swap] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/53279650-912e-4b00-bbc4-b15e31de29f4?api-version=2016-08-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:54:57 GMT'] + date: ['Wed, 25 Apr 2018 20:37:05 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/53279650-912e-4b00-bbc4-b15e31de29f4?api-version=2016-08-01'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -868,19 +615,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot swap] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/a6b95f55-37f4-4736-b99c-5048574181a6?api-version=2016-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/operationresults/53279650-912e-4b00-bbc4-b15e31de29f4?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003","name":"slot-test-web000003","type":"Microsoft.Web/sites","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:54:09.433","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__d42a","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-02-18T02:54:59.509Z","sourceSlotName":"staging","destinationSlotName":"Production"},"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:36:31.0466667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__829f","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-04-25T20:37:20.473Z","sourceSlotName":"staging","destinationSlotName":"Production"},"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3229'] + content-length: ['3306'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:19 GMT'] - etag: ['"1D3A863BFA47090"'] + date: ['Wed, 25 Apr 2018 20:37:22 GMT'] + etag: ['"1D3DCD517DE506B"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -888,6 +635,7 @@ interactions: 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: @@ -899,19 +647,19 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/config/appsettings/list?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/config/appsettings","name":"appsettings","type":"Microsoft.Web/sites/config","location":"West - US","properties":{"s1":"v1","WEBSITE_NODE_DEFAULT_VERSION":"6.9.1"}}'} + US","properties":{"WEBSITE_NODE_DEFAULT_VERSION":"6.9.1","s1":"v1"}}'} headers: cache-control: [no-cache] content-length: ['381'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:15 GMT'] + date: ['Wed, 25 Apr 2018 20:37:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -919,6 +667,7 @@ interactions: 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} @@ -930,8 +679,8 @@ interactions: CommandName: [webapp config appsettings list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -942,7 +691,7 @@ interactions: cache-control: [no-cache] content-length: ['162'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:15 GMT'] + date: ['Wed, 25 Apr 2018 20:37:28 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -950,6 +699,7 @@ interactions: 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: @@ -960,19 +710,19 @@ interactions: CommandName: [webapp config set] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/web?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/web","name":"slot-test-web000003","type":"Microsoft.Web/sites/config","location":"West - US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":null,"httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"ipSecurityRestrictions":null}}'} + US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":null,"httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"ipSecurityRestrictions":null,"http20Enabled":false,"minTlsVersion":"1.0"}}'} headers: cache-control: [no-cache] - content-length: ['2437'] + content-length: ['2514'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:16 GMT'] + date: ['Wed, 25 Apr 2018 20:37:31 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -980,42 +730,43 @@ interactions: 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: 'b''{"properties": {"httpLoggingEnabled": false, "appCommandLine": "", "experiments": - {"rampUpRules": []}, "numberOfWorkers": 1, "managedPipelineMode": "Integrated", - "use32BitWorkerProcess": true, "webSocketsEnabled": false, "netFrameworkVersion": - "v4.0", "linuxFxVersion": "", "nodeVersion": "", "scmType": "None", "detailedErrorLoggingEnabled": - false, "pythonVersion": "", "localMySqlEnabled": false, "logsDirectorySizeLimit": - 35, "autoHealEnabled": false, "vnetName": "", "alwaysOn": false, "phpVersion": - "5.6", "defaultDocuments": ["Default.htm", "Default.html", "Default.asp", "index.htm", - "index.html", "iisstart.htm", "default.aspx", "index.php", "hostingstart.html"], - "virtualApplications": [{"virtualPath": "/", "physicalPath": "site\\\\wwwroot", - "preloadEnabled": false}], "requestTracingEnabled": false, "loadBalancing": - "LeastRequests", "publishingUsername": "$slot-test-web000003", "remoteDebuggingEnabled": - false}}''' + body: 'b''{"properties": {"logsDirectorySizeLimit": 35, "minTlsVersion": "1.0", + "detailedErrorLoggingEnabled": false, "defaultDocuments": ["Default.htm", "Default.html", + "Default.asp", "index.htm", "index.html", "iisstart.htm", "default.aspx", "index.php", + "hostingstart.html"], "phpVersion": "5.6", "netFrameworkVersion": "v4.0", "nodeVersion": + "", "vnetName": "", "requestTracingEnabled": false, "http20Enabled": false, + "appCommandLine": "", "use32BitWorkerProcess": true, "publishingUsername": "$slot-test-web000003", + "managedPipelineMode": "Integrated", "virtualApplications": [{"preloadEnabled": + false, "virtualPath": "/", "physicalPath": "site\\\\wwwroot"}], "httpLoggingEnabled": + false, "alwaysOn": false, "pythonVersion": "", "remoteDebuggingEnabled": false, + "webSocketsEnabled": false, "localMySqlEnabled": false, "autoHealEnabled": false, + "loadBalancing": "LeastRequests", "scmType": "None", "numberOfWorkers": 1, "linuxFxVersion": + "", "experiments": {"rampUpRules": []}}}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [webapp config set] Connection: [keep-alive] - Content-Length: ['927'] + Content-Length: ['975'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/web?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003","name":"slot-test-web000003","type":"Microsoft.Web/sites","location":"West - US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"ipSecurityRestrictions":null}}'} + US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"ipSecurityRestrictions":null,"http20Enabled":false,"minTlsVersion":"1.0"}}'} headers: cache-control: [no-cache] - content-length: ['2423'] + content-length: ['2500'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:16 GMT'] - etag: ['"1D3A863E7D68260"'] + date: ['Wed, 25 Apr 2018 20:37:34 GMT'] + etag: ['"1D3DCD53D917F8B"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1023,7 +774,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -1034,20 +786,20 @@ interactions: CommandName: [webapp deployment slot create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003","name":"slot-test-web000003","type":"Microsoft.Web/sites","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:55:16.87","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__d42a","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-02-18T02:54:59.509Z","sourceSlotName":"staging","destinationSlotName":"Production"},"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003","state":"Running","hostNames":["slot-test-web000003.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003.azurewebsites.net","slot-test-web000003.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:37:34.2966667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__829f","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-04-25T20:37:20.473Z","sourceSlotName":"staging","destinationSlotName":"Production"},"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3228'] + content-length: ['3306'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:18 GMT'] - etag: ['"1D3A863E7D68260"'] + date: ['Wed, 25 Apr 2018 20:37:36 GMT'] + etag: ['"1D3DCD53D917F8B"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1055,13 +807,13 @@ interactions: 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: 'b''b\''{"properties": {"scmSiteAlsoStopped": false, "reserved": false, - "siteConfig": {"localMySqlEnabled": false, "http20Enabled": true, "netFrameworkVersion": - "v4.6"}, "serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002"}, - "location": "West US"}\''''' + body: 'b''b\''{"properties": {"siteConfig": {"localMySqlEnabled": false, "http20Enabled": + true, "netFrameworkVersion": "v4.6"}, "reserved": false, "serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002", + "scmSiteAlsoStopped": false}, "location": "West US"}\''''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -1069,20 +821,20 @@ interactions: Connection: [keep-alive] Content-Length: ['408'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev","name":"slot-test-web000003/dev","type":"Microsoft.Web/sites/slots","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003(dev)","state":"Running","hostNames":["slot-test-web000003-dev.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-dev.azurewebsites.net","slot-test-web000003-dev.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-dev.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-dev.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:55:20.683","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__00a6","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-dev.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003(dev)","state":"Running","hostNames":["slot-test-web000003-dev.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-dev.azurewebsites.net","slot-test-web000003-dev.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-dev.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-dev.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:37:41.4533333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__ae71","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-dev.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3177'] + content-length: ['3254'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:31 GMT'] - etag: ['"1D3A863E7D68260"'] + date: ['Wed, 25 Apr 2018 20:37:43 GMT'] + etag: ['"1D3DCD53D917F8B"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1090,7 +842,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -1101,19 +854,19 @@ interactions: CommandName: [webapp deployment slot create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/web?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/web","name":"slot-test-web000003","type":"Microsoft.Web/sites/config","location":"West - US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"ipSecurityRestrictions":null}}'} + US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"ipSecurityRestrictions":null,"http20Enabled":false,"minTlsVersion":"1.0"}}'} headers: cache-control: [no-cache] - content-length: ['2441'] + content-length: ['2518'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:33 GMT'] + date: ['Wed, 25 Apr 2018 20:37:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1121,42 +874,44 @@ interactions: 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: 'b''{"properties": {"httpLoggingEnabled": false, "appCommandLine": "", "experiments": - {"rampUpRules": []}, "numberOfWorkers": 1, "managedPipelineMode": "Integrated", - "use32BitWorkerProcess": true, "webSocketsEnabled": false, "netFrameworkVersion": - "v4.0", "linuxFxVersion": "", "nodeVersion": "", "remoteDebuggingVersion": "VS2012", - "detailedErrorLoggingEnabled": false, "pythonVersion": "", "localMySqlEnabled": - false, "logsDirectorySizeLimit": 35, "autoHealEnabled": false, "scmType": "None", - "vnetName": "", "alwaysOn": false, "phpVersion": "5.6", "defaultDocuments": - ["Default.htm", "Default.html", "Default.asp", "index.htm", "index.html", "iisstart.htm", - "default.aspx", "index.php", "hostingstart.html"], "virtualApplications": [{"virtualPath": - "/", "physicalPath": "site\\\\wwwroot", "preloadEnabled": false}], "requestTracingEnabled": - false, "loadBalancing": "LeastRequests", "publishingUsername": "$slot-test-web000003", - "remoteDebuggingEnabled": false}}''' + body: 'b''{"properties": {"logsDirectorySizeLimit": 35, "minTlsVersion": "1.0", + "detailedErrorLoggingEnabled": false, "defaultDocuments": ["Default.htm", "Default.html", + "Default.asp", "index.htm", "index.html", "iisstart.htm", "default.aspx", "index.php", + "hostingstart.html"], "phpVersion": "5.6", "netFrameworkVersion": "v4.0", "nodeVersion": + "", "vnetName": "", "requestTracingEnabled": false, "http20Enabled": false, + "appCommandLine": "", "use32BitWorkerProcess": true, "remoteDebuggingVersion": + "VS2012", "publishingUsername": "$slot-test-web000003", "managedPipelineMode": + "Integrated", "virtualApplications": [{"preloadEnabled": false, "virtualPath": + "/", "physicalPath": "site\\\\wwwroot"}], "httpLoggingEnabled": false, "alwaysOn": + false, "pythonVersion": "", "remoteDebuggingEnabled": false, "webSocketsEnabled": + false, "localMySqlEnabled": false, "autoHealEnabled": false, "loadBalancing": + "LeastRequests", "scmType": "None", "numberOfWorkers": 1, "linuxFxVersion": + "", "experiments": {"rampUpRules": []}}}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot create] Connection: [keep-alive] - Content-Length: ['963'] + Content-Length: ['1011'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/web?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev","name":"slot-test-web000003/dev","type":"Microsoft.Web/sites/slots","location":"West - US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003__dev","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"ipSecurityRestrictions":null}}'} + US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003__dev","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"ipSecurityRestrictions":null,"http20Enabled":false,"minTlsVersion":"1.0"}}'} headers: cache-control: [no-cache] - content-length: ['2448'] + content-length: ['2525'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:35 GMT'] - etag: ['"1D3A863F1EA5010"'] + date: ['Wed, 25 Apr 2018 20:37:47 GMT'] + etag: ['"1D3DCD54580F3A0"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1164,7 +919,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -1175,8 +931,8 @@ interactions: CommandName: [webapp deployment slot create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1187,7 +943,7 @@ interactions: cache-control: [no-cache] content-length: ['162'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:41 GMT'] + date: ['Wed, 25 Apr 2018 20:37:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1195,6 +951,7 @@ interactions: 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: @@ -1206,8 +963,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/appsettings/list?api-version=2016-08-01 @@ -1218,7 +975,7 @@ interactions: cache-control: [no-cache] content-length: ['367'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:35 GMT'] + date: ['Wed, 25 Apr 2018 20:37:51 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1226,6 +983,7 @@ interactions: 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} @@ -1238,8 +996,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/connectionstrings/list?api-version=2016-08-01 @@ -1250,7 +1008,7 @@ interactions: cache-control: [no-cache] content-length: ['331'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:35 GMT'] + date: ['Wed, 25 Apr 2018 20:37:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1258,6 +1016,7 @@ interactions: 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} @@ -1271,8 +1030,8 @@ interactions: Connection: [keep-alive] Content-Length: ['82'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/appsettings?api-version=2016-08-01 @@ -1283,8 +1042,8 @@ interactions: cache-control: [no-cache] content-length: ['367'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:38 GMT'] - etag: ['"1D3A863F39C1EC0"'] + date: ['Wed, 25 Apr 2018 20:37:56 GMT'] + etag: ['"1D3DCD54AAE6E8B"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1292,7 +1051,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -1304,8 +1064,8 @@ interactions: Connection: [keep-alive] Content-Length: ['43'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/connectionstrings?api-version=2016-08-01 @@ -1316,8 +1076,8 @@ interactions: cache-control: [no-cache] content-length: ['341'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:46 GMT'] - etag: ['"1D3A863F4965D40"'] + date: ['Wed, 25 Apr 2018 20:37:59 GMT'] + etag: ['"1D3DCD54C64DE20"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1325,6 +1085,7 @@ interactions: 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} @@ -1336,19 +1097,19 @@ interactions: CommandName: [webapp config show] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/web?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/web","name":"slot-test-web000003","type":"Microsoft.Web/sites/config","location":"West - US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003__dev","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"ipSecurityRestrictions":null}}'} + US","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":"","linuxFxVersion":"","requestTracingEnabled":false,"remoteDebuggingEnabled":false,"remoteDebuggingVersion":"VS2012","httpLoggingEnabled":false,"logsDirectorySizeLimit":35,"detailedErrorLoggingEnabled":false,"publishingUsername":"$slot-test-web000003__dev","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"None","use32BitWorkerProcess":true,"webSocketsEnabled":false,"alwaysOn":false,"javaVersion":null,"javaContainer":null,"javaContainerVersion":null,"appCommandLine":"","managedPipelineMode":"Integrated","virtualApplications":[{"virtualPath":"/","physicalPath":"site\\wwwroot","preloadEnabled":false,"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":"","siteAuthEnabled":false,"siteAuthSettings":{"enabled":null,"unauthenticatedClientAction":null,"tokenStoreEnabled":null,"allowedExternalRedirectUrls":null,"defaultProvider":null,"clientId":null,"clientSecret":null,"issuer":null,"allowedAudiences":null,"additionalLoginParams":null,"isAadAutoProvisioned":false,"googleClientId":null,"googleClientSecret":null,"googleOAuthScopes":null,"facebookAppId":null,"facebookAppSecret":null,"facebookOAuthScopes":null,"twitterConsumerKey":null,"twitterConsumerSecret":null,"microsoftAccountClientId":null,"microsoftAccountClientSecret":null,"microsoftAccountOAuthScopes":null},"cors":null,"push":null,"apiDefinition":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"ipSecurityRestrictions":null,"http20Enabled":false,"minTlsVersion":"1.0"}}'} headers: cache-control: [no-cache] - content-length: ['2456'] + content-length: ['2533'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:39 GMT'] + date: ['Wed, 25 Apr 2018 20:38:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1356,6 +1117,7 @@ interactions: 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: @@ -1367,8 +1129,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/appsettings/list?api-version=2016-08-01 @@ -1379,7 +1141,7 @@ interactions: cache-control: [no-cache] content-length: ['367'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:41 GMT'] + date: ['Wed, 25 Apr 2018 20:38:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1387,7 +1149,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11998'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -1400,8 +1163,8 @@ interactions: Connection: [keep-alive] Content-Length: ['106'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/appsettings?api-version=2016-08-01 @@ -1412,8 +1175,8 @@ interactions: cache-control: [no-cache] content-length: ['387'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:43 GMT'] - etag: ['"1D3A863F669BDB0"'] + date: ['Wed, 25 Apr 2018 20:38:06 GMT'] + etag: ['"1D3DCD550B5186B"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1421,6 +1184,7 @@ interactions: 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} @@ -1432,8 +1196,8 @@ interactions: CommandName: [webapp config appsettings set] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1444,7 +1208,7 @@ interactions: cache-control: [no-cache] content-length: ['162'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:41 GMT'] + date: ['Wed, 25 Apr 2018 20:38:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1452,11 +1216,12 @@ interactions: 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": ["s2", - "s4"]}}' + body: '{"properties": {"appSettingNames": ["s2", "s4"], "connectionStringNames": + []}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -1464,8 +1229,8 @@ interactions: Connection: [keep-alive] Content-Length: ['78'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1476,7 +1241,7 @@ interactions: cache-control: [no-cache] content-length: ['167'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:44 GMT'] + date: ['Wed, 25 Apr 2018 20:38:09 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1484,6 +1249,7 @@ interactions: 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} @@ -1496,8 +1262,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/connectionstrings/list?api-version=2016-08-01 @@ -1508,7 +1274,7 @@ interactions: cache-control: [no-cache] content-length: ['341'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:45 GMT'] + date: ['Wed, 25 Apr 2018 20:38:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1516,12 +1282,13 @@ interactions: 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": {"c1": {"type": "MySql", "value": "connection1"}, "c2": - {"type": "MySql", "value": "connection2"}}, "kind": ""}' + body: '{"properties": {"c1": {"value": "connection1", "type": "MySql"}, "c2": + {"value": "connection2", "type": "MySql"}}, "kind": ""}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -1529,8 +1296,8 @@ interactions: Connection: [keep-alive] Content-Length: ['139'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/connectionstrings?api-version=2016-08-01 @@ -1541,8 +1308,8 @@ interactions: cache-control: [no-cache] content-length: ['428'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:43 GMT'] - etag: ['"1D3A863F8171F90"'] + date: ['Wed, 25 Apr 2018 20:38:15 GMT'] + etag: ['"1D3DCD5562534A0"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1550,6 +1317,7 @@ interactions: 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} @@ -1561,8 +1329,8 @@ interactions: CommandName: [webapp config connection-string set] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1573,7 +1341,7 @@ interactions: cache-control: [no-cache] content-length: ['167'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:51 GMT'] + date: ['Wed, 25 Apr 2018 20:38:17 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1581,11 +1349,12 @@ interactions: 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": ["c2"], "appSettingNames": ["s2", - "s4"]}}' + body: '{"properties": {"appSettingNames": ["s2", "s4"], "connectionStringNames": + ["c2"]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -1593,8 +1362,8 @@ interactions: Connection: [keep-alive] Content-Length: ['82'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1605,7 +1374,7 @@ interactions: cache-control: [no-cache] content-length: ['171'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:55:46 GMT'] + date: ['Wed, 25 Apr 2018 20:38:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1613,11 +1382,12 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: '{"preserveVnet": true, "targetSlot": "dev"}' + body: '{"targetSlot": "dev", "preserveVnet": true}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -1625,8 +1395,8 @@ interactions: Connection: [keep-alive] Content-Length: ['43'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/slotsswap?api-version=2016-08-01 @@ -1635,15 +1405,16 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:55:48 GMT'] - etag: ['"1D3A863E7D68260"'] + date: ['Wed, 25 Apr 2018 20:38:23 GMT'] + etag: ['"1D3DCD53D917F8B"'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -1653,22 +1424,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot swap] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:56:03 GMT'] + date: ['Wed, 25 Apr 2018 20:38:39 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -1678,22 +1450,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot swap] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:56:18 GMT'] + date: ['Wed, 25 Apr 2018 20:38:57 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -1703,22 +1476,23 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot swap] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:56:34 GMT'] + date: ['Wed, 25 Apr 2018 20:39:13 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -1728,19 +1502,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [webapp deployment slot swap] Connection: [keep-alive] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/66776fe8-5d12-4129-84d9-ce321b969f18?api-version=2016-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/operationresults/f846c96a-7827-4d53-82e4-bb1918a53ca9?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging","name":"slot-test-web000003/staging","type":"Microsoft.Web/sites/slots","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003(staging)","state":"Running","hostNames":["slot-test-web000003-staging.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-staging.azurewebsites.net","slot-test-web000003-staging.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-staging.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:56:39.79","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__00a6","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-staging.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-02-18T02:56:41.511Z","sourceSlotName":"staging","destinationSlotName":"dev"},"httpsOnly":false}}'} + US","properties":{"name":"slot-test-web000003(staging)","state":"Running","hostNames":["slot-test-web000003-staging.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-staging.azurewebsites.net","slot-test-web000003-staging.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-staging.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:39:16.5933333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__ae71","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-staging.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-04-25T20:39:16.631Z","sourceSlotName":"staging","destinationSlotName":"dev"},"httpsOnly":false}}'} headers: cache-control: [no-cache] - content-length: ['3306'] + content-length: ['3384'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:49 GMT'] - etag: ['"1D3A864194318E0"'] + date: ['Wed, 25 Apr 2018 20:39:31 GMT'] + etag: ['"1D3DCD57A8ABB15"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1748,6 +1522,7 @@ interactions: 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: @@ -1759,19 +1534,19 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/appsettings/list?api-version=2016-08-01 response: body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/appsettings","name":"appsettings","type":"Microsoft.Web/sites/config","location":"West - US","properties":{"s1":"v1","WEBSITE_NODE_DEFAULT_VERSION":"6.9.1","s4":"v4"}}'} + US","properties":{"WEBSITE_NODE_DEFAULT_VERSION":"6.9.1","s1":"v1","s4":"v4"}}'} headers: cache-control: [no-cache] content-length: ['387'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:51 GMT'] + date: ['Wed, 25 Apr 2018 20:39:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1779,6 +1554,7 @@ interactions: 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} @@ -1790,8 +1566,8 @@ interactions: CommandName: [webapp config appsettings list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1802,7 +1578,7 @@ interactions: cache-control: [no-cache] content-length: ['171'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:52 GMT'] + date: ['Wed, 25 Apr 2018 20:39:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1810,6 +1586,7 @@ interactions: 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: @@ -1821,8 +1598,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev/config/connectionstrings/list?api-version=2016-08-01 @@ -1833,7 +1610,7 @@ interactions: cache-control: [no-cache] content-length: ['384'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:58 GMT'] + date: ['Wed, 25 Apr 2018 20:39:38 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1841,6 +1618,7 @@ interactions: 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} @@ -1852,8 +1630,8 @@ interactions: CommandName: [webapp config connection-string list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1864,7 +1642,7 @@ interactions: cache-control: [no-cache] content-length: ['171'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:53 GMT'] + date: ['Wed, 25 Apr 2018 20:39:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1872,6 +1650,7 @@ interactions: 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: @@ -1883,8 +1662,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/config/appsettings/list?api-version=2016-08-01 @@ -1895,7 +1674,7 @@ interactions: cache-control: [no-cache] content-length: ['381'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:54 GMT'] + date: ['Wed, 25 Apr 2018 20:39:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1903,6 +1682,7 @@ interactions: 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} @@ -1914,8 +1694,8 @@ interactions: CommandName: [webapp config appsettings list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1926,7 +1706,7 @@ interactions: cache-control: [no-cache] content-length: ['171'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:54 GMT'] + date: ['Wed, 25 Apr 2018 20:39:43 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1934,6 +1714,7 @@ interactions: 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: @@ -1945,8 +1726,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging/config/connectionstrings/list?api-version=2016-08-01 @@ -1957,7 +1738,7 @@ interactions: cache-control: [no-cache] content-length: ['388'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:53 GMT'] + date: ['Wed, 25 Apr 2018 20:39:46 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1965,7 +1746,8 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-resource-requests: ['11999'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-resource-requests: ['11997'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -1976,8 +1758,8 @@ interactions: CommandName: [webapp config connection-string list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/config/slotConfigNames?api-version=2016-08-01 @@ -1988,7 +1770,7 @@ interactions: cache-control: [no-cache] content-length: ['171'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:54 GMT'] + date: ['Wed, 25 Apr 2018 20:39:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -1996,6 +1778,7 @@ interactions: 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: @@ -2006,20 +1789,20 @@ interactions: CommandName: [webapp deployment slot list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots?api-version=2016-08-01 response: body: {string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev","name":"slot-test-web000003/dev","type":"Microsoft.Web/sites/slots","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003(dev)","state":"Running","hostNames":["slot-test-web000003-dev.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-dev.azurewebsites.net","slot-test-web000003-dev.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-dev.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-dev.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:55:46.853","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-dev.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-02-18T02:56:41.511Z","sourceSlotName":"staging","destinationSlotName":"dev"},"httpsOnly":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging","name":"slot-test-web000003/staging","type":"Microsoft.Web/sites/slots","kind":"app","location":"West - US","properties":{"name":"slot-test-web000003(staging)","state":"Running","hostNames":["slot-test-web000003-staging.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-017.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-staging.azurewebsites.net","slot-test-web000003-staging.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-staging.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-02-18T02:56:39.79","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__00a6","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","possibleOutboundIpAddresses":"23.101.206.54,23.101.194.183,23.101.206.60,23.101.205.197","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-017","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-staging.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-02-18T02:56:41.511Z","sourceSlotName":"staging","destinationSlotName":"dev"},"httpsOnly":false}}],"nextLink":null,"id":null}'} + US","properties":{"name":"slot-test-web000003(dev)","state":"Running","hostNames":["slot-test-web000003-dev.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-dev.azurewebsites.net","slot-test-web000003-dev.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-dev.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-dev.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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:38:23.64","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-dev.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-04-25T20:39:16.631Z","sourceSlotName":"staging","destinationSlotName":"dev"},"httpsOnly":false}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging","name":"slot-test-web000003/staging","type":"Microsoft.Web/sites/slots","kind":"app","location":"West + US","properties":{"name":"slot-test-web000003(staging)","state":"Running","hostNames":["slot-test-web000003-staging.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-101.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/slot-test-web000003","repositorySiteName":"slot-test-web000003","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["slot-test-web000003-staging.azurewebsites.net","slot-test-web000003-staging.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"slot-test-web000003-staging.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"slot-test-web000003-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/clitest.rg000001/providers/Microsoft.Web/serverfarms/slot-test-plan000002","reserved":false,"lastModifiedTimeUtc":"2018-04-25T20:39:16.5933333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"slot-test-web000003__ae71","trafficManagerHostNames":null,"sku":"Standard","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"kind":"app","outboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227","possibleOutboundIpAddresses":"52.160.40.218,13.91.101.189,13.91.99.235,13.91.96.245,13.91.100.227,13.91.97.179,13.91.103.21,13.91.99.109,52.224.50.250","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-101","cloningInfo":null,"snapshotInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"slot-test-web000003-staging.azurewebsites.net","slotSwapStatus":{"timestampUtc":"2018-04-25T20:39:16.631Z","sourceSlotName":"staging","destinationSlotName":"dev"},"httpsOnly":false}}],"nextLink":null,"id":null}'} headers: cache-control: [no-cache] - content-length: ['6610'] + content-length: ['6760'] content-type: [application/json] - date: ['Sun, 18 Feb 2018 02:56:54 GMT'] + date: ['Wed, 25 Apr 2018 20:39:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -2027,6 +1810,7 @@ interactions: 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: @@ -2038,8 +1822,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 azure-mgmt-web/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/staging?api-version=2016-08-01 @@ -2048,14 +1832,45 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:56:57 GMT'] - etag: ['"1D3A864194318E0"'] + date: ['Wed, 25 Apr 2018 20:39:54 GMT'] + etag: ['"1D3DCD57A8ABB15"'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + 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 delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 azure-mgmt-web/0.35.0 Azure-SDK-For-Python AZURECLI/2.0.32] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/slot-test-web000003/slots/dev?api-version=2016-08-01&deleteEmptyServerFarm=false&deleteMetrics=false&skipDnsRegistration=false + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Wed, 25 Apr 2018 20:39:59 GMT'] + etag: ['"1D3DCD55AFAB180"'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-aspnet-version: [4.0.30319] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -2067,9 +1882,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.5.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.18 - msrest_azure/0.4.21 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.28] + User-Agent: [python/3.5.3 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.27 + msrest_azure/0.4.26 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.32] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -2078,11 +1893,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Sun, 18 Feb 2018 02:56:57 GMT'] + date: ['Wed, 25 Apr 2018 20:40:02 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdYNElLSTJGQUpQR0JJUFNEUzJZS0FYWFZENkwzRExYVE1RWXw2MjJDMUZERDNFRjUzQ0E3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdNTlBLVFdKU0hERENTTEVBSzRSNU5QRElCVlRFT09VUlVGWHxFNDIzNEQ5NTE0MEQ1NDk4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] 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} version: 1 diff --git a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py index 094b8eddcc2..b3f61ae5854 100644 --- a/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py +++ b/src/command_modules/azure-cli-appservice/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py @@ -520,6 +520,8 @@ def test_webapp_slot(self, resource_group): JMESPathCheck("length([?name=='{}'])".format(slot), 1), ]) self.cmd('webapp deployment slot delete -g {} -n {} --slot {}'.format(resource_group, webapp, slot)) + # try another way to delete a slot and exercise all options + self.cmd('webapp delete -g {} -n {} --slot {} --keep-dns-registration --keep-empty-plan --keep-metrics'.format(resource_group, webapp, slot2)) class WebappSlotTrafficRouting(ScenarioTest):