diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst
index 95a5f345787..8a1e5b8e3ec 100644
--- a/src/azure-cli/HISTORY.rst
+++ b/src/azure-cli/HISTORY.rst
@@ -3,6 +3,9 @@
Release History
===============
+**AppService**
+az webapp create : Fixing issue when running the command with --runtime
+
2.1.0
++++++
diff --git a/src/azure-cli/azure/cli/command_modules/appservice/custom.py b/src/azure-cli/azure/cli/command_modules/appservice/custom.py
index d3ed0ff0bb0..b9214a7d588 100644
--- a/src/azure-cli/azure/cli/command_modules/appservice/custom.py
+++ b/src/azure-cli/azure/cli/command_modules/appservice/custom.py
@@ -132,7 +132,7 @@ def create_webapp(cmd, resource_group_name, name, plan, runtime=None, startup_fi
match = helper.resolve(runtime)
if not match:
raise CLIError("Runtime '{}' is not supported. Please invoke 'list-runtimes' to cross check".format(runtime)) # pylint: disable=line-too-long
- match['setter'](cmd, match, site_config)
+ match['setter'](cmd=cmd, stack=match, site_config=site_config)
# Be consistent with portal: any windows webapp should have this even it doesn't have node in the stack
if not match['displayName'].startswith('node'):
site_config.app_settings.append(NameValuePair(name="WEBSITE_NODE_DEFAULT_VERSION",
@@ -2189,7 +2189,7 @@ def stacks(self):
return self._stacks
@staticmethod
- def update_site_config(stack, site_config):
+ def update_site_config(stack, site_config, cmd=None):
for k, v in stack['configs'].items():
setattr(site_config, k, v)
return site_config
diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_e2e.yaml b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_e2e.yaml
index 1f0ce977e11..7eeeaa66a62 100644
--- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_e2e.yaml
+++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/recordings/test_webapp_e2e.yaml
@@ -13,15 +13,15 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-06T14:19:03Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-20T02:15:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -30,7 +30,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Mon, 06 Jan 2020 14:19:13 GMT
+ - Thu, 20 Feb 2020 02:15:03 GMT
expires:
- '-1'
pragma:
@@ -63,8 +63,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -80,7 +80,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:15 GMT
+ - Thu, 20 Feb 2020 02:15:03 GMT
expires:
- '-1'
pragma:
@@ -118,15 +118,15 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-06T14:19:03Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-20T02:15:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -135,7 +135,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Mon, 06 Jan 2020 14:19:16 GMT
+ - Thu, 20 Feb 2020 02:15:03 GMT
expires:
- '-1'
pragma:
@@ -168,8 +168,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: PUT
@@ -177,8 +177,8 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
headers:
cache-control:
- no-cache
@@ -187,7 +187,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:27 GMT
+ - Thu, 20 Feb 2020 02:15:09 GMT
expires:
- '-1'
pragma:
@@ -205,7 +205,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- - '1196'
+ - '1199'
x-powered-by:
- ASP.NET
status:
@@ -225,8 +225,8 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -234,8 +234,8 @@ interactions:
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}],"nextLink":null,"id":null}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":false,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}],"nextLink":null,"id":null}'
headers:
cache-control:
- no-cache
@@ -244,7 +244,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:29 GMT
+ - Thu, 20 Feb 2020 02:15:09 GMT
expires:
- '-1'
pragma:
@@ -280,15 +280,15 @@ interactions:
ParameterSetName:
- -g -n --per-site-scaling
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-06T14:19:03Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-20T02:15:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -297,7 +297,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Mon, 06 Jan 2020 14:19:30 GMT
+ - Thu, 20 Feb 2020 02:15:09 GMT
expires:
- '-1'
pragma:
@@ -330,8 +330,8 @@ interactions:
ParameterSetName:
- -g -n --per-site-scaling
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -347,7 +347,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:30 GMT
+ - Thu, 20 Feb 2020 02:15:10 GMT
expires:
- '-1'
pragma:
@@ -365,7 +365,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- - '1199'
+ - '1198'
x-powered-by:
- ASP.NET
status:
@@ -385,15 +385,15 @@ interactions:
ParameterSetName:
- -g -n --per-site-scaling
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-resource/6.0.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-resource/8.0.1 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2019-07-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-01-06T14:19:03Z"},"properties":{"provisioningState":"Succeeded"}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","type":"Microsoft.Resources/resourceGroups","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2020-02-20T02:15:01Z"},"properties":{"provisioningState":"Succeeded"}}'
headers:
cache-control:
- no-cache
@@ -402,7 +402,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Mon, 06 Jan 2020 14:19:31 GMT
+ - Thu, 20 Feb 2020 02:15:10 GMT
expires:
- '-1'
pragma:
@@ -435,16 +435,16 @@ interactions:
ParameterSetName:
- -g -n --per-site-scaling
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: PUT
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003?api-version=2019-08-01
response:
body:
- string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"westus","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","sku":{"name":"B1","tier":"Basic","size":"B1","capacity":1},"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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":null,"webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","capacity":1}}'
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"westus","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","sku":{"name":"B1","tier":"Basic","size":"B1","capacity":1},"workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":null,"webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","capacity":1}}'
headers:
cache-control:
- no-cache
@@ -453,7 +453,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:38 GMT
+ - Thu, 20 Feb 2020 02:15:12 GMT
expires:
- '-1'
pragma:
@@ -491,8 +491,8 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -500,8 +500,8 @@ interactions:
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}],"nextLink":null,"id":null}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}],"nextLink":null,"id":null}'
headers:
cache-control:
- no-cache
@@ -510,7 +510,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:39 GMT
+ - Thu, 20 Feb 2020 02:15:13 GMT
expires:
- '-1'
pragma:
@@ -546,8 +546,8 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -555,8 +555,8 @@ interactions:
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}],"nextLink":null,"id":null}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}],"nextLink":null,"id":null}'
headers:
cache-control:
- no-cache
@@ -565,7 +565,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:40 GMT
+ - Thu, 20 Feb 2020 02:15:13 GMT
expires:
- '-1'
pragma:
@@ -601,8 +601,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -610,8 +610,8 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
headers:
cache-control:
- no-cache
@@ -620,7 +620,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:41 GMT
+ - Thu, 20 Feb 2020 02:15:14 GMT
expires:
- '-1'
pragma:
@@ -656,8 +656,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -665,8 +665,8 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
headers:
cache-control:
- no-cache
@@ -675,7 +675,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:43 GMT
+ - Thu, 20 Feb 2020 02:15:14 GMT
expires:
- '-1'
pragma:
@@ -716,8 +716,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -733,7 +733,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:44 GMT
+ - Thu, 20 Feb 2020 02:15:15 GMT
expires:
- '-1'
pragma:
@@ -771,8 +771,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -780,8 +780,8 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":0,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
headers:
cache-control:
- no-cache
@@ -790,7 +790,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:19:45 GMT
+ - Thu, 20 Feb 2020 02:15:15 GMT
expires:
- '-1'
pragma:
@@ -834,8 +834,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: PUT
@@ -843,18 +843,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:19:50.163","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:17.7933333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3524'
+ - '3623'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:08 GMT
+ - Thu, 20 Feb 2020 02:15:33 GMT
etag:
- - '"1D5C49C5BCE80E0"'
+ - '"1D5E7939891D300"'
expires:
- '-1'
pragma:
@@ -896,8 +896,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -906,17 +906,17 @@ interactions:
body:
string:
@@ -928,7 +928,7 @@ interactions:
content-type:
- application/xml
date:
- - Mon, 06 Jan 2020 14:20:09 GMT
+ - Thu, 20 Feb 2020 02:15:34 GMT
expires:
- '-1'
pragma:
@@ -962,8 +962,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -971,8 +971,8 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":1,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":1,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
headers:
cache-control:
- no-cache
@@ -981,7 +981,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:11 GMT
+ - Thu, 20 Feb 2020 02:15:34 GMT
expires:
- '-1'
pragma:
@@ -1022,8 +1022,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -1039,7 +1039,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:12 GMT
+ - Thu, 20 Feb 2020 02:15:34 GMT
expires:
- '-1'
pragma:
@@ -1077,8 +1077,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1086,8 +1086,8 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
- US","properties":{"serverFarmId":26695,"name":"webapp-e2e-plan000003","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":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
- US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":1,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-065_26695","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":1,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
headers:
cache-control:
- no-cache
@@ -1096,7 +1096,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:12 GMT
+ - Thu, 20 Feb 2020 02:15:35 GMT
expires:
- '-1'
pragma:
@@ -1140,8 +1140,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: PUT
@@ -1149,18 +1149,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:15.017","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:36.9","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3524'
+ - '3617'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:16 GMT
+ - Thu, 20 Feb 2020 02:15:37 GMT
etag:
- - '"1D5C49C5BCE80E0"'
+ - '"1D5E7939891D300"'
expires:
- '-1'
pragma:
@@ -1202,8 +1202,8 @@ interactions:
ParameterSetName:
- -g -n --plan
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -1212,17 +1212,17 @@ interactions:
body:
string:
@@ -1234,7 +1234,7 @@ interactions:
content-type:
- application/xml
date:
- - Mon, 06 Jan 2020 14:20:17 GMT
+ - Thu, 20 Feb 2020 02:15:37 GMT
expires:
- '-1'
pragma:
@@ -1268,8 +1268,8 @@ interactions:
ParameterSetName:
- -g
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1277,16 +1277,16 @@ interactions:
response:
body:
string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:15.017","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null}}],"nextLink":null,"id":null}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:36.9","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null}}],"nextLink":null,"id":null}'
headers:
cache-control:
- no-cache
content-length:
- - '3562'
+ - '3655'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:18 GMT
+ - Thu, 20 Feb 2020 02:15:38 GMT
expires:
- '-1'
pragma:
@@ -1322,8 +1322,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1331,18 +1331,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:15.017","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:36.9","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3615'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:19 GMT
+ - Thu, 20 Feb 2020 02:15:38 GMT
etag:
- - '"1D5C49C6A085190"'
+ - '"1D5E793A3A4E840"'
expires:
- '-1'
pragma:
@@ -1378,8 +1378,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1387,18 +1387,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:15.017","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:36.9","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3615'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:19 GMT
+ - Thu, 20 Feb 2020 02:15:38 GMT
etag:
- - '"1D5C49C6A085190"'
+ - '"1D5E793A3A4E840"'
expires:
- '-1'
pragma:
@@ -1438,8 +1438,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -1448,17 +1448,17 @@ interactions:
body:
string:
@@ -1470,7 +1470,7 @@ interactions:
content-type:
- application/xml
date:
- - Mon, 06 Jan 2020 14:20:21 GMT
+ - Thu, 20 Feb 2020 02:15:38 GMT
expires:
- '-1'
pragma:
@@ -1484,7 +1484,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-resource-requests:
- - '11998'
+ - '11999'
x-powered-by:
- ASP.NET
status:
@@ -1504,8 +1504,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1513,18 +1513,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:15.017","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:36.9","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3615'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:22 GMT
+ - Thu, 20 Feb 2020 02:15:39 GMT
etag:
- - '"1D5C49C6A085190"'
+ - '"1D5E793A3A4E840"'
expires:
- '-1'
pragma:
@@ -1565,8 +1565,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: PUT
@@ -1585,9 +1585,9 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:23 GMT
+ - Thu, 20 Feb 2020 02:15:40 GMT
etag:
- - '"1D5C49C6A085190"'
+ - '"1D5E793A3A4E840"'
expires:
- '-1'
pragma:
@@ -1625,24 +1625,24 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
uri: https://management.azure.com/providers/Microsoft.Web/publishingUsers/web?api-version=2019-08-01
response:
body:
- string: '{"id":null,"name":"web","type":"Microsoft.Web/publishingUsers/web","properties":{"name":null,"publishingUserName":null,"publishingPassword":null,"publishingPasswordHash":null,"publishingPasswordHashSalt":null,"metadata":null,"isDeleted":false,"scmUri":null}}'
+ string: '{"id":null,"name":"web","type":"Microsoft.Web/publishingUsers/web","properties":{"name":null,"publishingUserName":"panchagnula","publishingPassword":null,"publishingPasswordHash":null,"publishingPasswordHashSalt":null,"metadata":null,"isDeleted":false,"scmUri":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '258'
+ - '267'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:23 GMT
+ - Thu, 20 Feb 2020 02:15:40 GMT
expires:
- '-1'
pragma:
@@ -1678,8 +1678,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1696,9 +1696,9 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:23 GMT
+ - Thu, 20 Feb 2020 02:15:40 GMT
etag:
- - '"1D5C49C6EDD3230"'
+ - '"1D5E793A5F4F2C0"'
expires:
- '-1'
pragma:
@@ -1734,8 +1734,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1752,9 +1752,9 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:25 GMT
+ - Thu, 20 Feb 2020 02:15:41 GMT
etag:
- - '"1D5C49C6EDD3230"'
+ - '"1D5E793A5F4F2C0"'
expires:
- '-1'
pragma:
@@ -1791,8 +1791,8 @@ interactions:
- -g -n --level --application-logging --detailed-error-messages --failed-request-tracing
--web-server-logging
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1800,18 +1800,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:23.123","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:40.78","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3616'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:26 GMT
+ - Thu, 20 Feb 2020 02:15:42 GMT
etag:
- - '"1D5C49C6EDD3230"'
+ - '"1D5E793A5F4F2C0"'
expires:
- '-1'
pragma:
@@ -1848,8 +1848,8 @@ interactions:
- -g -n --level --application-logging --detailed-error-messages --failed-request-tracing
--web-server-logging
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1857,18 +1857,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:23.123","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:40.78","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3616'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:28 GMT
+ - Thu, 20 Feb 2020 02:15:42 GMT
etag:
- - '"1D5C49C6EDD3230"'
+ - '"1D5E793A5F4F2C0"'
expires:
- '-1'
pragma:
@@ -1912,8 +1912,8 @@ interactions:
- -g -n --level --application-logging --detailed-error-messages --failed-request-tracing
--web-server-logging
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: PUT
@@ -1930,9 +1930,9 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:29 GMT
+ - Thu, 20 Feb 2020 02:15:42 GMT
etag:
- - '"1D5C49C730BE7C0"'
+ - '"1D5E793A78DE240"'
expires:
- '-1'
pragma:
@@ -1950,7 +1950,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- - '1197'
+ - '1199'
x-powered-by:
- ASP.NET
status:
@@ -1970,8 +1970,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -1979,18 +1979,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:30.14","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:43.46","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3521'
+ - '3616'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:31 GMT
+ - Thu, 20 Feb 2020 02:15:43 GMT
etag:
- - '"1D5C49C730BE7C0"'
+ - '"1D5E793A78DE240"'
expires:
- '-1'
pragma:
@@ -2026,8 +2026,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2044,7 +2044,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:31 GMT
+ - Thu, 20 Feb 2020 02:15:44 GMT
expires:
- '-1'
pragma:
@@ -2080,8 +2080,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2100,7 +2100,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:33 GMT
+ - Thu, 20 Feb 2020 02:15:45 GMT
expires:
- '-1'
pragma:
@@ -2140,8 +2140,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -2150,17 +2150,17 @@ interactions:
body:
string:
@@ -2172,7 +2172,7 @@ interactions:
content-type:
- application/xml
date:
- - Mon, 06 Jan 2020 14:20:33 GMT
+ - Thu, 20 Feb 2020 02:15:46 GMT
expires:
- '-1'
pragma:
@@ -2206,8 +2206,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2215,18 +2215,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:30.14","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:43.46","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3521'
+ - '3616'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:36 GMT
+ - Thu, 20 Feb 2020 02:15:45 GMT
etag:
- - '"1D5C49C730BE7C0"'
+ - '"1D5E793A78DE240"'
expires:
- '-1'
pragma:
@@ -2264,8 +2264,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -2279,7 +2279,7 @@ interactions:
content-length:
- '0'
date:
- - Mon, 06 Jan 2020 14:20:36 GMT
+ - Thu, 20 Feb 2020 02:15:46 GMT
expires:
- '-1'
pragma:
@@ -2313,8 +2313,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2322,18 +2322,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Stopped","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:36.63","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Stopped","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:46.97","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3521'
+ - '3616'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:37 GMT
+ - Thu, 20 Feb 2020 02:15:46 GMT
etag:
- - '"1D5C49C76EA3360"'
+ - '"1D5E793A9A577A0"'
expires:
- '-1'
pragma:
@@ -2369,8 +2369,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2378,18 +2378,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Stopped","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:36.63","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Stopped","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:46.97","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3521'
+ - '3616'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:39 GMT
+ - Thu, 20 Feb 2020 02:15:47 GMT
etag:
- - '"1D5C49C76EA3360"'
+ - '"1D5E793A9A577A0"'
expires:
- '-1'
pragma:
@@ -2429,8 +2429,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -2439,17 +2439,17 @@ interactions:
body:
string:
@@ -2461,7 +2461,7 @@ interactions:
content-type:
- application/xml
date:
- - Mon, 06 Jan 2020 14:20:39 GMT
+ - Thu, 20 Feb 2020 02:15:47 GMT
expires:
- '-1'
pragma:
@@ -2495,8 +2495,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2504,18 +2504,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Stopped","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:36.63","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Stopped","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:46.97","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3521'
+ - '3616'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:40 GMT
+ - Thu, 20 Feb 2020 02:15:48 GMT
etag:
- - '"1D5C49C76EA3360"'
+ - '"1D5E793A9A577A0"'
expires:
- '-1'
pragma:
@@ -2553,8 +2553,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -2568,7 +2568,7 @@ interactions:
content-length:
- '0'
date:
- - Mon, 06 Jan 2020 14:20:41 GMT
+ - Thu, 20 Feb 2020 02:15:49 GMT
expires:
- '-1'
pragma:
@@ -2582,7 +2582,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-writes:
- - '1199'
+ - '1198'
x-powered-by:
- ASP.NET
status:
@@ -2602,8 +2602,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2611,18 +2611,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:42.043","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:49.1033333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3621'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:42 GMT
+ - Thu, 20 Feb 2020 02:15:49 GMT
etag:
- - '"1D5C49C7A2428B0"'
+ - '"1D5E793AAEAFCF5"'
expires:
- '-1'
pragma:
@@ -2658,8 +2658,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2667,18 +2667,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:42.043","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:49.1033333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3621'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:43 GMT
+ - Thu, 20 Feb 2020 02:15:49 GMT
etag:
- - '"1D5C49C7A2428B0"'
+ - '"1D5E793AAEAFCF5"'
expires:
- '-1'
pragma:
@@ -2718,8 +2718,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -2728,17 +2728,17 @@ interactions:
body:
string:
@@ -2750,7 +2750,7 @@ interactions:
content-type:
- application/xml
date:
- - Mon, 06 Jan 2020 14:20:45 GMT
+ - Thu, 20 Feb 2020 02:15:49 GMT
expires:
- '-1'
pragma:
@@ -2786,8 +2786,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -2795,7 +2795,7 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002/publishingcredentials/$webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites/publishingcredentials","location":"West
- US","properties":{"name":null,"publishingUserName":"$webapp-e2e000002","publishingPassword":"bJ3XzlxjDPKfuAs08xHky688T8jaK3mKAcQi9ZW72BRz3msGXmuDiTo5QPGC","publishingPasswordHash":null,"publishingPasswordHashSalt":null,"metadata":null,"isDeleted":false,"scmUri":"https://$webapp-e2e000002:bJ3XzlxjDPKfuAs08xHky688T8jaK3mKAcQi9ZW72BRz3msGXmuDiTo5QPGC@webapp-e2e000002.scm.azurewebsites.net"}}'
+ US","properties":{"name":null,"publishingUserName":"$webapp-e2e000002","publishingPassword":"5ZvhY2BErilhDWvSfSnjRJ7vQ21bToGqqg3247ZGbc69Ts5FxwR3EDbadb7N","publishingPasswordHash":null,"publishingPasswordHashSalt":null,"metadata":null,"isDeleted":false,"scmUri":"https://$webapp-e2e000002:5ZvhY2BErilhDWvSfSnjRJ7vQ21bToGqqg3247ZGbc69Ts5FxwR3EDbadb7N@webapp-e2e000002.scm.azurewebsites.net"}}'
headers:
cache-control:
- no-cache
@@ -2804,7 +2804,7 @@ interactions:
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:46 GMT
+ - Thu, 20 Feb 2020 02:15:50 GMT
expires:
- '-1'
pragma:
@@ -2842,8 +2842,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2851,18 +2851,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:42.043","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:49.1033333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3621'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:47 GMT
+ - Thu, 20 Feb 2020 02:15:51 GMT
etag:
- - '"1D5C49C7A2428B0"'
+ - '"1D5E793AAEAFCF5"'
expires:
- '-1'
pragma:
@@ -2898,8 +2898,8 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: GET
@@ -2907,18 +2907,18 @@ interactions:
response:
body:
string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
- US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-065.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-01-06T14:20:42.043","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"60839F6C3360A6C20E82F3D8F9761BB02D3D87EF0712991FEF752B337AA757FA","kind":"app","inboundIpAddress":"40.83.183.236","possibleInboundIpAddresses":"40.83.183.236","outboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","possibleOutboundIpAddresses":"40.83.179.31,40.83.181.84,40.83.183.190,40.83.183.1","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-065","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:49.1033333","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":[],"buildVersion":null,"targetBuildVersion":null}}'
headers:
cache-control:
- no-cache
content-length:
- - '3522'
+ - '3621'
content-type:
- application/json
date:
- - Mon, 06 Jan 2020 14:20:49 GMT
+ - Thu, 20 Feb 2020 02:15:51 GMT
etag:
- - '"1D5C49C7A2428B0"'
+ - '"1D5E793AAEAFCF5"'
expires:
- '-1'
pragma:
@@ -2958,8 +2958,389 @@ interactions:
ParameterSetName:
- -g -n
User-Agent:
- - python/3.7.4 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
- azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.0.79
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
+ accept-language:
+ - en-US
+ method: POST
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002/publishxml?api-version=2019-08-01
+ response:
+ body:
+ string:
+ headers:
+ cache-control:
+ - no-cache
+ content-length:
+ - '1730'
+ content-type:
+ - application/xml
+ date:
+ - Thu, 20 Feb 2020 02:15:51 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
+- request:
+ body: null
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ CommandName:
+ - webapp create
+ Connection:
+ - keep-alive
+ ParameterSetName:
+ - -g -n --plan -r
+ User-Agent:
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
+ accept-language:
+ - en-US
+ method: GET
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003?api-version=2019-08-01
+ response:
+ body:
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":1,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ headers:
+ cache-control:
+ - no-cache
+ content-length:
+ - '1523'
+ content-type:
+ - application/json
+ date:
+ - Thu, 20 Feb 2020 02:15:52 GMT
+ expires:
+ - '-1'
+ pragma:
+ - no-cache
+ server:
+ - Microsoft-IIS/10.0
+ strict-transport-security:
+ - max-age=31536000; includeSubDomains
+ transfer-encoding:
+ - chunked
+ vary:
+ - Accept-Encoding
+ x-aspnet-version:
+ - 4.0.30319
+ x-content-type-options:
+ - nosniff
+ x-powered-by:
+ - ASP.NET
+ status:
+ code: 200
+ message: OK
+- request:
+ body: 'b''{"name": "webapp-e2e000002", "type": "Microsoft.Web/sites", "location":
+ "West US", "properties": {"serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003"}}'''
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ CommandName:
+ - webapp create
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '329'
+ Content-Type:
+ - application/json; charset=utf-8
+ ParameterSetName:
+ - -g -n --plan -r
+ User-Agent:
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
+ accept-language:
+ - en-US
+ method: POST
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/validate?api-version=2019-08-01
+ response:
+ body:
+ string: '{"status":"Success","error":null}'
+ headers:
+ cache-control:
+ - no-cache
+ content-length:
+ - '33'
+ content-type:
+ - application/json
+ date:
+ - Thu, 20 Feb 2020 02:15:52 GMT
+ expires:
+ - '-1'
+ pragma:
+ - no-cache
+ server:
+ - Microsoft-IIS/10.0
+ strict-transport-security:
+ - max-age=31536000; includeSubDomains
+ transfer-encoding:
+ - chunked
+ vary:
+ - Accept-Encoding
+ x-aspnet-version:
+ - 4.0.30319
+ x-content-type-options:
+ - nosniff
+ x-ms-ratelimit-remaining-subscription-writes:
+ - '1199'
+ x-powered-by:
+ - ASP.NET
+ status:
+ code: 200
+ message: OK
+- request:
+ body: null
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ CommandName:
+ - webapp create
+ Connection:
+ - keep-alive
+ ParameterSetName:
+ - -g -n --plan -r
+ User-Agent:
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
+ accept-language:
+ - en-US
+ method: GET
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003?api-version=2019-08-01
+ response:
+ body:
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003","name":"webapp-e2e-plan000003","type":"Microsoft.Web/serverfarms","kind":"app","location":"West
+ US","properties":{"serverFarmId":13657,"name":"webapp-e2e-plan000003","workerSize":"Default","workerSizeId":0,"workerTierName":null,"numberOfWorkers":1,"currentWorkerSize":"Default","currentWorkerSizeId":0,"currentNumberOfWorkers":1,"status":"Ready","webSpace":"clitest.rg000001-WestUSwebspace","subscription":"e483435e-282d-4ac1-92b5-d6123f2aa360","adminSiteName":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"maximumNumberOfWorkers":3,"planName":"VirtualDedicatedPlan","adminRuntimeSiteName":null,"computeMode":"Dedicated","siteMode":null,"geoRegion":"West
+ US","perSiteScaling":true,"maximumElasticWorkerCount":1,"numberOfSites":1,"hostingEnvironmentId":null,"isSpot":false,"spotExpirationTime":null,"freeOfferExpirationTime":null,"tags":null,"kind":"app","resourceGroup":"clitest.rg000001","reserved":false,"isXenon":false,"hyperV":false,"mdmId":"waws-prod-bay-137_13657","targetWorkerCount":0,"targetWorkerSizeId":0,"provisioningState":"Succeeded","webSiteId":null,"existingServerFarmIds":null},"sku":{"name":"B1","tier":"Basic","size":"B1","family":"B","capacity":1}}'
+ headers:
+ cache-control:
+ - no-cache
+ content-length:
+ - '1523'
+ content-type:
+ - application/json
+ date:
+ - Thu, 20 Feb 2020 02:15:53 GMT
+ expires:
+ - '-1'
+ pragma:
+ - no-cache
+ server:
+ - Microsoft-IIS/10.0
+ strict-transport-security:
+ - max-age=31536000; includeSubDomains
+ transfer-encoding:
+ - chunked
+ vary:
+ - Accept-Encoding
+ x-aspnet-version:
+ - 4.0.30319
+ x-content-type-options:
+ - nosniff
+ x-powered-by:
+ - ASP.NET
+ status:
+ code: 200
+ message: OK
+- request:
+ body: null
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ CommandName:
+ - webapp create
+ Connection:
+ - keep-alive
+ ParameterSetName:
+ - -g -n --plan -r
+ User-Agent:
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
+ accept-language:
+ - en-US
+ method: GET
+ uri: https://management.azure.com/providers/Microsoft.Web/availableStacks?osTypeSelected=Windows&api-version=2019-08-01
+ response:
+ body:
+ string: '{"value":[{"id":null,"name":"aspnet","type":"Microsoft.Web/availableStacks?osTypeSelected=Windows","properties":{"name":"aspnet","display":"ASP.NET","dependency":null,"majorVersions":[{"displayVersion":"V4.7","runtimeVersion":"v4.0","isDefault":true,"minorVersions":[],"applicationInsights":true,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"V3.5","runtimeVersion":"v2.0","isDefault":false,"minorVersions":[],"applicationInsights":true,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":[],"isDeprecated":null}},{"id":null,"name":"dotnetcore","type":"Microsoft.Web/availableStacks?osTypeSelected=Windows","properties":{"name":"dotnetcore","display":".NET
+ Core","dependency":null,"majorVersions":[{"displayVersion":"1.0","runtimeVersion":null,"isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"1.1","runtimeVersion":null,"isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"2.1","runtimeVersion":null,"isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"2.2","runtimeVersion":null,"isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"3.0","runtimeVersion":null,"isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":[],"isDeprecated":null}},{"id":null,"name":"node","type":"Microsoft.Web/availableStacks?osTypeSelected=Windows","properties":{"name":"node","display":"Node","dependency":null,"majorVersions":[{"displayVersion":"0.6","runtimeVersion":"0.6","isDefault":false,"minorVersions":[{"displayVersion":"0.6.20","runtimeVersion":"0.6.20","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"0.8","runtimeVersion":"0.8","isDefault":false,"minorVersions":[{"displayVersion":"0.8.2","runtimeVersion":"0.8.2","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.8.19","runtimeVersion":"0.8.19","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.8.26","runtimeVersion":"0.8.26","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.8.27","runtimeVersion":"0.8.27","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.8.28","runtimeVersion":"0.8.28","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"0.10","runtimeVersion":"0.10","isDefault":false,"minorVersions":[{"displayVersion":"0.10.5","runtimeVersion":"0.10.5","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.18","runtimeVersion":"0.10.18","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.21","runtimeVersion":"0.10.21","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.24","runtimeVersion":"0.10.24","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.28","runtimeVersion":"0.10.28","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.29","runtimeVersion":"0.10.29","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.31","runtimeVersion":"0.10.31","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.32","runtimeVersion":"0.10.32","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.40","runtimeVersion":"0.10.40","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.10.5","runtimeVersion":"0.10.5","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"0.12","runtimeVersion":"0.12","isDefault":false,"minorVersions":[{"displayVersion":"0.12.0","runtimeVersion":"0.12.0","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.12.2","runtimeVersion":"0.12.2","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.12.3","runtimeVersion":"0.12.3","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"0.12.6","runtimeVersion":"0.12.6","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"4.8","runtimeVersion":"4.8","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"6.5","runtimeVersion":"6.5","isDefault":false,"minorVersions":[{"displayVersion":"6.5.0","runtimeVersion":"6.5.0","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"6.9","runtimeVersion":"6.9","isDefault":false,"minorVersions":[{"displayVersion":"6.9.1","runtimeVersion":"6.9.1","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"6.9.5","runtimeVersion":"6.9.5","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"6.12","runtimeVersion":"6.12","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"7.10","runtimeVersion":"7.10","isDefault":false,"minorVersions":[{"displayVersion":"7.10.1","runtimeVersion":"7.10.1","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"8.1","runtimeVersion":"8.1","isDefault":false,"minorVersions":[{"displayVersion":"8.1.4","runtimeVersion":"8.1.4","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"8.4","runtimeVersion":"8.4","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"8.5","runtimeVersion":"8.5","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"8.9","runtimeVersion":"8.9","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"8.10","runtimeVersion":"8.10","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"8.11","runtimeVersion":"8.11","isDefault":true,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"10.0","runtimeVersion":"10.0","isDefault":false,"minorVersions":[{"displayVersion":"10.0.0","runtimeVersion":"10.0.0","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"10.6","runtimeVersion":"10.6","isDefault":false,"minorVersions":[{"displayVersion":"10.6.0","runtimeVersion":"10.6.0","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"10.14","runtimeVersion":"10.14","isDefault":false,"minorVersions":[{"displayVersion":"10.14.0","runtimeVersion":"10.14.0","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"10.15","runtimeVersion":"10.15","isDefault":false,"minorVersions":[{"displayVersion":"10.15.2","runtimeVersion":"10.15.2","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":[],"isDeprecated":null}},{"id":null,"name":"php","type":"Microsoft.Web/availableStacks?osTypeSelected=Windows","properties":{"name":"php","display":"PHP","dependency":null,"majorVersions":[{"displayVersion":"5.6","runtimeVersion":"5.6","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"7.0","runtimeVersion":"7.0","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"7.1","runtimeVersion":"7.1","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"7.2","runtimeVersion":"7.2","isDefault":true,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"7.3","runtimeVersion":"7.3","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":[],"isDeprecated":null}},{"id":null,"name":"python","type":"Microsoft.Web/availableStacks?osTypeSelected=Windows","properties":{"name":"python","display":"Python","dependency":null,"majorVersions":[{"displayVersion":"2.7","runtimeVersion":"2.7","isDefault":false,"minorVersions":[{"displayVersion":"2.7","runtimeVersion":"2.7.3","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"3.6","runtimeVersion":"3.4","isDefault":false,"minorVersions":[{"displayVersion":"3.6","runtimeVersion":"3.4.0","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":[],"isDeprecated":null}},{"id":null,"name":"java","type":"Microsoft.Web/availableStacks?osTypeSelected=Windows","properties":{"name":"java","display":"Java","dependency":null,"majorVersions":[{"displayVersion":"1.7","runtimeVersion":"1.7","isDefault":false,"minorVersions":[{"displayVersion":"1.7.0_51
+ (Oracle)","runtimeVersion":"1.7.0_51","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.7.0_71
+ (Oracle)","runtimeVersion":"1.7.0_71","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.7.0_80
+ (Oracle)","runtimeVersion":"1.7.0_80","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.7.0_191
+ (Azul)","runtimeVersion":"1.7.0_191_ZULU","isDefault":true,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.7.0_222
+ (Azul)","runtimeVersion":"1.7.0_222_ZULU","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":true,"isHidden":false},{"displayVersion":"1.8","runtimeVersion":"1.8","isDefault":true,"minorVersions":[{"displayVersion":"1.8.0_25
+ (Oracle)","runtimeVersion":"1.8.0_25","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_60
+ (Oracle)","runtimeVersion":"1.8.0_60","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_73
+ (Oracle)","runtimeVersion":"1.8.0_73","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_92
+ (Azul)","runtimeVersion":"1.8.0_92","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_102
+ (Azul)","runtimeVersion":"1.8.0_102","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_111
+ (Oracle)","runtimeVersion":"1.8.0_111","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_144
+ (Azul)","runtimeVersion":"1.8.0_144","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_172
+ (Oracle)","runtimeVersion":"1.8.0_172","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_172
+ (Azul)","runtimeVersion":"1.8.0_172_ZULU","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_181
+ (Oracle)","runtimeVersion":"1.8.0_181","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_181
+ (Azul)","runtimeVersion":"1.8.0_181_ZULU","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_202
+ (Oracle)","runtimeVersion":"1.8.0_202","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_202
+ (Azul)","runtimeVersion":"1.8.0_202_ZULU","isDefault":true,"isRemoteDebuggingEnabled":false},{"displayVersion":"1.8.0_212
+ (Azul)","runtimeVersion":"1.8.0_212_ZULU","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"11","runtimeVersion":"11","isDefault":false,"minorVersions":[{"displayVersion":"11.0.2
+ (Azul)","runtimeVersion":"11.0.2_ZULU","isDefault":true,"isRemoteDebuggingEnabled":false},{"displayVersion":"11.0.3
+ (Azul)","runtimeVersion":"11.0.3_ZULU","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":[],"isDeprecated":null}},{"id":null,"name":"javaContainers","type":"Microsoft.Web/availableStacks?osTypeSelected=Windows","properties":{"name":"javaContainers","display":"Java","dependency":"java","majorVersions":[],"frameworks":[{"name":"tomcat","display":"Tomcat","dependency":null,"majorVersions":[{"displayVersion":"7.0","runtimeVersion":"7.0","isDefault":false,"minorVersions":[{"displayVersion":"7.0.50","runtimeVersion":"7.0.50","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"7.0.62","runtimeVersion":"7.0.62","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"7.0.81","runtimeVersion":"7.0.81","isDefault":true,"isRemoteDebuggingEnabled":false},{"displayVersion":"7.0.94","runtimeVersion":"7.0.94","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":true,"isHidden":false},{"displayVersion":"8.0","runtimeVersion":"8.0","isDefault":false,"minorVersions":[{"displayVersion":"8.0.23","runtimeVersion":"8.0.23","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"8.0.46","runtimeVersion":"8.0.46","isDefault":true,"isRemoteDebuggingEnabled":false},{"displayVersion":"8.0.53","runtimeVersion":"8.0.53","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":true,"isHidden":false},{"displayVersion":"8.5","runtimeVersion":"8.5","isDefault":false,"minorVersions":[{"displayVersion":"8.5.6","runtimeVersion":"8.5.6","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"8.5.20","runtimeVersion":"8.5.20","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"8.5.31","runtimeVersion":"8.5.31","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"8.5.34","runtimeVersion":"8.5.34","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"8.5.37","runtimeVersion":"8.5.37","isDefault":true,"isRemoteDebuggingEnabled":false},{"displayVersion":"8.5.42","runtimeVersion":"8.5.42","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"9.0","runtimeVersion":"9.0","isDefault":true,"minorVersions":[{"displayVersion":"9.0.0","runtimeVersion":"9.0.0","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"9.0.8","runtimeVersion":"9.0.8","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"9.0.12","runtimeVersion":"9.0.12","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"9.0.14","runtimeVersion":"9.0.14","isDefault":true,"isRemoteDebuggingEnabled":false},{"displayVersion":"9.0.21","runtimeVersion":"9.0.21","isDefault":false,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":null,"isDeprecated":null},{"name":"jetty","display":"Jetty","dependency":null,"majorVersions":[{"displayVersion":"9.1","runtimeVersion":"9.1","isDefault":false,"minorVersions":[{"displayVersion":"9.1.0","runtimeVersion":"9.1.0.20131115","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false},{"displayVersion":"9.3","runtimeVersion":"9.3","isDefault":true,"minorVersions":[{"displayVersion":"9.3.13","runtimeVersion":"9.3.13.20161014","isDefault":false,"isRemoteDebuggingEnabled":false},{"displayVersion":"9.3.25","runtimeVersion":"9.3.25.20180904","isDefault":true,"isRemoteDebuggingEnabled":false}],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":null,"isDeprecated":null},{"name":"java","display":"Java","dependency":null,"majorVersions":[{"displayVersion":"SE","runtimeVersion":"SE","isDefault":false,"minorVersions":[],"applicationInsights":false,"isPreview":false,"isDeprecated":false,"isHidden":false}],"frameworks":null,"isDeprecated":null}],"isDeprecated":null}}],"nextLink":null,"id":null}'
+ headers:
+ cache-control:
+ - no-cache
+ content-length:
+ - '17080'
+ content-type:
+ - application/json
+ date:
+ - Thu, 20 Feb 2020 02:15:53 GMT
+ expires:
+ - '-1'
+ pragma:
+ - no-cache
+ server:
+ - Microsoft-IIS/10.0
+ strict-transport-security:
+ - max-age=31536000; includeSubDomains
+ transfer-encoding:
+ - chunked
+ vary:
+ - Accept-Encoding
+ x-aspnet-version:
+ - 4.0.30319
+ x-content-type-options:
+ - nosniff
+ x-powered-by:
+ - ASP.NET
+ status:
+ code: 200
+ message: OK
+- request:
+ body: 'b''{"location": "West US", "properties": {"serverFarmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/serverfarms/webapp-e2e-plan000003",
+ "reserved": false, "isXenon": false, "hyperV": false, "siteConfig": {"netFrameworkVersion":
+ "v4.6", "phpVersion": "7.3", "appSettings": [{"name": "WEBSITE_NODE_DEFAULT_VERSION",
+ "value": "10.14"}], "localMySqlEnabled": false, "http20Enabled": true}, "scmSiteAlsoStopped":
+ false, "httpsOnly": false}}'''
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ CommandName:
+ - webapp create
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '561'
+ Content-Type:
+ - application/json; charset=utf-8
+ ParameterSetName:
+ - -g -n --plan -r
+ User-Agent:
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
+ accept-language:
+ - en-US
+ method: PUT
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002?api-version=2019-08-01
+ response:
+ body:
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002","name":"webapp-e2e000002","type":"Microsoft.Web/sites","kind":"app","location":"West
+ US","properties":{"name":"webapp-e2e000002","state":"Running","hostNames":["webapp-e2e000002.azurewebsites.net"],"webSpace":"clitest.rg000001-WestUSwebspace","selfLink":"https://waws-prod-bay-137.api.azurewebsites.windows.net:454/subscriptions/00000000-0000-0000-0000-000000000000/webspaces/clitest.rg000001-WestUSwebspace/sites/webapp-e2e000002","repositorySiteName":"webapp-e2e000002","owner":null,"usageState":"Normal","enabled":true,"adminEnabled":true,"enabledHostNames":["webapp-e2e000002.azurewebsites.net","webapp-e2e000002.scm.azurewebsites.net"],"siteProperties":{"metadata":null,"properties":[{"name":"LinuxFxVersion","value":""},{"name":"WindowsFxVersion","value":null}],"appSettings":null},"availabilityState":"Normal","sslCertificates":null,"csrs":[],"cers":null,"siteMode":null,"hostNameSslStates":[{"name":"webapp-e2e000002.azurewebsites.net","sslState":"Disabled","ipBasedSslResult":null,"virtualIP":null,"thumbprint":null,"toUpdate":null,"toUpdateIpBasedSsl":null,"ipBasedSslState":"NotConfigured","hostType":"Standard"},{"name":"webapp-e2e000002.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/webapp-e2e-plan000003","reserved":false,"isXenon":false,"hyperV":false,"lastModifiedTimeUtc":"2020-02-20T02:15:54.8366667","storageRecoveryDefaultState":"Running","contentAvailabilityState":"Normal","runtimeAvailabilityState":"Normal","siteConfig":null,"deploymentId":"webapp-e2e000002","trafficManagerHostNames":null,"sku":"Basic","scmSiteAlsoStopped":false,"targetSwapSlot":null,"hostingEnvironment":null,"hostingEnvironmentProfile":null,"clientAffinityEnabled":true,"clientCertEnabled":false,"clientCertExclusionPaths":null,"hostNamesDisabled":false,"domainVerificationIdentifiers":null,"customDomainVerificationId":"E23DBA56BCD0662A21A876967C7A7AE5086466834430706D3AC38BD18E2BF13B","kind":"app","inboundIpAddress":"40.112.243.6","possibleInboundIpAddresses":"40.112.243.6","outboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182","possibleOutboundIpAddresses":"40.112.243.6,13.93.220.248,13.93.221.96,13.93.221.41,13.93.220.182,13.93.221.147,13.93.220.112,13.91.111.88,13.93.220.5,13.93.220.231","containerSize":0,"dailyMemoryTimeQuota":0,"suspendedTill":null,"siteDisabledReason":0,"functionExecutionUnitsCache":null,"maxNumberOfWorkers":null,"homeStamp":"waws-prod-bay-137","cloningInfo":null,"hostingEnvironmentId":null,"tags":null,"resourceGroup":"clitest.rg000001","defaultHostName":"webapp-e2e000002.azurewebsites.net","slotSwapStatus":null,"httpsOnly":false,"redundancyMode":"None","inProgressOperationId":null,"geoDistributions":null,"privateEndpointConnections":null,"buildVersion":null,"targetBuildVersion":null}}'
+ headers:
+ cache-control:
+ - no-cache
+ content-length:
+ - '3623'
+ content-type:
+ - application/json
+ date:
+ - Thu, 20 Feb 2020 02:15:55 GMT
+ etag:
+ - '"1D5E793AAEAFCF5"'
+ expires:
+ - '-1'
+ pragma:
+ - no-cache
+ server:
+ - Microsoft-IIS/10.0
+ strict-transport-security:
+ - max-age=31536000; includeSubDomains
+ transfer-encoding:
+ - chunked
+ vary:
+ - Accept-Encoding
+ x-aspnet-version:
+ - 4.0.30319
+ x-content-type-options:
+ - nosniff
+ x-ms-ratelimit-remaining-subscription-resource-requests:
+ - '499'
+ x-powered-by:
+ - ASP.NET
+ status:
+ code: 200
+ message: OK
+- request:
+ body: '{}'
+ headers:
+ Accept:
+ - application/xml
+ Accept-Encoding:
+ - gzip, deflate
+ CommandName:
+ - webapp create
+ Connection:
+ - keep-alive
+ Content-Length:
+ - '2'
+ Content-Type:
+ - application/json; charset=utf-8
+ ParameterSetName:
+ - -g -n --plan -r
+ User-Agent:
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
accept-language:
- en-US
method: POST
@@ -2968,17 +3349,17 @@ interactions:
body:
string:
@@ -2990,7 +3371,7 @@ interactions:
content-type:
- application/xml
date:
- - Mon, 06 Jan 2020 14:20:50 GMT
+ - Thu, 20 Feb 2020 02:15:55 GMT
expires:
- '-1'
pragma:
@@ -3004,7 +3385,63 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-subscription-resource-requests:
- - '11998'
+ - '11999'
+ x-powered-by:
+ - ASP.NET
+ status:
+ code: 200
+ message: OK
+- request:
+ body: null
+ headers:
+ Accept:
+ - application/json
+ Accept-Encoding:
+ - gzip, deflate
+ CommandName:
+ - webapp config show
+ Connection:
+ - keep-alive
+ ParameterSetName:
+ - -g -n
+ User-Agent:
+ - python/3.7.5 (Windows-10-10.0.18362-SP0) msrest/0.6.10 msrest_azure/0.6.2
+ azure-mgmt-web/0.44.0 Azure-SDK-For-Python AZURECLI/2.1.0
+ accept-language:
+ - en-US
+ method: GET
+ uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002/config/web?api-version=2019-08-01
+ response:
+ body:
+ string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Web/sites/webapp-e2e000002/config/web","name":"webapp-e2e000002","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":"7.3","pythonVersion":"","nodeVersion":"","linuxFxVersion":"","windowsFxVersion":null,"requestTracingEnabled":true,"requestTracingExpirationTime":"9999-12-31T23:59:00Z","remoteDebuggingEnabled":false,"remoteDebuggingVersion":null,"httpLoggingEnabled":true,"azureMonitorLogCategories":null,"logsDirectorySizeLimit":100,"detailedErrorLoggingEnabled":true,"publishingUsername":"$webapp-e2e000002","publishingPassword":null,"appSettings":null,"metadata":null,"connectionStrings":null,"machineKey":null,"handlerMappings":null,"documentRoot":null,"scmType":"LocalGit","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,"clientSecretCertificateThumbprint":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,"apiManagementConfig":null,"autoSwapSlotName":null,"localMySqlEnabled":false,"managedServiceIdentityId":null,"xManagedServiceIdentityId":null,"ipSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow
+ all","description":"Allow all access"}],"scmIpSecurityRestrictions":[{"ipAddress":"Any","action":"Allow","priority":1,"name":"Allow
+ all","description":"Allow all access"}],"scmIpSecurityRestrictionsUseMain":false,"http20Enabled":true,"minTlsVersion":"1.2","ftpsState":"AllAllowed","preWarmedInstanceCount":0,"healthCheckPath":null,"fileChangeAuditEnabled":false,"functionsRuntimeScaleMonitoringEnabled":false,"websiteTimeZone":null}}'
+ headers:
+ cache-control:
+ - no-cache
+ content-length:
+ - '3142'
+ content-type:
+ - application/json
+ date:
+ - Thu, 20 Feb 2020 02:15:56 GMT
+ expires:
+ - '-1'
+ pragma:
+ - no-cache
+ server:
+ - Microsoft-IIS/10.0
+ strict-transport-security:
+ - max-age=31536000; includeSubDomains
+ transfer-encoding:
+ - chunked
+ vary:
+ - Accept-Encoding
+ x-aspnet-version:
+ - 4.0.30319
+ x-content-type-options:
+ - nosniff
x-powered-by:
- ASP.NET
status:
diff --git a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py
index d4f2755a46a..76db666ca45 100644
--- a/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py
+++ b/src/azure-cli/azure/cli/command_modules/appservice/tests/latest/test_webapp_commands.py
@@ -37,7 +37,9 @@ def test_webapp_e2e(self, resource_group):
JMESPathCheck('[0].name', plan),
JMESPathCheck('[0].perSiteScaling', False)
])
- self.cmd('appservice plan create -g {} -n {} --per-site-scaling'.format(resource_group, plan)) # test idempotency
+ # test idempotency
+ self.cmd(
+ 'appservice plan create -g {} -n {} --per-site-scaling'.format(resource_group, plan))
self.cmd('appservice plan list -g {}'.format(resource_group), checks=[
JMESPathCheck('length(@)', 1),
JMESPathCheck('[0].name', plan),
@@ -46,7 +48,8 @@ def test_webapp_e2e(self, resource_group):
JMESPathCheck('[0].perSiteScaling', True)
])
self.cmd('appservice plan list -g {}'.format(resource_group), checks=[
- JMESPathCheck("length([?name=='{}' && resourceGroup=='{}'])".format(plan, resource_group), 1)
+ JMESPathCheck("length([?name=='{}' && resourceGroup=='{}'])".format(
+ plan, resource_group), 1)
])
self.cmd('appservice plan show -g {} -n {}'.format(resource_group, plan), checks=[
JMESPathCheck('name', plan)
@@ -56,20 +59,24 @@ def test_webapp_e2e(self, resource_group):
JMESPathCheck('name', webapp_name),
JMESPathCheck('hostNames[0]', webapp_name + '.azurewebsites.net')
])
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan)) # test idempotency
+ self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group,
+ webapp_name, plan)) # test idempotency
self.cmd('webapp list -g {}'.format(resource_group), checks=[
JMESPathCheck('length(@)', 1),
JMESPathCheck('[0].name', webapp_name),
- JMESPathCheck('[0].hostNames[0]', webapp_name + '.azurewebsites.net')
+ JMESPathCheck('[0].hostNames[0]', webapp_name +
+ '.azurewebsites.net')
])
self.cmd('webapp show -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('name', webapp_name),
JMESPathCheck('hostNames[0]', webapp_name + '.azurewebsites.net')
])
- result = self.cmd('webapp deployment source config-local-git -g {} -n {}'.format(resource_group, webapp_name)).get_output_in_json()
+ result = self.cmd('webapp deployment source config-local-git -g {} -n {}'.format(
+ resource_group, webapp_name)).get_output_in_json()
self.assertTrue(result['url'].endswith(webapp_name + '.git'))
self.cmd('webapp deployment source show -g {} -n {}'.format(resource_group, webapp_name), checks=[
- JMESPathCheck('repoUrl', 'https://{}.scm.azurewebsites.net'.format(webapp_name))
+ JMESPathCheck(
+ 'repoUrl', 'https://{}.scm.azurewebsites.net'.format(webapp_name))
])
# turn on diagnostics
test_cmd = ('webapp log config -g {} -n {} --level verbose'.format(resource_group, webapp_name) + ' '
@@ -87,7 +94,8 @@ def test_webapp_e2e(self, resource_group):
# TODO: contact webapp team for where to retrieve 'level'
])
# show publish profile info
- result = self.cmd('webapp deployment list-publishing-profiles -g {} -n {}'.format(resource_group, webapp_name)).get_output_in_json()
+ result = self.cmd('webapp deployment list-publishing-profiles -g {} -n {}'.format(
+ resource_group, webapp_name)).get_output_in_json()
self.assertTrue(result[1]['publishUrl'].startswith('ftp://'))
self.cmd('webapp stop -g {} -n {}'.format(resource_group, webapp_name))
self.cmd('webapp show -g {} -n {}'.format(resource_group, webapp_name), checks=[
@@ -100,13 +108,21 @@ def test_webapp_e2e(self, resource_group):
JMESPathCheck('name', webapp_name)
])
# show publishing credentials
- result = self.cmd('webapp deployment list-publishing-credentials -g {} -n {}'.format(resource_group, webapp_name)).get_output_in_json()
+ result = self.cmd('webapp deployment list-publishing-credentials -g {} -n {}'.format(
+ resource_group, webapp_name)).get_output_in_json()
self.assertTrue('scm' in result['scmUri'])
# verify httpsOnly is false
self.cmd('webapp show -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('httpsOnly', False),
])
+ # verify creating an non node app using --runtime
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {} -r "php|7.3"'.format(resource_group, webapp_name, plan))
+ self.cmd('webapp config show -g {} -n {}'.format(resource_group, webapp_name), checks=[
+ JMESPathCheck('phpVersion', '7.3')
+ ])
+
def test_webapp_runtimes(self):
self.cmd('webapp list-runtimes')
@@ -117,7 +133,8 @@ def test_win_webapp_quick_create(self, resource_group):
webapp_name = self.create_random_name(prefix='webapp-quick', length=24)
plan = self.create_random_name(prefix='plan-quick', length=24)
self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan))
- r = self.cmd('webapp create -g {} -n {} --plan {} --deployment-local-git'.format(resource_group, webapp_name, plan)).get_output_in_json()
+ r = self.cmd('webapp create -g {} -n {} --plan {} --deployment-local-git'.format(
+ resource_group, webapp_name, plan)).get_output_in_json()
self.assertTrue(r['ftpPublishingUrl'].startswith('ftp://'))
self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name, checks=[
JMESPathCheck('[0].name', 'WEBSITE_NODE_DEFAULT_VERSION'),
@@ -129,7 +146,8 @@ def test_win_webapp_quick_create_runtime(self, resource_group):
webapp_name = self.create_random_name(prefix='webapp-quick', length=24)
plan = self.create_random_name(prefix='plan-quick', length=24)
self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan))
- r = self.cmd('webapp create -g {} -n {} --plan {} --deployment-local-git -r "node|6.12"'.format(resource_group, webapp_name, plan)).get_output_in_json()
+ r = self.cmd('webapp create -g {} -n {} --plan {} --deployment-local-git -r "node|6.12"'.format(
+ resource_group, webapp_name, plan)).get_output_in_json()
self.assertTrue(r['ftpPublishingUrl'].startswith('ftp://'))
self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name, checks=[
JMESPathCheck('[0].name', 'WEBSITE_NODE_DEFAULT_VERSION'),
@@ -138,24 +156,30 @@ def test_win_webapp_quick_create_runtime(self, resource_group):
@ResourceGroupPreparer()
def test_win_webapp_quick_create_cd(self, resource_group):
- webapp_name = self.create_random_name(prefix='webapp-quick-cd', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-quick-cd', length=24)
plan = self.create_random_name(prefix='plan-quick', length=24)
self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan))
self.cmd('webapp create -g {} -n {} --plan {} --deployment-source-url {} -r "node|6.12"'.format(
resource_group, webapp_name, plan, TEST_REPO_URL))
- time.sleep(30) # 30 seconds should be enough for the deployment finished(Skipped under playback mode)
+ # 30 seconds should be enough for the deployment finished(Skipped under playback mode)
+ time.sleep(30)
r = requests.get('http://{}.azurewebsites.net'.format(webapp_name))
# verify the web page
self.assertTrue('Hello world' in str(r.content))
@ResourceGroupPreparer(location='japaneast')
def test_linux_webapp_quick_create(self, resource_group):
- webapp_name = self.create_random_name(prefix='webapp-quick-linux', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-quick-linux', length=24)
plan = self.create_random_name(prefix='plan-quick-linux', length=24)
- self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {} -i patle/ruby-hello'.format(resource_group, webapp_name, plan))
- r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
+ self.cmd(
+ 'appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
+ self.cmd('webapp create -g {} -n {} --plan {} -i patle/ruby-hello'.format(
+ resource_group, webapp_name, plan))
+ r = requests.get(
+ 'http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
# verify the web page
self.assertTrue('Ruby on Rails in Web Apps on Linux' in str(r.content))
# verify app settings
@@ -166,43 +190,54 @@ def test_linux_webapp_quick_create(self, resource_group):
@ResourceGroupPreparer()
def test_linux_webapp_multicontainer_create(self, resource_group):
- webapp_name = self.create_random_name(prefix='webapp-linux-multi', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-linux-multi', length=24)
plan = self.create_random_name(prefix='plan-linux-multi', length=24)
config_file = os.path.join(TEST_DIR, 'sample-compose.yml')
- self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
self.cmd("webapp create -g {} -n {} --plan {} --multicontainer-config-file \"{}\" "
"--multicontainer-config-type COMPOSE".format(resource_group, webapp_name, plan, config_file))
last_number_seen = 99999999
for x in range(0, 10):
- r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
+ r = requests.get(
+ 'http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
# verify the web page
self.assertTrue('Hello World! I have been seen' in str(r.content))
- current_number = [int(s) for s in r.content.split() if s.isdigit()][0]
+ current_number = [int(s)
+ for s in r.content.split() if s.isdigit()][0]
self.assertNotEqual(current_number, last_number_seen)
last_number_seen = current_number
@ResourceGroupPreparer(location='japanwest')
def test_linux_webapp_quick_create_cd(self, resource_group):
- webapp_name = self.create_random_name(prefix='webapp-linux-cd', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-linux-cd', length=24)
plan = 'plan-quick-linux-cd'
- self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
self.cmd('webapp create -g {} -n {} --plan {} -u {} -r "node|10.14"'.format(resource_group, webapp_name,
plan, TEST_REPO_URL))
- time.sleep(45) # 45 seconds should be enough for the deployment finished(Skipped under playback mode)
- r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
+ # 45 seconds should be enough for the deployment finished(Skipped under playback mode)
+ time.sleep(45)
+ r = requests.get(
+ 'http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
# verify the web page
if 'Hello world' not in str(r.content):
# dump out more info for diagnose
- self.fail("'Hello world' is not found in the web page. We get instead:" + str(r.content))
+ self.fail(
+ "'Hello world' is not found in the web page. We get instead:" + str(r.content))
@ResourceGroupPreparer(parameter_name='resource_group', parameter_name_for_location='resource_group_location')
@ResourceGroupPreparer(parameter_name='resource_group2', parameter_name_for_location='resource_group_location2')
def test_create_in_different_group(self, resource_group, resource_group_location, resource_group2, resource_group_location2):
plan = 'planInOneRG'
- self.cmd('group create -n {} -l {}'.format(resource_group2, resource_group_location))
- plan_id = self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan)).get_output_in_json()['id']
+ self.cmd('group create -n {} -l {}'.format(resource_group2,
+ resource_group_location))
+ plan_id = self.cmd('appservice plan create -g {} -n {}'.format(
+ resource_group, plan)).get_output_in_json()['id']
self.cmd('webapp create -g {} -n webInOtherRG --plan {}'.format(resource_group2, plan_id), checks=[
JMESPathCheck('name', 'webInOtherRG')
])
@@ -213,40 +248,50 @@ class AppServiceLogTest(ScenarioTest):
@ResourceGroupPreparer()
def test_download_win_web_log(self, resource_group):
import zipfile
- webapp_name = self.create_random_name(prefix='webapp-win-log', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-win-log', length=24)
plan = self.create_random_name(prefix='win-log', length=24)
self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan))
self.cmd('webapp create -g {} -n {} --plan {} --deployment-source-url {} -r "node|6.12"'.format(
resource_group, webapp_name, plan, TEST_REPO_URL))
- time.sleep(30) # 30 seconds should be enough for the deployment finished(Skipped under playback mode)
+ # 30 seconds should be enough for the deployment finished(Skipped under playback mode)
+ time.sleep(30)
# sanity check the traces
_, log_file = tempfile.mkstemp()
log_dir = log_file + '-dir'
- self.cmd('webapp log download -g {} -n {} --log-file "{}"'.format(resource_group, webapp_name, log_file))
+ self.cmd('webapp log download -g {} -n {} --log-file "{}"'.format(
+ resource_group, webapp_name, log_file))
zip_ref = zipfile.ZipFile(log_file, 'r')
zip_ref.extractall(log_dir)
- self.assertTrue(os.path.isdir(os.path.join(log_dir, 'LogFiles', 'kudu', 'trace')))
+ self.assertTrue(os.path.isdir(os.path.join(
+ log_dir, 'LogFiles', 'kudu', 'trace')))
@unittest.skip("Cannot pass under python3. Needs fixing.")
@ResourceGroupPreparer()
def test_download_linux_web_log(self, resource_group):
import zipfile
- webapp_name = self.create_random_name(prefix='webapp-linux-log', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-linux-log', length=24)
plan = self.create_random_name(prefix='linux-log', length=24)
- self.cmd('appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {} -i patle/ruby-hello'.format(resource_group, webapp_name, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --is-linux'.format(resource_group, plan))
+ self.cmd('webapp create -g {} -n {} --plan {} -i patle/ruby-hello'.format(
+ resource_group, webapp_name, plan))
# load the site to produce a few traces
- requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
+ requests.get(
+ 'http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
# sanity check the traces
_, log_file = tempfile.mkstemp()
log_dir = log_file + '-dir'
- self.cmd('webapp log download -g {} -n {} --log-file "{}"'.format(resource_group, webapp_name, log_file))
+ self.cmd('webapp log download -g {} -n {} --log-file "{}"'.format(
+ resource_group, webapp_name, log_file))
zip_ref = zipfile.ZipFile(log_file, 'r')
zip_ref.extractall(log_dir)
- self.assertTrue(os.path.isdir(os.path.join(log_dir, 'LogFiles', 'kudu', 'trace')))
+ self.assertTrue(os.path.isdir(os.path.join(
+ log_dir, 'LogFiles', 'kudu', 'trace')))
class AppServicePlanScenarioTest(ScenarioTest):
@@ -255,7 +300,8 @@ def test_retain_plan(self, resource_group):
webapp_name = self.create_random_name('web', 24)
plan = self.create_random_name('web-plan', 24)
self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
self.cmd('webapp delete -g {} -n {} --keep-dns-registration --keep-empty-plan --keep-metrics'.format(resource_group, webapp_name))
self.cmd('appservice plan list -g {}'.format(resource_group), checks=[
JMESPathCheck('[0].name', plan)
@@ -265,18 +311,21 @@ def test_retain_plan(self, resource_group):
def test_auto_delete_plan(self, resource_group):
webapp_name = self.create_random_name('web-del-test', 24)
plan = self.create_random_name('web-del-plan', 24)
- self.cmd('appservice plan create -g {} -n {} -l westus'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} -l westus'.format(resource_group, plan))
self.cmd('appservice plan update -g {} -n {} --sku S1'.format(resource_group, plan),
checks=[JMESPathCheck('name', plan),
JMESPathCheck('sku.tier', 'Standard'),
JMESPathCheck('sku.name', 'S1')])
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
self.cmd('webapp delete -g {} -n {}'.format(resource_group, webapp_name))
# test empty service plan should be automatically deleted.
- self.cmd('appservice plan list -g {}'.format(resource_group), checks=[JMESPathCheck('length(@)', 0)])
+ self.cmd('appservice plan list -g {}'.format(resource_group),
+ checks=[JMESPathCheck('length(@)', 0)])
class WebappConfigureTest(ScenarioTest):
@@ -285,8 +334,10 @@ def test_webapp_config(self, resource_group):
webapp_name = self.create_random_name('webapp-config-test', 40)
plan_name = self.create_random_name('webapp-config-plan', 40)
- self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
# verify the baseline
self.cmd('webapp config show -g {} -n {}'.format(resource_group, webapp_name)).assert_with_checks([
@@ -331,12 +382,14 @@ def test_webapp_config(self, resource_group):
])
# show
- result = self.cmd('webapp config appsettings list -g {} -n {}'.format(resource_group, webapp_name)).get_output_in_json()
+ result = self.cmd('webapp config appsettings list -g {} -n {}'.format(
+ resource_group, webapp_name)).get_output_in_json()
s2 = next((x for x in result if x['name'] == 's2'))
self.assertEqual(s2['name'], 's2')
self.assertEqual(s2['slotSetting'], False)
self.assertEqual(s2['value'], 'bar')
- self.assertEqual(set([x['name'] for x in result]), set(['s1', 's2', 's3', 'WEBSITE_NODE_DEFAULT_VERSION']))
+ self.assertEqual(set([x['name'] for x in result]), set(
+ ['s1', 's2', 's3', 'WEBSITE_NODE_DEFAULT_VERSION']))
# delete
self.cmd('webapp config appsettings delete -g {} -n {} --setting-names s1 s2'
.format(resource_group, webapp_name)).assert_with_checks([
@@ -352,11 +405,14 @@ def test_webapp_config(self, resource_group):
# site azure storage account configurations tests
runtime = 'node|6.6'
- linux_plan = self.create_random_name(prefix='webapp-linux-plan', length=24)
- linux_webapp = self.create_random_name(prefix='webapp-linux', length=24)
+ linux_plan = self.create_random_name(
+ prefix='webapp-linux-plan', length=24)
+ linux_webapp = self.create_random_name(
+ prefix='webapp-linux', length=24)
self.cmd('appservice plan create -g {} -n {} -l eastus --sku S1 --is-linux'.format(resource_group, linux_plan),
checks=[
- JMESPathCheck('reserved', True), # this weird field means it is a linux
+ # this weird field means it is a linux
+ JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'S1'),
])
self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(resource_group, linux_webapp, linux_plan, runtime),
@@ -365,7 +421,7 @@ def test_webapp_config(self, resource_group):
])
# add
self.cmd(('webapp config storage-account add -g {} -n {} --custom-id Id --storage-type AzureFiles --account-name name '
- '--share-name sharename --access-key key --mount-path /path/to/mount').format(resource_group, linux_webapp))
+ '--share-name sharename --access-key key --mount-path /path/to/mount').format(resource_group, linux_webapp))
self.cmd('webapp config storage-account list -g {} -n {}'.format(resource_group, linux_webapp)).assert_with_checks([
JMESPathCheck('length(@)', 1),
JMESPathCheck("[?name=='Id']|[0].value.type", "AzureFiles"),
@@ -411,7 +467,8 @@ def test_webapp_config(self, resource_group):
JMESPathCheck('[0].name', 'c2')])
# see deployment user; just make sure the command does return something
- self.assertTrue(self.cmd('webapp deployment user show').get_output_in_json()['type'])
+ self.assertTrue(
+ self.cmd('webapp deployment user show').get_output_in_json()['type'])
@ResourceGroupPreparer(name_prefix='cli_test_webapp_json')
def test_update_webapp_settings_thru_json(self, resource_group):
@@ -423,8 +480,10 @@ def test_update_webapp_settings_thru_json(self, resource_group):
with open(settings_file, 'w+') as file:
file.write(json.dumps({'s2': 'value2'}))
- self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
output = self.cmd('webapp config appsettings set -g {} -n {} --settings s=value "@{}"'.format(
resource_group, webapp_name, settings_file)).get_output_in_json()
@@ -493,10 +552,12 @@ def test_webapp_scale(self, resource_group):
JMESPathCheck('sku.tier', 'Shared'),
JMESPathCheck('sku.size', 'D1'),
JMESPathCheck('sku.family', 'D'),
- JMESPathCheck('sku.capacity', 0) # 0 means the default value: 1 instance
+ # 0 means the default value: 1 instance
+ JMESPathCheck('sku.capacity', 0)
])
# scale up
- self.cmd('appservice plan update -g {} -n {} --sku S2'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan update -g {} -n {} --sku S2'.format(resource_group, plan))
self.cmd('appservice plan show -g {} -n {}'.format(resource_group, plan), checks=[
JMESPathCheck('sku.name', 'S2'),
JMESPathCheck('sku.tier', 'Standard'),
@@ -504,7 +565,8 @@ def test_webapp_scale(self, resource_group):
JMESPathCheck('sku.family', 'S')
])
# scale down
- self.cmd('appservice plan update -g {} -n {} --sku B1'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan update -g {} -n {} --sku B1'.format(resource_group, plan))
self.cmd('appservice plan show -g {} -n {}'.format(resource_group, plan), checks=[
JMESPathCheck('sku.name', 'B1'),
JMESPathCheck('sku.tier', 'Basic'),
@@ -512,7 +574,8 @@ def test_webapp_scale(self, resource_group):
JMESPathCheck('sku.family', 'B')
])
# scale out
- self.cmd('appservice plan update -g {} -n {} --number-of-workers 2'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan update -g {} -n {} --number-of-workers 2'.format(resource_group, plan))
self.cmd('appservice plan show -g {} -n {}'.format(resource_group, plan), checks=[
JMESPathCheck('sku.name', 'B1'),
JMESPathCheck('sku.tier', 'Basic'),
@@ -529,11 +592,15 @@ def test_appservice_error_polish(self, resource_group, resource_group2):
plan = self.create_random_name(prefix='web-error-plan', length=24)
webapp_name = self.create_random_name(prefix='web-error', length=24)
self.cmd('group create -n {} -l westus'.format(resource_group2))
- self.cmd('appservice plan create -g {} -n {} --sku b1'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
- self.cmd('appservice plan create -g {} -n {} --sku b1'.format(resource_group2, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku b1'.format(resource_group, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku b1'.format(resource_group2, plan))
# we will try to produce an error by try creating 2 webapp with same name in different groups
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group2, webapp_name, plan), expect_failure=True)
+ self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group2,
+ webapp_name, plan), expect_failure=True)
# TODO: ensure test fx can capture error details for us to verify
# allowed_exceptions='Website with given name {} already exists'.format(webapp_name)
@@ -546,7 +613,8 @@ def test_linux_webapp(self, resource_group):
plan = self.create_random_name(prefix='webapp-linux-plan', length=24)
webapp = self.create_random_name(prefix='webapp-linux', length=24)
self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan), checks=[
- JMESPathCheck('reserved', True), # this weird field means it is a linux
+ # this weird field means it is a linux
+ JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'S1'),
])
self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(resource_group, webapp, plan, runtime), checks=[
@@ -555,7 +623,8 @@ def test_linux_webapp(self, resource_group):
self.cmd('webapp config show -g {} -n {}'.format(resource_group, webapp), checks=[
JMESPathCheck('windowsFxVersion', None)
])
- time.sleep(30) # workaround the fact that a new linux web's "kind" won't be settled instantatest_linux_webapp_remote_sshneously
+ # workaround the fact that a new linux web's "kind" won't be settled instantatest_linux_webapp_remote_sshneously
+ time.sleep(30)
self.cmd('webapp list -g {}'.format(resource_group), checks=[
JMESPathCheck('length([])', 1),
JMESPathCheck('[0].name', webapp),
@@ -569,24 +638,36 @@ def test_linux_webapp(self, resource_group):
JMESPathCheck('appCommandLine', 'process.json')
])
- result = self.cmd('webapp deployment container config -g {} -n {} --enable-cd true'.format(resource_group, webapp)).get_output_in_json()
+ result = self.cmd('webapp deployment container config -g {} -n {} --enable-cd true'.format(
+ resource_group, webapp)).get_output_in_json()
self.assertTrue(result['CI_CD_URL'].startswith('https://'))
- self.assertTrue(result['CI_CD_URL'].endswith('.scm.azurewebsites.net/docker/hook'))
+ self.assertTrue(result['CI_CD_URL'].endswith(
+ '.scm.azurewebsites.net/docker/hook'))
result = self.cmd('webapp config container set -g {} -n {} --docker-custom-image-name {} --docker-registry-server-password {} --docker-registry-server-user {} --docker-registry-server-url {} --enable-app-service-storage {}'.format(
resource_group, webapp, 'foo-image', 'foo-password', 'foo-user', 'foo-url', 'false')).get_output_in_json()
- self.assertEqual(set(x['value'] for x in result if x['name'] == 'DOCKER_REGISTRY_SERVER_PASSWORD'), set([None])) # we mask the password
-
- result = self.cmd('webapp config container show -g {} -n {} '.format(resource_group, webapp)).get_output_in_json()
- self.assertEqual(set(x['name'] for x in result), set(['DOCKER_REGISTRY_SERVER_URL', 'DOCKER_REGISTRY_SERVER_USERNAME', 'DOCKER_CUSTOM_IMAGE_NAME', 'DOCKER_REGISTRY_SERVER_PASSWORD', 'WEBSITES_ENABLE_APP_SERVICE_STORAGE']))
- self.assertEqual(set(x['value'] for x in result if x['name'] == 'DOCKER_REGISTRY_SERVER_PASSWORD'), set([None])) # we mask the password
- sample = next((x for x in result if x['name'] == 'DOCKER_REGISTRY_SERVER_URL'))
- self.assertEqual(sample, {'name': 'DOCKER_REGISTRY_SERVER_URL', 'slotSetting': False, 'value': 'foo-url'})
- sample = next((x for x in result if x['name'] == 'WEBSITES_ENABLE_APP_SERVICE_STORAGE'))
- self.assertEqual(sample, {'name': 'WEBSITES_ENABLE_APP_SERVICE_STORAGE', 'slotSetting': False, 'value': 'false'})
- self.cmd('webapp config container delete -g {} -n {}'.format(resource_group, webapp))
- result2 = self.cmd('webapp config container show -g {} -n {} '.format(resource_group, webapp)).get_output_in_json()
+ self.assertEqual(set(x['value'] for x in result if x['name'] ==
+ 'DOCKER_REGISTRY_SERVER_PASSWORD'), set([None])) # we mask the password
+
+ result = self.cmd('webapp config container show -g {} -n {} '.format(
+ resource_group, webapp)).get_output_in_json()
+ self.assertEqual(set(x['name'] for x in result), set(['DOCKER_REGISTRY_SERVER_URL', 'DOCKER_REGISTRY_SERVER_USERNAME',
+ 'DOCKER_CUSTOM_IMAGE_NAME', 'DOCKER_REGISTRY_SERVER_PASSWORD', 'WEBSITES_ENABLE_APP_SERVICE_STORAGE']))
+ self.assertEqual(set(x['value'] for x in result if x['name'] ==
+ 'DOCKER_REGISTRY_SERVER_PASSWORD'), set([None])) # we mask the password
+ sample = next(
+ (x for x in result if x['name'] == 'DOCKER_REGISTRY_SERVER_URL'))
+ self.assertEqual(sample, {
+ 'name': 'DOCKER_REGISTRY_SERVER_URL', 'slotSetting': False, 'value': 'foo-url'})
+ sample = next(
+ (x for x in result if x['name'] == 'WEBSITES_ENABLE_APP_SERVICE_STORAGE'))
+ self.assertEqual(sample, {
+ 'name': 'WEBSITES_ENABLE_APP_SERVICE_STORAGE', 'slotSetting': False, 'value': 'false'})
+ self.cmd(
+ 'webapp config container delete -g {} -n {}'.format(resource_group, webapp))
+ result2 = self.cmd('webapp config container show -g {} -n {} '.format(
+ resource_group, webapp)).get_output_in_json()
self.assertEqual(result2, [])
@@ -604,8 +685,10 @@ def test_linux_webapp_ssh(self, resource_group):
runtime = 'node|8.11'
plan = self.create_random_name(prefix='webapp-ssh-plan', length=24)
webapp = self.create_random_name(prefix='webapp-ssh', length=24)
- self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(resource_group, webapp, plan, runtime))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
+ self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(
+ resource_group, webapp, plan, runtime))
time.sleep(30)
requests.get('http://{}.azurewebsites.net'.format(webapp), timeout=240)
time.sleep(30)
@@ -622,9 +705,11 @@ def test_linux_ASE_ssh(self):
ase = 'cli-ase-ssh-test'
webapp = 'cli-ase-ssh-test'
time.sleep(30)
- requests.get('http://{}.{}.p.azurewebsites.net/'.format(webapp, ase), timeout=240)
+ requests.get(
+ 'http://{}.{}.p.azurewebsites.net/'.format(webapp, ase), timeout=240)
time.sleep(30)
- self.cmd('webapp ssh -g {} -n {} --subscription {} --timeout 5'.format(resource_group, webapp, sub))
+ self.cmd(
+ 'webapp ssh -g {} -n {} --subscription {} --timeout 5'.format(resource_group, webapp, sub))
time.sleep(30)
@@ -632,14 +717,18 @@ class LinuxWebappRemoteSSHScenarioTest(ScenarioTest):
@ResourceGroupPreparer(location='japanwest')
def test_linux_webapp_remote_ssh(self, resource_group):
runtime = 'node|8.11'
- plan = self.create_random_name(prefix='webapp-remote-ssh-plan', length=40)
+ plan = self.create_random_name(
+ prefix='webapp-remote-ssh-plan', length=40)
webapp = self.create_random_name(prefix='webapp-remote-ssh', length=40)
- self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(resource_group, webapp, plan, runtime))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
+ self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(
+ resource_group, webapp, plan, runtime))
time.sleep(30)
requests.get('http://{}.azurewebsites.net'.format(webapp), timeout=240)
time.sleep(30)
- self.cmd('webapp create-remote-connection -g {} -n {} --timeout 5'.format(resource_group, webapp))
+ self.cmd(
+ 'webapp create-remote-connection -g {} -n {} --timeout 5'.format(resource_group, webapp))
time.sleep(30)
@@ -647,51 +736,65 @@ class LinuxWebappRemoteDebugScenarioTest(ScenarioTest):
@ResourceGroupPreparer(location='japanwest')
def test_linux_webapp_remote_debug(self, resource_group):
runtime = 'node|8.11'
- plan = self.create_random_name(prefix='webapp-remote-debug-plan', length=40)
- webapp = self.create_random_name(prefix='webapp-remote-debug', length=40)
- self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(resource_group, webapp, plan, runtime))
+ plan = self.create_random_name(
+ prefix='webapp-remote-debug-plan', length=40)
+ webapp = self.create_random_name(
+ prefix='webapp-remote-debug', length=40)
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
+ self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(
+ resource_group, webapp, plan, runtime))
time.sleep(30)
- self.cmd('webapp config set --remote-debugging-enabled true -g {} -n {}'.format(resource_group, webapp))
+ self.cmd(
+ 'webapp config set --remote-debugging-enabled true -g {} -n {}'.format(resource_group, webapp))
requests.get('http://{}.azurewebsites.net'.format(webapp), timeout=240)
time.sleep(30)
- self.cmd('webapp create-remote-connection -g {} -n {} --timeout 5'.format(resource_group, webapp))
+ self.cmd(
+ 'webapp create-remote-connection -g {} -n {} --timeout 5'.format(resource_group, webapp))
time.sleep(30)
class LinuxWebappMulticontainerSlotScenarioTest(ScenarioTest):
@ResourceGroupPreparer(location='westus2')
def test_linux_webapp_multicontainer_slot(self, resource_group):
- webapp_name = self.create_random_name(prefix='webapp-linux-multi', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-linux-multi', length=24)
plan = self.create_random_name(prefix='plan-linux-multi', length=24)
config_file = os.path.join(TEST_DIR, 'sample-compose.yml')
slot = "stage"
slot_webapp_name = "{}-{}".format(webapp_name, slot)
slot_config_file = os.path.join(TEST_DIR, 'sample-compose-slot.yml')
- self.cmd('appservice plan create -g {} -n {} --is-linux --sku S1'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --is-linux --sku S1'.format(resource_group, plan))
self.cmd("webapp create -g {} -n {} --plan {} --multicontainer-config-file \"{}\" "
"--multicontainer-config-type COMPOSE".format(resource_group, webapp_name, plan, config_file))
last_number_seen = 99999999
for x in range(0, 10):
- r = requests.get('http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
+ r = requests.get(
+ 'http://{}.azurewebsites.net'.format(webapp_name), timeout=240)
# verify the web page
self.assertTrue('Hello World! I have been seen' in str(r.content))
- current_number = [int(s) for s in r.content.split() if s.isdigit()][0]
+ current_number = [int(s)
+ for s in r.content.split() if s.isdigit()][0]
self.assertNotEqual(current_number, last_number_seen)
last_number_seen = current_number
- self.cmd('webapp deployment slot create -g {} -n {} --slot {}'.format(resource_group, webapp_name, slot))
+ self.cmd('webapp deployment slot create -g {} -n {} --slot {}'.format(
+ resource_group, webapp_name, slot))
self.cmd("webapp config container set -g {} -n {} --slot {} --multicontainer-config-file \"{}\" "
"--multicontainer-config-type COMPOSE".format(resource_group, webapp_name, slot, slot_config_file))
last_number_seen = 99999999
for x in range(0, 10):
- r = requests.get('http://{}.azurewebsites.net'.format(slot_webapp_name), timeout=240)
+ r = requests.get(
+ 'http://{}.azurewebsites.net'.format(slot_webapp_name), timeout=240)
# verify the web page
- self.assertTrue('Hello from a slot! I have been seen' in str(r.content))
- current_number = [int(s) for s in r.content.split() if s.isdigit()][0]
+ self.assertTrue(
+ 'Hello from a slot! I have been seen' in str(r.content))
+ current_number = [int(s)
+ for s in r.content.split() if s.isdigit()][0]
self.assertNotEqual(current_number, last_number_seen)
last_number_seen = current_number
@@ -703,13 +806,18 @@ def test_acr_integration(self, resource_group):
webapp = self.create_random_name(prefix='webappacrtest', length=24)
runtime = 'node|6.6'
acr_registry_name = webapp
- self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(resource_group, acr_registry_name))
- self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(resource_group, webapp, plan, runtime))
- creds = self.cmd('acr credential show -n {} -g {}'.format(acr_registry_name, resource_group)).get_output_in_json()
+ self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(
+ resource_group, acr_registry_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
+ self.cmd('webapp create -g {} -n {} --plan {} --runtime {}'.format(
+ resource_group, webapp, plan, runtime))
+ creds = self.cmd('acr credential show -n {} -g {}'.format(
+ acr_registry_name, resource_group)).get_output_in_json()
self.cmd('webapp config container set -g {0} -n {1} --docker-custom-image-name {2}.azurecr.io/image-name:latest --docker-registry-server-url https://{2}.azurecr.io'.format(
resource_group, webapp, acr_registry_name), checks=[
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username'])
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username'])
])
@@ -719,27 +827,39 @@ class FunctionappACRScenarioTest(ScenarioTest):
@AllowLargeResponse()
def test_acr_integration_function_app(self, resource_group, storage_account):
plan = self.create_random_name(prefix='acrtestplanfunction', length=24)
- functionapp = self.create_random_name(prefix='functionappacrtest', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionappacrtest', length=24)
runtime = 'node'
acr_registry_name = functionapp
- self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(resource_group, acr_registry_name))
- self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
- self.cmd('functionapp create -g {} -n {} -s {} --plan {} --runtime {}'.format(resource_group, functionapp, storage_account, plan, runtime))
- creds = self.cmd('acr credential show -n {} -g {}'.format(acr_registry_name, resource_group)).get_output_in_json()
+ self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(
+ resource_group, acr_registry_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
+ self.cmd('functionapp create -g {} -n {} -s {} --plan {} --runtime {}'.format(
+ resource_group, functionapp, storage_account, plan, runtime))
+ creds = self.cmd('acr credential show -n {} -g {}'.format(
+ acr_registry_name, resource_group)).get_output_in_json()
self.cmd('functionapp config container set -g {0} -n {1} --docker-custom-image-name {2}.azurecr.io/image-name:latest --docker-registry-server-url https://{2}.azurecr.io'.format(
resource_group, functionapp, acr_registry_name), checks=[
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username'])
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username'])
])
self.cmd('functionapp config container show -g {} -n {} '.format(resource_group, functionapp), checks=[
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username']),
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_URL']|[0].name", 'DOCKER_REGISTRY_SERVER_URL')
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username']),
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_URL']|[0].name", 'DOCKER_REGISTRY_SERVER_URL')
])
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp), checks=[
- JMESPathCheck("[?name=='FUNCTIONS_WORKER_RUNTIME'].value|[0]", 'node'),
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_USERNAME'].value|[0]", creds['username'])
- ])
- self.cmd('functionapp config container delete -g {} -n {} '.format(resource_group, functionapp))
- json_result = self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp)).get_output_in_json()
+ JMESPathCheck(
+ "[?name=='FUNCTIONS_WORKER_RUNTIME'].value|[0]", 'node'),
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_USERNAME'].value|[0]", creds['username'])
+ ])
+ self.cmd(
+ 'functionapp config container delete -g {} -n {} '.format(resource_group, functionapp))
+ json_result = self.cmd('functionapp config appsettings list -g {} -n {}'.format(
+ resource_group, functionapp)).get_output_in_json()
all_settings = [setting['name'] for setting in json_result]
# Make sure the related settings are deleted
self.assertNotIn('DOCKER_REGISTRY_SERVER_USERNAME', all_settings)
@@ -756,32 +876,41 @@ class FunctionAppCreateUsingACR(ScenarioTest):
@AllowLargeResponse()
def test_acr_create_function_app(self, resource_group, storage_account):
plan = self.create_random_name(prefix='acrtestplanfunction', length=24)
- functionapp = self.create_random_name(prefix='functionappacrtest', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionappacrtest', length=24)
runtime = 'node'
acr_registry_name = functionapp
- self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(resource_group, acr_registry_name))
- acr_creds = self.cmd('acr credential show -n {} -g {}'.format(acr_registry_name, resource_group)).get_output_in_json()
+ self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(
+ resource_group, acr_registry_name))
+ acr_creds = self.cmd('acr credential show -n {} -g {}'.format(
+ acr_registry_name, resource_group)).get_output_in_json()
username = acr_creds['username']
password = acr_creds['passwords'][0]['value']
- self.cmd('functionapp plan create -g {} -n {} --sku S1 --is-linux'.format(resource_group, plan))
+ self.cmd(
+ 'functionapp plan create -g {} -n {} --sku S1 --is-linux'.format(resource_group, plan))
self.cmd('functionapp create -g {} -n {} -s {} --plan {} --runtime {}'
' --deployment-container-image-name {}.azurecr.io/image-name:latest --docker-registry-server-user {}'
' --docker-registry-server-password {}'.format(resource_group, functionapp, storage_account, plan, runtime,
acr_registry_name, username, password))
self.cmd('functionapp config container show -g {} -n {} '.format(resource_group, functionapp), checks=[
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", username),
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_URL']|[0].name", 'DOCKER_REGISTRY_SERVER_URL')
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", username),
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_URL']|[0].name", 'DOCKER_REGISTRY_SERVER_URL')
])
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp), checks=[
- JMESPathCheck("[?name=='FUNCTIONS_WORKER_RUNTIME'].value|[0]", 'node'),
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_USERNAME'].value|[0]", username)
+ JMESPathCheck(
+ "[?name=='FUNCTIONS_WORKER_RUNTIME'].value|[0]", 'node'),
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_USERNAME'].value|[0]", username)
])
self.cmd('functionapp config show -g {} -n {}'.format(resource_group, functionapp), checks=[
JMESPathCheck('linuxFxVersion', 'DOCKER|{}.azurecr.io/image-name:latest'.format(acr_registry_name))])
- self.cmd('functionapp config container delete -g {} -n {} '.format(resource_group, functionapp))
+ self.cmd(
+ 'functionapp config container delete -g {} -n {} '.format(resource_group, functionapp))
json_result = self.cmd(
'functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp)).get_output_in_json()
all_settings = [setting['name'] for setting in json_result]
@@ -797,26 +926,34 @@ class FunctionappACRDeploymentScenarioTest(ScenarioTest):
@StorageAccountPreparer()
def test_acr_deployment_function_app(self, resource_group, storage_account):
plan = self.create_random_name(prefix='acrtestplanfunction', length=24)
- functionapp = self.create_random_name(prefix='functionappacrtest', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionappacrtest', length=24)
runtime = 'node'
acr_registry_name = functionapp
- self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(resource_group, acr_registry_name))
- self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
- self.cmd('functionapp create -g {} -n {} -s {} --plan {} --runtime {}'.format(resource_group, functionapp, storage_account, plan, runtime))
- creds = self.cmd('acr credential show -g {} -n {}'.format(resource_group, acr_registry_name)).get_output_in_json()
+ self.cmd('acr create --admin-enabled -g {} -n {} --sku Basic'.format(
+ resource_group, acr_registry_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan))
+ self.cmd('functionapp create -g {} -n {} -s {} --plan {} --runtime {}'.format(
+ resource_group, functionapp, storage_account, plan, runtime))
+ creds = self.cmd('acr credential show -g {} -n {}'.format(
+ resource_group, acr_registry_name)).get_output_in_json()
self.cmd('functionapp config container set -g {0} -n {1} --docker-custom-image-name {2}.azurecr.io/image-name:latest --docker-registry-server-url https://{2}.azurecr.io'.format(
resource_group, functionapp, acr_registry_name), checks=[
- JMESPathCheck("[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username'])
+ JMESPathCheck(
+ "[?name=='DOCKER_REGISTRY_SERVER_USERNAME']|[0].value", creds['username'])
])
result = self.cmd('functionapp deployment container config -g {} -n {} --enable-cd true'.format(resource_group,
functionapp)).get_output_in_json()
self.assertTrue(result['CI_CD_URL'].startswith('https://'))
- self.assertTrue(result['CI_CD_URL'].endswith('.scm.azurewebsites.net/docker/hook'))
+ self.assertTrue(result['CI_CD_URL'].endswith(
+ '.scm.azurewebsites.net/docker/hook'))
# verify that show-cd-url works the same way
show_result = self.cmd('functionapp deployment container show-cd-url -g {} -n {}'.format(resource_group,
functionapp)).get_output_in_json()
self.assertTrue(show_result['CI_CD_URL'].startswith('https://'))
- self.assertTrue(show_result['CI_CD_URL'].endswith('.scm.azurewebsites.net/docker/hook'))
+ self.assertTrue(show_result['CI_CD_URL'].endswith(
+ '.scm.azurewebsites.net/docker/hook'))
self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp))
@@ -825,7 +962,8 @@ class FunctionAppReservedInstanceTest(ScenarioTest):
@ResourceGroupPreparer()
@StorageAccountPreparer()
def test_functionapp_reserved_instance(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwithreservedinstance', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwithreservedinstance', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Windows'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
JMESPathCheck('state', 'Running'),
@@ -835,7 +973,8 @@ def test_functionapp_reserved_instance(self, resource_group, storage_account):
self.cmd('functionapp config set -g {} -n {} --prewarmed-instance-count 4'
.format(resource_group, functionapp_name)).assert_with_checks([
JMESPathCheck('preWarmedInstanceCount', 4)])
- self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
+ self.cmd(
+ 'functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
class WebappGitScenarioTest(ScenarioTest):
@@ -845,8 +984,10 @@ def test_webapp_git(self, resource_group):
webapp = self.create_random_name(prefix='web-git-test2', length=24)
# You can create and use any repros with the 3 files under "./sample_web"
test_git_repo = 'https://github.com/yugangw-msft/azure-site-test'
- self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp, plan))
self.cmd('webapp deployment source config -g {} -n {} --repo-url {} --branch {} --manual-integration'.format(resource_group, webapp, test_git_repo, 'master'), checks=[
JMESPathCheck('repoUrl', test_git_repo),
JMESPathCheck('isMercurial', False),
@@ -857,7 +998,8 @@ def test_webapp_git(self, resource_group):
JMESPathCheck('isMercurial', False),
JMESPathCheck('branch', 'master')
])
- self.cmd('webapp deployment source delete -g {} -n {}'.format(resource_group, webapp))
+ self.cmd(
+ 'webapp deployment source delete -g {} -n {}'.format(resource_group, webapp))
self.cmd('webapp deployment source show -g {} -n {}'.format(resource_group, webapp),
checks=JMESPathCheck('repoUrl', None))
@@ -868,8 +1010,10 @@ def test_webapp_slot(self, resource_group):
plan = self.create_random_name(prefix='slot-test-plan', length=24)
webapp = self.create_random_name(prefix='slot-test-web', length=24)
- plan_result = self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan)).get_output_in_json()
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp, plan_result['name']))
+ plan_result = self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan)).get_output_in_json()
+ self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group,
+ webapp, plan_result['name']))
# You can create and use any repros with the 3 files under "./sample_web" and with a 'staging 'branch
slot = 'staging'
slot2 = 'dev'
@@ -886,12 +1030,17 @@ def test_webapp_slot(self, resource_group):
JMESPathCheck('branch', slot)
])
# swap with prod and verify the git branch also switched
- self.cmd('webapp deployment slot swap -g {} -n {} -s {}'.format(resource_group, webapp, slot))
- result = self.cmd('webapp config appsettings list -g {} -n {} -s {}'.format(resource_group, webapp, slot)).get_output_in_json()
- self.assertEqual(set([x['name'] for x in result]), set(['s1', 'WEBSITE_NODE_DEFAULT_VERSION']))
+ self.cmd(
+ 'webapp deployment slot swap -g {} -n {} -s {}'.format(resource_group, webapp, slot))
+ result = self.cmd('webapp config appsettings list -g {} -n {} -s {}'.format(
+ resource_group, webapp, slot)).get_output_in_json()
+ self.assertEqual(set([x['name'] for x in result]), set(
+ ['s1', 'WEBSITE_NODE_DEFAULT_VERSION']))
# create a new slot by cloning from prod slot
- self.cmd('webapp config set -g {} -n {} --php-version {}'.format(resource_group, webapp, test_php_version))
- self.cmd('webapp deployment slot create -g {} -n {} --slot {} --configuration-source {}'.format(resource_group, webapp, slot2, webapp))
+ self.cmd('webapp config set -g {} -n {} --php-version {}'.format(
+ resource_group, webapp, test_php_version))
+ self.cmd('webapp deployment slot create -g {} -n {} --slot {} --configuration-source {}'.format(
+ resource_group, webapp, slot2, webapp))
self.cmd('webapp config show -g {} -n {} --slot {}'.format(resource_group, webapp, slot2), checks=[
JMESPathCheck("phpVersion", test_php_version),
])
@@ -902,21 +1051,28 @@ def test_webapp_slot(self, resource_group):
self.cmd('webapp config connection-string set -g {} -n {} -t mysql --slot {} --settings c1=connection1 --slot-settings c2=connection2'.format(resource_group, webapp, slot2))
# verify we can swap with non production slot
- self.cmd('webapp deployment slot swap -g {} -n {} --slot {} --target-slot {}'.format(resource_group, webapp, slot, slot2))
- result = self.cmd('webapp config appsettings list -g {} -n {} --slot {}'.format(resource_group, webapp, slot2)).get_output_in_json()
- self.assertEqual(set([x['name'] for x in result]), set(['s1', 's4', 'WEBSITE_NODE_DEFAULT_VERSION']))
- result = self.cmd('webapp config connection-string list -g {} -n {} --slot {}'.format(resource_group, webapp, slot2)).get_output_in_json()
+ self.cmd('webapp deployment slot swap -g {} -n {} --slot {} --target-slot {}'.format(
+ resource_group, webapp, slot, slot2))
+ result = self.cmd('webapp config appsettings list -g {} -n {} --slot {}'.format(
+ resource_group, webapp, slot2)).get_output_in_json()
+ self.assertEqual(set([x['name'] for x in result]), set(
+ ['s1', 's4', 'WEBSITE_NODE_DEFAULT_VERSION']))
+ result = self.cmd('webapp config connection-string list -g {} -n {} --slot {}'.format(
+ resource_group, webapp, slot2)).get_output_in_json()
self.assertEqual(set([x['name'] for x in result]), set(['c2']))
- result = self.cmd('webapp config appsettings list -g {} -n {} --slot {}'.format(resource_group, webapp, slot)).get_output_in_json()
+ result = self.cmd('webapp config appsettings list -g {} -n {} --slot {}'.format(
+ resource_group, webapp, slot)).get_output_in_json()
self.assertTrue(set(['s3']).issubset(set([x['name'] for x in result])))
- result = self.cmd('webapp config connection-string list -g {} -n {} --slot {}'.format(resource_group, webapp, slot)).get_output_in_json()
+ result = self.cmd('webapp config connection-string list -g {} -n {} --slot {}'.format(
+ resource_group, webapp, slot)).get_output_in_json()
self.assertEqual(set([x['name'] for x in result]), set(['c1']))
self.cmd('webapp deployment slot list -g {} -n {}'.format(resource_group, webapp), checks=[
JMESPathCheck("length([])", 2),
JMESPathCheck("length([?name=='{}'])".format(slot2), 1),
JMESPathCheck("length([?name=='{}'])".format(slot), 1),
])
- self.cmd('webapp deployment slot delete -g {} -n {} --slot {}'.format(resource_group, webapp, slot))
+ 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))
@@ -926,21 +1082,27 @@ class WebappSlotTrafficRouting(ScenarioTest):
def test_traffic_routing(self, resource_group):
plan = self.create_random_name(prefix='slot-traffic-plan', length=24)
webapp = self.create_random_name(prefix='slot-traffic-web', length=24)
- plan_result = self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan)).get_output_in_json()
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp, plan_result['name']))
+ plan_result = self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan)).get_output_in_json()
+ self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group,
+ webapp, plan_result['name']))
# You can create and use any repros with the 3 files under "./sample_web" and with a 'staging 'branch
slot = 'staging'
# create an empty slot
- self.cmd('webapp deployment slot create -g {} -n {} --slot {}'.format(resource_group, webapp, slot))
+ self.cmd(
+ 'webapp deployment slot create -g {} -n {} --slot {}'.format(resource_group, webapp, slot))
self.cmd('webapp traffic-routing set -g {} -n {} -d {}=15'.format(resource_group, webapp, slot), checks=[
- JMESPathCheck("[0].actionHostName", webapp + '-' + slot + '.azurewebsites.net'),
+ JMESPathCheck("[0].actionHostName", webapp +
+ '-' + slot + '.azurewebsites.net'),
JMESPathCheck("[0].reroutePercentage", 15.0)
])
self.cmd('webapp traffic-routing show -g {} -n {}'.format(resource_group, webapp), checks=[
- JMESPathCheck("[0].actionHostName", webapp + '-' + slot + '.azurewebsites.net'),
+ JMESPathCheck("[0].actionHostName", webapp +
+ '-' + slot + '.azurewebsites.net'),
JMESPathCheck("[0].reroutePercentage", 15.0)
])
- self.cmd('webapp traffic-routing clear -g {} -n {}'.format(resource_group, webapp))
+ self.cmd(
+ 'webapp traffic-routing clear -g {} -n {}'.format(resource_group, webapp))
class AppServiceCors(ScenarioTest):
@@ -953,18 +1115,25 @@ def test_webapp_cors(self, resource_group):
})
self.cmd('appservice plan create -g {rg} -n {plan} --sku S1')
self.cmd('webapp create -g {rg} -n {web} --plan {plan}')
- self.cmd('webapp cors add -g {rg} -n {web} --allowed-origins https://msdn.com https://msn.com')
+ self.cmd(
+ 'webapp cors add -g {rg} -n {web} --allowed-origins https://msdn.com https://msn.com')
self.cmd('webapp cors show -g {rg} -n {web}',
checks=self.check('allowedOrigins', ['https://msdn.com', 'https://msn.com']))
- self.cmd('webapp cors remove -g {rg} -n {web} --allowed-origins https://msn.com')
- self.cmd('webapp cors show -g {rg} -n {web}', checks=self.check('allowedOrigins', ['https://msdn.com']))
+ self.cmd(
+ 'webapp cors remove -g {rg} -n {web} --allowed-origins https://msn.com')
+ self.cmd('webapp cors show -g {rg} -n {web}',
+ checks=self.check('allowedOrigins', ['https://msdn.com']))
- self.cmd('webapp deployment slot create -g {rg} -n {web} --slot {slot}')
- self.cmd('webapp cors add -g {rg} -n {web} --slot {slot} --allowed-origins https://foo.com')
+ self.cmd(
+ 'webapp deployment slot create -g {rg} -n {web} --slot {slot}')
+ self.cmd(
+ 'webapp cors add -g {rg} -n {web} --slot {slot} --allowed-origins https://foo.com')
self.cmd('webapp cors show -g {rg} -n {web} --slot {slot}',
checks=self.check('allowedOrigins', ['https://foo.com']))
- self.cmd('webapp cors remove -g {rg} -n {web} --slot {slot} --allowed-origins https://foo.com')
- self.cmd('webapp cors show -g {rg} -n {web} --slot {slot}', checks=self.check('allowedOrigins', []))
+ self.cmd(
+ 'webapp cors remove -g {rg} -n {web} --slot {slot} --allowed-origins https://foo.com')
+ self.cmd('webapp cors show -g {rg} -n {web} --slot {slot}',
+ checks=self.check('allowedOrigins', []))
@ResourceGroupPreparer()
@StorageAccountPreparer()
@@ -975,12 +1144,17 @@ def test_functionapp_cors(self, resource_group, storage_account):
'storage': storage_account
})
self.cmd('appservice plan create -g {rg} -n {plan} --sku S1')
- self.cmd('storage account create --name {storage} -g {rg} --sku Standard_LRS')
- self.cmd('functionapp create -g {rg} -n {function} --plan {plan} -s {storage}')
- self.cmd('functionapp cors add -g {rg} -n {function} --allowed-origins https://msdn.com https://msn.com')
- result = self.cmd('functionapp cors show -g {rg} -n {function}').get_output_in_json()['allowedOrigins']
+ self.cmd(
+ 'storage account create --name {storage} -g {rg} --sku Standard_LRS')
+ self.cmd(
+ 'functionapp create -g {rg} -n {function} --plan {plan} -s {storage}')
+ self.cmd(
+ 'functionapp cors add -g {rg} -n {function} --allowed-origins https://msdn.com https://msn.com')
+ result = self.cmd(
+ 'functionapp cors show -g {rg} -n {function}').get_output_in_json()['allowedOrigins']
# functionapp has pre-defined cors. We verify the ones we added are in the list
- self.assertTrue(set(['https://msdn.com', 'https://msn.com']).issubset(set(result)))
+ self.assertTrue(
+ set(['https://msdn.com', 'https://msn.com']).issubset(set(result)))
class WebappSlotSwapScenarioTest(ScenarioTest):
@@ -988,26 +1162,34 @@ class WebappSlotSwapScenarioTest(ScenarioTest):
def test_webapp_slot_swap(self, resource_group):
plan = self.create_random_name(prefix='slot-swap-plan', length=24)
webapp = self.create_random_name(prefix='slot-swap-web', length=24)
- plan_result = self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan)).get_output_in_json()
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp, plan_result['name']))
+ plan_result = self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan)).get_output_in_json()
+ self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group,
+ webapp, plan_result['name']))
# You can create and use any repros with the 3 files under "./sample_web" and with a 'staging 'branch
slot = 'staging'
- self.cmd('webapp config appsettings set -g {} -n {} --slot-settings s1=prod'.format(resource_group, webapp))
+ self.cmd(
+ 'webapp config appsettings set -g {} -n {} --slot-settings s1=prod'.format(resource_group, webapp))
# create an empty slot
- self.cmd('webapp deployment slot create -g {} -n {} --slot {}'.format(resource_group, webapp, slot))
- self.cmd('webapp config appsettings set -g {} -n {} --slot-settings s1=slot --slot {}'.format(resource_group, webapp, slot))
+ self.cmd(
+ 'webapp deployment slot create -g {} -n {} --slot {}'.format(resource_group, webapp, slot))
+ self.cmd('webapp config appsettings set -g {} -n {} --slot-settings s1=slot --slot {}'.format(
+ resource_group, webapp, slot))
# swap with preview
- self.cmd('webapp deployment slot swap -g {} -n {} -s {} --action preview'.format(resource_group, webapp, slot))
+ self.cmd('webapp deployment slot swap -g {} -n {} -s {} --action preview'.format(
+ resource_group, webapp, slot))
self.cmd('webapp config appsettings list -g {} -n {} --slot {}'.format(resource_group, webapp, slot), checks=[
JMESPathCheck("[?name=='s1']|[0].value", 'prod')
])
# complete the swap
- self.cmd('webapp deployment slot swap -g {} -n {} -s {}'.format(resource_group, webapp, slot))
+ self.cmd(
+ 'webapp deployment slot swap -g {} -n {} -s {}'.format(resource_group, webapp, slot))
self.cmd('webapp config appsettings list -g {} -n {} --slot {}'.format(resource_group, webapp, slot), checks=[
JMESPathCheck("[?name=='s1']|[0].value", 'slot')
])
# reset
- self.cmd('webapp deployment slot swap -g {} -n {} -s {} --action reset'.format(resource_group, webapp, slot))
+ self.cmd('webapp deployment slot swap -g {} -n {} -s {} --action reset'.format(
+ resource_group, webapp, slot))
self.cmd('webapp config appsettings list -g {} -n {} --slot {}'.format(resource_group, webapp, slot), checks=[
JMESPathCheck("[?name=='s1']|[0].value", 'slot')
])
@@ -1025,41 +1207,61 @@ def test_webapp_ssl(self, resource_group, resource_group_location):
cert_password = 'test'
cert_thumbprint = '9E9735C45C792B03B3FFCCA614852B32EE71AD6B'
# we configure tags here in a hope to capture a repro for https://github.com/Azure/azure-cli/issues/6929
- self.cmd('appservice plan create -g {} -n {} --sku S1 --tags plan=plan1'.format(resource_group, plan))
- self.cmd('appservice plan show -g {} -n {}'.format(resource_group, plan), self.check('tags.plan', 'plan1'))
- self.cmd('webapp create -g {} -n {} --plan {} --tags web=web1'.format(resource_group, webapp_name, plan, resource_group_location))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1 --tags plan=plan1'.format(resource_group, plan))
+ self.cmd('appservice plan show -g {} -n {}'.format(resource_group,
+ plan), self.check('tags.plan', 'plan1'))
+ self.cmd('webapp create -g {} -n {} --plan {} --tags web=web1'.format(
+ resource_group, webapp_name, plan, resource_group_location))
self.cmd('webapp config ssl upload -g {} -n {} --certificate-file "{}" --certificate-password {}'.format(resource_group, webapp_name, pfx_file, cert_password), checks=[
JMESPathCheck('thumbprint', cert_thumbprint)
])
- self.cmd('webapp show -g {} -n {}'.format(resource_group, webapp_name), self.check('tags.web', 'web1'))
+ self.cmd('webapp show -g {} -n {}'.format(resource_group,
+ webapp_name), self.check('tags.web', 'web1'))
self.cmd('webapp config ssl bind -g {} -n {} --certificate-thumbprint {} --ssl-type {}'.format(resource_group, webapp_name, cert_thumbprint, 'SNI'), checks=[
- JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].sslState".format(webapp_name), 'SniEnabled'),
- JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].thumbprint".format(webapp_name), cert_thumbprint)
+ JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].sslState".format(
+ webapp_name), 'SniEnabled'),
+ JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].thumbprint".format(
+ webapp_name), cert_thumbprint)
])
- self.cmd('webapp show -g {} -n {}'.format(resource_group, webapp_name), self.check('tags.web', 'web1'))
+ self.cmd('webapp show -g {} -n {}'.format(resource_group,
+ webapp_name), self.check('tags.web', 'web1'))
self.cmd('webapp config ssl unbind -g {} -n {} --certificate-thumbprint {}'.format(resource_group, webapp_name, cert_thumbprint), checks=[
- JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].sslState".format(webapp_name), 'Disabled'),
- ])
- self.cmd('webapp show -g {} -n {}'.format(resource_group, webapp_name), self.check('tags.web', 'web1'))
- self.cmd('webapp config ssl delete -g {} --certificate-thumbprint {}'.format(resource_group, cert_thumbprint))
- self.cmd('webapp show -g {} -n {}'.format(resource_group, webapp_name), self.check('tags.web', 'web1'))
+ JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].sslState".format(
+ webapp_name), 'Disabled'),
+ ])
+ self.cmd('webapp show -g {} -n {}'.format(resource_group,
+ webapp_name), self.check('tags.web', 'web1'))
+ self.cmd('webapp config ssl delete -g {} --certificate-thumbprint {}'.format(
+ resource_group, cert_thumbprint))
+ self.cmd('webapp show -g {} -n {}'.format(resource_group,
+ webapp_name), self.check('tags.web', 'web1'))
# test with slot
- self.cmd('webapp deployment slot create -g {} -n {} --slot {}'.format(resource_group, webapp_name, slot_name))
+ self.cmd('webapp deployment slot create -g {} -n {} --slot {}'.format(
+ resource_group, webapp_name, slot_name))
self.cmd('webapp config ssl upload -g {} -n {} --certificate-file "{}" --certificate-password {} -s {}'.format(resource_group, webapp_name, pfx_file, cert_password, slot_name), checks=[
JMESPathCheck('thumbprint', cert_thumbprint)
])
- self.cmd('webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
+ self.cmd(
+ 'webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
self.cmd('webapp config ssl bind -g {} -n {} --certificate-thumbprint {} --ssl-type {} -s {}'.format(resource_group, webapp_name, cert_thumbprint, 'SNI', slot_name), checks=[
- JMESPathCheck("hostNameSslStates|[?name=='{}-{}.azurewebsites.net']|[0].sslState".format(webapp_name, slot_name), 'SniEnabled'),
- JMESPathCheck("hostNameSslStates|[?name=='{}-{}.azurewebsites.net']|[0].thumbprint".format(webapp_name, slot_name), cert_thumbprint)
+ JMESPathCheck("hostNameSslStates|[?name=='{}-{}.azurewebsites.net']|[0].sslState".format(
+ webapp_name, slot_name), 'SniEnabled'),
+ JMESPathCheck("hostNameSslStates|[?name=='{}-{}.azurewebsites.net']|[0].thumbprint".format(
+ webapp_name, slot_name), cert_thumbprint)
])
- self.cmd('webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
+ self.cmd(
+ 'webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
self.cmd('webapp config ssl unbind -g {} -n {} --certificate-thumbprint {} -s {}'.format(resource_group, webapp_name, cert_thumbprint, slot_name), checks=[
- JMESPathCheck("hostNameSslStates|[?name=='{}-{}.azurewebsites.net']|[0].sslState".format(webapp_name, slot_name), 'Disabled'),
- ])
- self.cmd('webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
- self.cmd('webapp config ssl delete -g {} --certificate-thumbprint {}'.format(resource_group, cert_thumbprint))
- self.cmd('webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
+ JMESPathCheck("hostNameSslStates|[?name=='{}-{}.azurewebsites.net']|[0].sslState".format(
+ webapp_name, slot_name), 'Disabled'),
+ ])
+ self.cmd(
+ 'webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
+ self.cmd('webapp config ssl delete -g {} --certificate-thumbprint {}'.format(
+ resource_group, cert_thumbprint))
+ self.cmd(
+ 'webapp show -g {} -n {} -s {}'.format(resource_group, webapp_name, slot_name))
self.cmd('webapp delete -g {} -n {}'.format(resource_group, webapp_name))
@@ -1076,11 +1278,15 @@ def test_webapp_ssl_import(self, resource_group):
cert_thumbprint = '9E9735C45C792B03B3FFCCA614852B32EE71AD6B'
cert_name = 'test-cert'
# we configure tags here in a hope to capture a repro for https://github.com/Azure/azure-cli/issues/6929
- self.cmd('appservice plan create -g {} -n {} --sku B1'.format(resource_group, plan_name))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku B1'.format(resource_group, plan_name))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
self.cmd('keyvault create -g {} -n {}'.format(resource_group, kv_name))
- self.cmd('keyvault set-policy -g {} --name {} --spn {} --secret-permissions get'.format(resource_group, kv_name, 'Microsoft.Azure.WebSites'))
- self.cmd('keyvault certificate import --name {} --vault-name {} --file "{}" --password {}'.format(cert_name, kv_name, pfx_file, cert_password))
+ self.cmd('keyvault set-policy -g {} --name {} --spn {} --secret-permissions get'.format(
+ resource_group, kv_name, 'Microsoft.Azure.WebSites'))
+ self.cmd('keyvault certificate import --name {} --vault-name {} --file "{}" --password {}'.format(
+ cert_name, kv_name, pfx_file, cert_password))
self.cmd('webapp config ssl import --resource-group {} --name {} --key-vault {} --key-vault-certificate-name {}'.format(resource_group, webapp_name, kv_name, cert_name), checks=[
JMESPathCheck('keyVaultSecretStatus', 'Initialized'),
@@ -1088,8 +1294,10 @@ def test_webapp_ssl_import(self, resource_group):
])
self.cmd('webapp config ssl bind -g {} -n {} --certificate-thumbprint {} --ssl-type {}'.format(resource_group, webapp_name, cert_thumbprint, 'SNI'), checks=[
- JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].sslState".format(webapp_name), 'SniEnabled'),
- JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].thumbprint".format(webapp_name), cert_thumbprint)
+ JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].sslState".format(
+ webapp_name), 'SniEnabled'),
+ JMESPathCheck("hostNameSslStates|[?name=='{}.azurewebsites.net']|[0].thumbprint".format(
+ webapp_name), cert_thumbprint)
])
@@ -1098,9 +1306,12 @@ class WebappUndeleteTest(ScenarioTest):
@ResourceGroupPreparer()
def test_webapp_deleted_list(self, resource_group):
plan = self.create_random_name(prefix='delete-me-plan', length=24)
- webapp_name = self.create_random_name(prefix='delete-me-web', length=24)
- self.cmd('appservice plan create -g {} -n {} --sku B1 --tags plan=plan1'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ webapp_name = self.create_random_name(
+ prefix='delete-me-web', length=24)
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku B1 --tags plan=plan1'.format(resource_group, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
self.cmd('webapp delete -g {} -n {}'.format(resource_group, webapp_name))
self.cmd('webapp deleted list -g {}'.format(resource_group), checks=[
JMESPathCheck('[0].deletedSiteName', webapp_name)
@@ -1111,29 +1322,38 @@ class FunctionAppWithPlanE2ETest(ScenarioTest):
@ResourceGroupPreparer()
@ResourceGroupPreparer(parameter_name='resource_group2')
def test_functionapp_e2e(self, resource_group, resource_group2):
- functionapp_name, functionapp_name2 = self.create_random_name('func-e2e', 24), self.create_random_name('func-e2e', 24)
+ functionapp_name, functionapp_name2 = self.create_random_name(
+ 'func-e2e', 24), self.create_random_name('func-e2e', 24)
plan = self.create_random_name('func-e2e-plan', 24)
storage, storage2 = 'functionappplanstorage', 'functionappplanstorage2'
- plan_id = self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan)).get_output_in_json()['id']
+ plan_id = self.cmd('appservice plan create -g {} -n {}'.format(
+ resource_group, plan)).get_output_in_json()['id']
self.cmd('appservice plan list -g {}'.format(resource_group))
- self.cmd('storage account create --name {} -g {} -l westus --sku Standard_LRS'.format(storage, resource_group))
- storage_account_id2 = self.cmd('storage account create --name {} -g {} -l westus --sku Standard_LRS'.format(storage2, resource_group2)).get_output_in_json()['id']
+ self.cmd(
+ 'storage account create --name {} -g {} -l westus --sku Standard_LRS'.format(storage, resource_group))
+ storage_account_id2 = self.cmd('storage account create --name {} -g {} -l westus --sku Standard_LRS'.format(
+ storage2, resource_group2)).get_output_in_json()['id']
self.cmd('functionapp create -g {} -n {} -p {} -s {}'.format(resource_group, functionapp_name, plan, storage), checks=[
JMESPathCheck('state', 'Running'),
JMESPathCheck('name', functionapp_name),
- JMESPathCheck('hostNames[0]', functionapp_name + '.azurewebsites.net')
+ JMESPathCheck('hostNames[0]',
+ functionapp_name + '.azurewebsites.net')
])
- self.cmd('functionapp create -g {} -n {} -p {} -s {}'.format(resource_group2, functionapp_name2, plan_id, storage_account_id2))
- self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
+ self.cmd('functionapp create -g {} -n {} -p {} -s {}'.format(resource_group2,
+ functionapp_name2, plan_id, storage_account_id2))
+ self.cmd(
+ 'functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_on_linux_app_service_java(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcapplinplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-linux', length=24)
self.cmd('functionapp plan create -g {} -n {} --sku S1 --is-linux'.format(resource_group, plan), checks=[
- JMESPathCheck('reserved', True), # this weird field means it is a linux
+ # this weird field means it is a linux
+ JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'S1'),
])
self.cmd('functionapp create -g {} -n {} --plan {} -s {} --runtime java'
@@ -1194,7 +1414,8 @@ class FunctionAppWithConsumptionPlanE2ETest(ScenarioTest):
@ResourceGroupPreparer(name_prefix='azurecli-functionapp-c-e2e', location='westus')
@StorageAccountPreparer()
def test_functionapp_consumption_e2e(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappconsumption', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappconsumption', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {}'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1214,12 +1435,14 @@ def test_functionapp_consumption_e2e(self, resource_group, storage_account):
checks=[self.check('clientAffinityEnabled', True)]
)
- self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
+ self.cmd(
+ 'functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
@ResourceGroupPreparer(name_prefix='azurecli-functionapp-c-e2e-ragrs', location='westus')
@StorageAccountPreparer(sku='Standard_RAGRS')
def test_functionapp_consumption_ragrs_storage_e2e(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappconsumption', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappconsumption', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {}'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1237,7 +1460,8 @@ class FunctionAppWithLinuxConsumptionPlanTest(ScenarioTest):
@ResourceGroupPreparer(name_prefix='azurecli-functionapp-linux', location='westus')
@StorageAccountPreparer()
def test_functionapp_consumption_linux(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionapplinuxconsumption', 40)
+ functionapp_name = self.create_random_name(
+ 'functionapplinuxconsumption', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Linux --runtime node'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1253,7 +1477,8 @@ def test_functionapp_consumption_linux(self, resource_group, storage_account):
@ResourceGroupPreparer(name_prefix='azurecli-functionapp-linux', location='westus')
@StorageAccountPreparer()
def test_functionapp_consumption_linux_java(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionapplinuxconsumption', 40)
+ functionapp_name = self.create_random_name(
+ 'functionapplinuxconsumption', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Linux --runtime java'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1271,7 +1496,8 @@ class FunctionAppOnWindowsWithRuntime(ScenarioTest):
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_windows_runtime(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwindowsruntime', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwindowsruntime', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Windows --runtime node'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1286,7 +1512,8 @@ def test_functionapp_windows_runtime(self, resource_group, storage_account):
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_windows_runtime_version(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwindowsruntime', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwindowsruntime', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Windows --runtime node --runtime-version 8'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1296,15 +1523,18 @@ def test_functionapp_windows_runtime_version(self, resource_group, storage_accou
JMESPathCheck('hostNames[0]', functionapp_name + '.azurewebsites.net')])
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp_name), checks=[
- JMESPathCheck("[?name=='FUNCTIONS_WORKER_RUNTIME'].value|[0]", 'node'),
+ JMESPathCheck(
+ "[?name=='FUNCTIONS_WORKER_RUNTIME'].value|[0]", 'node'),
JMESPathCheck("[?name=='WEBSITE_NODE_DEFAULT_VERSION'].value|[0]", '~8')])
- self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
+ self.cmd(
+ 'functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_windows_runtime_version_invalid(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwindowsruntime', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwindowsruntime', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} '
'--os-type Windows --runtime node --runtime-version 8.2'
@@ -1313,7 +1543,8 @@ def test_functionapp_windows_runtime_version_invalid(self, resource_group, stora
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_windows_runtime_functions_version(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwindowsruntime', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwindowsruntime', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --functions-version 3 --os-type Windows --runtime node'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
JMESPathCheck('state', 'Running'),
@@ -1322,7 +1553,8 @@ def test_functionapp_windows_runtime_functions_version(self, resource_group, sto
JMESPathCheck('hostNames[0]', functionapp_name + '.azurewebsites.net')])
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp_name), checks=[
- JMESPathCheck("[?name=='FUNCTIONS_EXTENSION_VERSION'].value|[0]", '~3'),
+ JMESPathCheck(
+ "[?name=='FUNCTIONS_EXTENSION_VERSION'].value|[0]", '~3'),
JMESPathCheck("[?name=='WEBSITE_NODE_DEFAULT_VERSION'].value|[0]", '~12')])
@@ -1330,7 +1562,8 @@ class FunctionAppOnWindowsWithoutRuntime(ScenarioTest):
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_windows_without_runtime(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwindowswithoutruntime', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwindowswithoutruntime', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Windows'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1339,14 +1572,16 @@ def test_functionapp_windows_without_runtime(self, resource_group, storage_accou
JMESPathCheck('kind', 'functionapp'),
JMESPathCheck('hostNames[0]', functionapp_name + '.azurewebsites.net')])
- self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
+ self.cmd(
+ 'functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
class FunctionAppWithAppInsightsKey(ScenarioTest):
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_with_app_insights_key(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwithappinsights', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwithappinsights', 40)
app_insights_key = '00000000-0000-0000-0000-123456789123'
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Windows'
@@ -1358,17 +1593,20 @@ def test_functionapp_with_app_insights_key(self, resource_group, storage_account
JMESPathCheck('hostNames[0]', functionapp_name + '.azurewebsites.net')])
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp_name)).assert_with_checks([
- JMESPathCheck("[?name=='APPINSIGHTS_INSTRUMENTATIONKEY'].value|[0]", app_insights_key)
+ JMESPathCheck(
+ "[?name=='APPINSIGHTS_INSTRUMENTATIONKEY'].value|[0]", app_insights_key)
])
- self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
+ self.cmd(
+ 'functionapp delete -g {} -n {}'.format(resource_group, functionapp_name))
class FunctionAppWithAppInsightsDefault(ScenarioTest):
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_with_default_app_insights(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwithappinsights', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwithappinsights', 40)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type Windows'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1377,13 +1615,16 @@ def test_functionapp_with_default_app_insights(self, resource_group, storage_acc
JMESPathCheck('kind', 'functionapp'),
JMESPathCheck('hostNames[0]', functionapp_name + '.azurewebsites.net')])
- app_set = self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp_name)).get_output_in_json()
- self.assertTrue('APPINSIGHTS_INSTRUMENTATIONKEY' in [kp['name'] for kp in app_set])
+ app_set = self.cmd('functionapp config appsettings list -g {} -n {}'.format(
+ resource_group, functionapp_name)).get_output_in_json()
+ self.assertTrue('APPINSIGHTS_INSTRUMENTATIONKEY' in [
+ kp['name'] for kp in app_set])
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_with_no_default_app_insights(self, resource_group, storage_account):
- functionapp_name = self.create_random_name('functionappwithappinsights', 40)
+ functionapp_name = self.create_random_name(
+ 'functionappwithappinsights', 40)
self.cmd('functionapp create -g {} -n {} -c centralus -s {} --os-type Windows --disable-app-insights'
.format(resource_group, functionapp_name, storage_account)).assert_with_checks([
@@ -1394,7 +1635,8 @@ def test_functionapp_with_no_default_app_insights(self, resource_group, storage_
app_set = self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group,
functionapp_name)).get_output_in_json()
- self.assertTrue('APPINSIGHTS_INSTRUMENTATIONKEY' not in [kp['name'] for kp in app_set])
+ self.assertTrue('APPINSIGHTS_INSTRUMENTATIONKEY' not in [
+ kp['name'] for kp in app_set])
class FunctionAppOnLinux(ScenarioTest):
@@ -1402,9 +1644,11 @@ class FunctionAppOnLinux(ScenarioTest):
@StorageAccountPreparer()
def test_functionapp_on_linux(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcapplinplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-linux', length=24)
self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan), checks=[
- JMESPathCheck('reserved', True), # this weird field means it is a linux
+ # this weird field means it is a linux
+ JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'S1'),
])
self.cmd('functionapp create -g {} -n {} --plan {} -s {} --runtime node'.format(resource_group, functionapp, plan, storage_account), checks=[
@@ -1425,9 +1669,11 @@ def test_functionapp_on_linux(self, resource_group, storage_account):
@StorageAccountPreparer()
def test_functionapp_on_linux_version(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcapplinplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-linux', length=24)
self.cmd('functionapp plan create -g {} -n {} --sku S1 --is-linux'.format(resource_group, plan), checks=[
- JMESPathCheck('reserved', True), # this weird field means it is a linux
+ # this weird field means it is a linux
+ JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'S1'),
])
self.cmd('functionapp create -g {} -n {} --plan {} -s {} --runtime node --runtime-version 10'
@@ -1447,7 +1693,8 @@ def test_functionapp_on_linux_version(self, resource_group, storage_account):
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_on_linux_version_consumption(self, resource_group, storage_account):
- functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-linux', length=24)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --os-type linux --runtime python --runtime-version 3.7'
.format(resource_group, functionapp, storage_account), checks=[
JMESPathCheck('name', functionapp)
@@ -1460,7 +1707,8 @@ def test_functionapp_on_linux_version_consumption(self, resource_group, storage_
@StorageAccountPreparer()
def test_functionapp_on_linux_version_error(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcapplinplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-linux', length=24)
self.cmd('functionapp plan create -g {} -n {} --sku S1 --is-linux'.format(resource_group, plan), checks=[
JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'S1'),
@@ -1473,9 +1721,11 @@ def test_functionapp_on_linux_version_error(self, resource_group, storage_accoun
@StorageAccountPreparer()
def test_functionapp_on_linux_functions_version(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcapplinplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-linux', length=24)
self.cmd('appservice plan create -g {} -n {} --sku S1 --is-linux' .format(resource_group, plan), checks=[
- JMESPathCheck('reserved', True), # this weird field means it is a linux
+ # this weird field means it is a linux
+ JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'S1')
])
self.cmd('functionapp create -g {} -n {} --plan {} -s {} --functions-version 3 --runtime node'
@@ -1484,17 +1734,21 @@ def test_functionapp_on_linux_functions_version(self, resource_group, storage_ac
])
self.cmd('functionapp config show -g {} -n {}'.format(resource_group, functionapp), checks=[
- JMESPathCheck('linuxFxVersion', 'DOCKER|mcr.microsoft.com/azure-functions/node:3.0-node12-appservice')
+ JMESPathCheck(
+ 'linuxFxVersion', 'DOCKER|mcr.microsoft.com/azure-functions/node:3.0-node12-appservice')
])
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp)).assert_with_checks([
- JMESPathCheck("[?name=='FUNCTIONS_EXTENSION_VERSION'].value|[0]", '~3'),
- JMESPathCheck("[?name=='WEBSITE_NODE_DEFAULT_VERSION'].value|[0]", '~12')
+ JMESPathCheck(
+ "[?name=='FUNCTIONS_EXTENSION_VERSION'].value|[0]", '~3'),
+ JMESPathCheck(
+ "[?name=='WEBSITE_NODE_DEFAULT_VERSION'].value|[0]", '~12')
])
@ResourceGroupPreparer(location='westus')
@StorageAccountPreparer()
def test_functionapp_on_linux_functions_version_consumption(self, resource_group, storage_account):
- functionapp = self.create_random_name(prefix='functionapp-linux', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-linux', length=24)
self.cmd('functionapp create -g {} -n {} -c westus -s {} --functions-version 3 --runtime node --os-type linux'
.format(resource_group, functionapp, storage_account), checks=[
JMESPathCheck('name', functionapp)
@@ -1504,8 +1758,10 @@ def test_functionapp_on_linux_functions_version_consumption(self, resource_group
JMESPathCheck('linuxFxVersion', 'NODE|12')
])
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp)).assert_with_checks([
- JMESPathCheck("[?name=='FUNCTIONS_EXTENSION_VERSION'].value|[0]", '~3'),
- JMESPathCheck("[?name=='WEBSITE_NODE_DEFAULT_VERSION'].value|[0]", '~12')
+ JMESPathCheck(
+ "[?name=='FUNCTIONS_EXTENSION_VERSION'].value|[0]", '~3'),
+ JMESPathCheck(
+ "[?name=='WEBSITE_NODE_DEFAULT_VERSION'].value|[0]", '~12')
])
@@ -1553,7 +1809,8 @@ class FunctionAppSlotTests(ScenarioTest):
@StorageAccountPreparer()
def test_functionapp_slot_creation(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcappplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-slot', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-slot', length=24)
slotname = self.create_random_name(prefix='slotname', length=24)
self.cmd('functionapp plan create -g {} -n {} --sku S1'.format(resource_group, plan), checks=[
JMESPathCheck('sku.name', 'S1'),
@@ -1569,12 +1826,15 @@ def test_functionapp_slot_creation(self, resource_group, storage_account):
])
pre_slot_list = self.cmd('functionapp deployment slot list -g {} -n {}'.format(resource_group, functionapp),
checks=[
- JMESPathCheck("[?name=='{}'].type|[0]".format(slotname), 'Microsoft.Web/sites/slots')
+ JMESPathCheck("[?name=='{}'].type|[0]".format(
+ slotname), 'Microsoft.Web/sites/slots')
]).get_output_in_json()
self.assertEqual(len(pre_slot_list), 1)
- self.cmd('functionapp deployment slot delete -g {} -n {} --slot {}'.format(resource_group, functionapp, slotname))
+ self.cmd('functionapp deployment slot delete -g {} -n {} --slot {}'.format(
+ resource_group, functionapp, slotname))
- deleted_slot_list = self.cmd('functionapp deployment slot list -g {} -n {}'.format(resource_group, functionapp)).get_output_in_json()
+ deleted_slot_list = self.cmd('functionapp deployment slot list -g {} -n {}'.format(
+ resource_group, functionapp)).get_output_in_json()
self.assertEqual(len(deleted_slot_list), 0)
self.cmd('functionapp delete -g {} -n {}'.format(resource_group, functionapp))
@@ -1582,7 +1842,8 @@ def test_functionapp_slot_creation(self, resource_group, storage_account):
@StorageAccountPreparer()
def test_functionapp_slot_appsetting_update(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcappplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-slot', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-slot', length=24)
slotname = self.create_random_name(prefix='slotname', length=24)
self.cmd('functionapp plan create -g {} -n {} --sku S1'.format(resource_group, plan), checks=[
JMESPathCheck('sku.name', 'S1'),
@@ -1609,7 +1870,8 @@ def test_functionapp_slot_appsetting_update(self, resource_group, storage_accoun
@StorageAccountPreparer()
def test_functionapp_slot_swap(self, resource_group, storage_account):
plan = self.create_random_name(prefix='funcappplan', length=24)
- functionapp = self.create_random_name(prefix='functionapp-slot', length=24)
+ functionapp = self.create_random_name(
+ prefix='functionapp-slot', length=24)
slotname = self.create_random_name(prefix='slotname', length=24)
self.cmd('functionapp plan create -g {} -n {} --sku S1'.format(resource_group, plan), checks=[
JMESPathCheck('sku.name', 'S1'),
@@ -1627,7 +1889,8 @@ def test_functionapp_slot_swap(self, resource_group, storage_account):
slotname), checks=[
JMESPathCheck("[?name=='FOO'].value|[0]", 'BAR')
])
- self.cmd('functionapp deployment slot swap -g {} -n {} --slot {} --action swap'.format(resource_group, functionapp, slotname))
+ self.cmd('functionapp deployment slot swap -g {} -n {} --slot {} --action swap'.format(
+ resource_group, functionapp, slotname))
self.cmd('functionapp config appsettings list -g {} -n {}'.format(resource_group, functionapp), checks=[
JMESPathCheck("[?name=='FOO'].value|[0]", 'BAR')
])
@@ -1639,8 +1902,10 @@ class WebappAuthenticationTest(ScenarioTest):
def test_webapp_authentication(self, resource_group):
webapp_name = self.create_random_name('webapp-authentication-test', 40)
plan_name = self.create_random_name('webapp-authentication-plan', 40)
- self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
# testing show command for newly created app and initial fields
self.cmd('webapp auth show -g {} -n {}'.format(resource_group, webapp_name)).assert_with_checks([
JMESPathCheck('unauthenticatedClientAction', None),
@@ -1666,7 +1931,8 @@ def test_webapp_authentication(self, resource_group):
'--facebook-app-id facebook_id --facebook-app-secret facebook_secret '
'--facebook-oauth-scopes public_profile email'
.format(resource_group, webapp_name)).assert_with_checks([
- JMESPathCheck('unauthenticatedClientAction', 'RedirectToLoginPage'),
+ JMESPathCheck(
+ 'unauthenticatedClientAction', 'RedirectToLoginPage'),
JMESPathCheck('defaultProvider', 'Facebook'),
JMESPathCheck('enabled', True),
JMESPathCheck('tokenStoreEnabled', False),
@@ -1701,7 +1967,8 @@ def test_webapp_update(self, resource_group):
JMESPathCheck('clientAffinityEnabled', False)])
# try out on slots
- self.cmd('webapp deployment slot create -g {} -n {} -s s1'.format(resource_group, webapp_name))
+ self.cmd(
+ 'webapp deployment slot create -g {} -n {} -s s1'.format(resource_group, webapp_name))
self.cmd('webapp update -g {} -n {} -s s1 --client-affinity-enabled true'.format(resource_group, webapp_name), checks=[
self.check('clientAffinityEnabled', True)
])
@@ -1713,8 +1980,10 @@ def test_deploy_zip(self, resource_group):
webapp_name = self.create_random_name('webapp-zipDeploy-test', 40)
plan_name = self.create_random_name('webapp-zipDeploy-plan', 40)
zip_file = os.path.join(TEST_DIR, 'test.zip')
- self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan_name))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
self.cmd('webapp deployment source config-zip -g {} -n {} --src "{}"'.format(resource_group, webapp_name, zip_file)).assert_with_checks([
JMESPathCheck('status', 4),
JMESPathCheck('deployer', 'Push-Deployer'),
@@ -1745,14 +2014,18 @@ class WebappImplictIdentityTest(ScenarioTest):
@AllowLargeResponse(8192)
@ResourceGroupPreparer()
def test_webapp_assign_system_identity(self, resource_group):
- scope = '/subscriptions/{}/resourcegroups/{}'.format(self.get_subscription_id(), resource_group)
+ scope = '/subscriptions/{}/resourcegroups/{}'.format(
+ self.get_subscription_id(), resource_group)
role = 'Reader'
plan_name = self.create_random_name('web-msi-plan', 20)
webapp_name = self.create_random_name('web-msi', 20)
- self.cmd('appservice plan create -g {} -n {}'.format(resource_group, plan_name))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {}'.format(resource_group, plan_name))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan_name))
with mock.patch('azure.cli.core.commands.arm._gen_guid', side_effect=self.create_guid):
- result = self.cmd('webapp identity assign -g {} -n {} --role {} --scope {}'.format(resource_group, webapp_name, role, scope)).get_output_in_json()
+ result = self.cmd('webapp identity assign -g {} -n {} --role {} --scope {}'.format(
+ resource_group, webapp_name, role, scope)).get_output_in_json()
self.cmd('webapp identity show -g {} -n {}'.format(resource_group, webapp_name), checks=[
self.check('principalId', result['principalId'])
])
@@ -1761,16 +2034,21 @@ def test_webapp_assign_system_identity(self, resource_group):
JMESPathCheck('length([])', 1),
JMESPathCheck('[0].roleDefinitionName', role)
])
- self.cmd('webapp identity show -g {} -n {}'.format(resource_group, webapp_name), checks=self.check('principalId', result['principalId']))
- self.cmd('webapp identity remove -g {} -n {}'.format(resource_group, webapp_name))
- self.cmd('webapp identity show -g {} -n {}'.format(resource_group, webapp_name), checks=self.is_empty())
+ self.cmd('webapp identity show -g {} -n {}'.format(resource_group,
+ webapp_name), checks=self.check('principalId', result['principalId']))
+ self.cmd(
+ 'webapp identity remove -g {} -n {}'.format(resource_group, webapp_name))
+ self.cmd('webapp identity show -g {} -n {}'.format(resource_group,
+ webapp_name), checks=self.is_empty())
class WebappListLocationsFreeSKUTest(ScenarioTest):
@ResourceGroupPreparer(name_prefix='cli_test_webapp_list-locations-free-sku-test')
def test_webapp_list_locations_free_sku(self, resource_group):
- asp_F1 = self.cmd('appservice list-locations --sku F1').get_output_in_json()
- result = self.cmd('appservice list-locations --sku Free').get_output_in_json()
+ asp_F1 = self.cmd(
+ 'appservice list-locations --sku F1').get_output_in_json()
+ result = self.cmd(
+ 'appservice list-locations --sku Free').get_output_in_json()
self.assertEqual(asp_F1, result)
@@ -1789,7 +2067,8 @@ def test_webapp_triggeredWebjob_list(self, resource_group):
self.cmd('webapp webjob triggered list -g {} -n {}'
.format(resource_group_name, webapp_name)).assert_with_checks([
JMESPathCheck('length(@)', 1),
- JMESPathCheck('[0].name', '{}/{}'.format(webapp_name, webjob_name)),
+ JMESPathCheck(
+ '[0].name', '{}/{}'.format(webapp_name, webjob_name)),
JMESPathCheck('[0].type', 'Microsoft.Web/sites/triggeredwebjobs')])
@@ -1808,7 +2087,8 @@ def test_webapp_continuousWebjob_e2e(self, resource_group):
self.cmd('webapp webjob continuous list -g {} -n {}'
.format(resource_group_name, webapp_name)).assert_with_checks([
JMESPathCheck('length(@)', 1),
- JMESPathCheck('[0].name', '{}/{}'.format(webapp_name, webjob_name)),
+ JMESPathCheck(
+ '[0].name', '{}/{}'.format(webapp_name, webjob_name)),
JMESPathCheck('[0].type', 'Microsoft.Web/sites/continuouswebjobs')])
# start
self.cmd('webapp webjob continuous start -g {} -n {} -w {}'
@@ -1824,10 +2104,12 @@ class WebappWindowsContainerBasicE2ETest(ScenarioTest):
@AllowLargeResponse()
@ResourceGroupPreparer()
def test_webapp_hyperv_e2e(self, resource_group):
- webapp_name = self.create_random_name(prefix='webapp-hyperv-e2e', length=24)
+ webapp_name = self.create_random_name(
+ prefix='webapp-hyperv-e2e', length=24)
plan = self.create_random_name(prefix='webapp-hyperv-plan', length=24)
- self.cmd('appservice plan create -g {} -n {} --hyper-v --sku PC2'.format(resource_group, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --hyper-v --sku PC2'.format(resource_group, plan))
self.cmd('appservice plan list -g {}'.format(resource_group), checks=[
JMESPathCheck('length(@)', 1),
JMESPathCheck('[0].name', plan),
@@ -1835,7 +2117,8 @@ def test_webapp_hyperv_e2e(self, resource_group):
JMESPathCheck('[0].sku.name', 'PC2')
])
self.cmd('appservice plan list -g {}'.format(resource_group), checks=[
- JMESPathCheck("length([?name=='{}' && resourceGroup=='{}'])".format(plan, resource_group), 1)
+ JMESPathCheck("length([?name=='{}' && resourceGroup=='{}'])".format(
+ plan, resource_group), 1)
])
self.cmd('appservice plan show -g {} -n {}'.format(resource_group, plan), checks=[
JMESPathCheck('name', plan)
@@ -1848,13 +2131,16 @@ def test_webapp_hyperv_e2e(self, resource_group):
self.cmd('webapp list -g {}'.format(resource_group), checks=[
JMESPathCheck('length(@)', 1),
JMESPathCheck('[0].name', webapp_name),
- JMESPathCheck('[0].hostNames[0]', webapp_name + '.azurewebsites.net')
+ JMESPathCheck('[0].hostNames[0]', webapp_name +
+ '.azurewebsites.net')
])
self.cmd('webapp config show -g {} -n {}'.format(resource_group, webapp_name), checks=[
- JMESPathCheck('windowsFxVersion', "DOCKER|microsoft/iis:nanoserver-sac2016"),
+ JMESPathCheck('windowsFxVersion',
+ "DOCKER|microsoft/iis:nanoserver-sac2016"),
JMESPathCheck('linuxFxVersion', "")
])
- self.cmd('webapp config set -g {} -n {} --windows-fx-version "DOCKER|microsoft/iis"'.format(resource_group, webapp_name))
+ self.cmd('webapp config set -g {} -n {} --windows-fx-version "DOCKER|microsoft/iis"'.format(
+ resource_group, webapp_name))
self.cmd('webapp config show -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('windowsFxVersion', "DOCKER|microsoft/iis"),
JMESPathCheck('linuxFxVersion', "")
@@ -1866,8 +2152,10 @@ def test_webapp_create_noAlwaysOn(self, resource_group):
webapp_name = self.create_random_name('webapp-create-alwaysOn-e2e', 44)
plan = self.create_random_name('plan-create-alwaysOn-e2e', 44)
- self.cmd('appservice plan create -g {} -n {} --sku SHARED'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku SHARED'.format(resource_group, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
# verify alwaysOn
self.cmd('webapp config show -g {} -n {}'.format(resource_group, webapp_name)).assert_with_checks([
JMESPathCheck('alwaysOn', False)])
@@ -1878,7 +2166,8 @@ def test_webapp_create_linux_free(self, resource_group):
plan = self.create_random_name('plan-linux-free', 24)
self.cmd('appservice plan create -g {} -n {} --sku F1 --is-linux'.format(resource_group, plan), checks=[
- JMESPathCheck('reserved', True), # this weird field means it is a linux
+ # this weird field means it is a linux
+ JMESPathCheck('reserved', True),
JMESPathCheck('sku.name', 'F1')])
self.cmd('webapp create -g {} -n {} --plan {} -u {} -r "node|10.14"'.format(resource_group, webapp_name, plan,
TEST_REPO_URL))
@@ -1897,16 +2186,22 @@ def test_webapp_hybridconnectionE2E(self, resource_group):
hyco_name = self.create_random_name('hcname', 24)
um = "[{{\\\"key\\\":\\\"endpoint\\\",\\\"value\\\":\\\"vmsq1:80\\\"}}]"
- self.cmd('appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
- self.cmd('relay namespace create -g {} --name {}'.format(resource_group, namespace_name))
- self.cmd('relay hyco create -g {} --namespace-name {} --name {} --user-metadata {}'.format(resource_group, namespace_name, hyco_name, um))
- self.cmd('webapp hybrid-connection add -g {} -n {} --namespace {} --hybrid-connection {}'.format(resource_group, webapp_name, namespace_name, hyco_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku S1'.format(resource_group, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ self.cmd(
+ 'relay namespace create -g {} --name {}'.format(resource_group, namespace_name))
+ self.cmd('relay hyco create -g {} --namespace-name {} --name {} --user-metadata {}'.format(
+ resource_group, namespace_name, hyco_name, um))
+ self.cmd('webapp hybrid-connection add -g {} -n {} --namespace {} --hybrid-connection {}'.format(
+ resource_group, webapp_name, namespace_name, hyco_name))
self.cmd('webapp hybrid-connection list -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('length(@)', 1),
JMESPathCheck('[0].name', hyco_name)
])
- self.cmd('webapp hybrid-connection remove -g {} -n {} --namespace {} --hybrid-connection {}'.format(resource_group, webapp_name, namespace_name, hyco_name))
+ self.cmd('webapp hybrid-connection remove -g {} -n {} --namespace {} --hybrid-connection {}'.format(
+ resource_group, webapp_name, namespace_name, hyco_name))
self.cmd('webapp hybrid-connection list -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('length(@)', 0)
])
@@ -1918,15 +2213,20 @@ def test_webapp_vnetE2E(self, resource_group):
subnet_name = self.create_random_name('swiftsubnet', 24)
vnet_name = self.create_random_name('swiftname', 24)
- self.cmd('network vnet create -g {} -n {} --address-prefix 10.0.0.0/16 --subnet-name {} --subnet-prefix 10.0.0.0/24'.format(resource_group, vnet_name, subnet_name))
- self.cmd('appservice plan create -g {} -n {} --sku P1V2'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
- self.cmd('webapp vnet-integration add -g {} -n {} --vnet {} --subnet {}'.format(resource_group, webapp_name, vnet_name, subnet_name))
+ self.cmd('network vnet create -g {} -n {} --address-prefix 10.0.0.0/16 --subnet-name {} --subnet-prefix 10.0.0.0/24'.format(
+ resource_group, vnet_name, subnet_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku P1V2'.format(resource_group, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ self.cmd('webapp vnet-integration add -g {} -n {} --vnet {} --subnet {}'.format(
+ resource_group, webapp_name, vnet_name, subnet_name))
self.cmd('webapp vnet-integration list -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('length(@)', 1),
JMESPathCheck('[0].name', subnet_name)
])
- self.cmd('webapp vnet-integration remove -g {} -n {}'.format(resource_group, webapp_name))
+ self.cmd(
+ 'webapp vnet-integration remove -g {} -n {}'.format(resource_group, webapp_name))
self.cmd('webapp vnet-integration list -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('length(@)', 0)
])
@@ -1938,11 +2238,16 @@ def test_webapp_vnetDelegation(self, resource_group):
subnet_name = self.create_random_name('swiftsubnet', 24)
vnet_name = self.create_random_name('swiftname', 24)
- self.cmd('network vnet create -g {} -n {} --address-prefix 10.0.0.0/16 --subnet-name {} --subnet-prefix 10.0.0.0/24'.format(resource_group, vnet_name, subnet_name))
- self.cmd('network vnet subnet update -g {} --vnet {} --name {} --delegations Microsoft.Web/serverfarms --service-endpoints Microsoft.Storage'.format(resource_group, vnet_name, subnet_name))
- self.cmd('appservice plan create -g {} -n {} --sku P1V2'.format(resource_group, plan))
- self.cmd('webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
- self.cmd('webapp vnet-integration add -g {} -n {} --vnet {} --subnet {}'.format(resource_group, webapp_name, vnet_name, subnet_name))
+ self.cmd('network vnet create -g {} -n {} --address-prefix 10.0.0.0/16 --subnet-name {} --subnet-prefix 10.0.0.0/24'.format(
+ resource_group, vnet_name, subnet_name))
+ self.cmd('network vnet subnet update -g {} --vnet {} --name {} --delegations Microsoft.Web/serverfarms --service-endpoints Microsoft.Storage'.format(
+ resource_group, vnet_name, subnet_name))
+ self.cmd(
+ 'appservice plan create -g {} -n {} --sku P1V2'.format(resource_group, plan))
+ self.cmd(
+ 'webapp create -g {} -n {} --plan {}'.format(resource_group, webapp_name, plan))
+ self.cmd('webapp vnet-integration add -g {} -n {} --vnet {} --subnet {}'.format(
+ resource_group, webapp_name, vnet_name, subnet_name))
self.cmd('webapp vnet-integration list -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('length(@)', 1),
JMESPathCheck('[0].name', subnet_name)
@@ -1950,7 +2255,8 @@ def test_webapp_vnetDelegation(self, resource_group):
self.cmd(' network vnet subnet show -g {} -n {} --vnet-name {}'.format(resource_group, subnet_name, vnet_name), checks=[
JMESPathCheck('serviceEndpoints[0].service', "Microsoft.Storage")
])
- self.cmd('webapp vnet-integration remove -g {} -n {}'.format(resource_group, webapp_name))
+ self.cmd(
+ 'webapp vnet-integration remove -g {} -n {}'.format(resource_group, webapp_name))
self.cmd('webapp vnet-integration list -g {} -n {}'.format(resource_group, webapp_name), checks=[
JMESPathCheck('length(@)', 0)
])