diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj b/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj index e03ab2573607..3ee214453072 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj +++ b/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj @@ -131,6 +131,7 @@ PreserveNewest + diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 index 85902341552a..9e94819b7555 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 +++ b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/Common.ps1 @@ -18,7 +18,6 @@ Gets a website name for testing. #> function Get-WebsiteName { -# need to remove hardcoding return getAssetName } @@ -28,7 +27,6 @@ Gets a website name for testing. #> function Get-WebHostPlanName { -# need to remove hardcoding return getAssetName } diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.cs b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.cs index edb1b4a2fde1..a5afcd7eaea5 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.cs +++ b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.cs @@ -33,5 +33,12 @@ public void TestCreatesNewAppServicePlan() { WebsitesController.NewInstance.RunPsTest("Test-CreatesNewAppServicePlan"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSetNewAppServicePlan() + { + WebsitesController.NewInstance.RunPsTest("Test-SetNewAppServicePlan"); + } } } diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 index c3fa56f9181f..77f6c66fcb66 100644 --- a/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 +++ b/src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1 @@ -78,4 +78,47 @@ function Test-CreatesNewAppServicePlan Remove-AzureAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force Remove-AzureResourceGroup -Name $rgname -Force } +} + +<# +.SYNOPSIS +Tests creating a new Web Hosting Plan. +#> +function Test-SetNewAppServicePlan +{ + # Setup + $rgname = Get-ResourceGroupName + $whpName = Get-WebHostPlanName + $location = Get-Location + + try + { + #Setup + New-AzureResourceGroup -Name $rgname -Location $location + # Test + $actual = New-AzureAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location + $result = Get-AzureAppServicePlan -ResourceGroupName $rgname -Name $whpName + # Assert + Assert-AreEqual $whpName $result.WebHostingPlan.Name + Assert-AreEqual 1 $result.WebHostingPlan.Properties.NumberOfWorkers + Assert-AreEqual "Standard" $result.WebHostingPlan.Properties.Sku + Assert-AreEqual "Small" $result.WebHostingPlan.Properties.WorkerSize + + # Test setting the created service plan + $newresult = Set-AzureAppServicePlan -ResourceGroupName $rgname -Name $whpName -Location $location -Sku Premium -NumberofWorkers 12 -WorkerSize Medium + # due to a bug Set and New are not returning the appropriate object so need to get. + $newresult = Get-AzureAppServicePlan -ResourceGroupName $rgname -Name $whpName + + # Assert + Assert-AreEqual $whpName $result.WebHostingPlan.Name + Assert-AreEqual 12 $newresult.WebHostingPlan.Properties.NumberOfWorkers + Assert-AreEqual "Premium" $newresult.WebHostingPlan.Properties.Sku + Assert-AreEqual "Medium" $newresult.WebHostingPlan.Properties.WorkerSize + } + finally + { + # Cleanup + Remove-AzureAppServicePlan -ResourceGroupName $rgname -Name $whpName -Force + Remove-AzureResourceGroup -Name $rgname -Force + } } \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/SessionRecords/Microsoft.Azure.Commands.WebApp.Test.ScenarioTests.WebAppTests/TestSetNewAppServicePlan.json b/src/ResourceManager/Websites/Commands.Websites.Test/SessionRecords/Microsoft.Azure.Commands.WebApp.Test.ScenarioTests.WebAppTests/TestSetNewAppServicePlan.json new file mode 100644 index 000000000000..80d1d1518e4c --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites.Test/SessionRecords/Microsoft.Azure.Commands.WebApp.Test.ScenarioTests.WebAppTests/TestSetNewAppServicePlan.json @@ -0,0 +1,862 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Byb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [\r\n \"\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.AppService\",\r\n \"namespace\": \"Microsoft.AppService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"apiapps\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"appIdentities\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gateways\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"East Asia\",\r\n \"Japan East\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"Brazil South\",\r\n \"East US 2\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymenttemplates\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-03-01-alpha\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.BizTalkServices\",\r\n \"namespace\": \"Microsoft.BizTalkServices\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BizTalk\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/microsoft.cache\",\r\n \"namespace\": \"microsoft.cache\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"Redis\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-04-01-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"Redis/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/microsoft.insights\",\r\n \"namespace\": \"microsoft.insights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"components\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-07-31-beta\",\r\n \"2014-07-31-alpha\",\r\n \"2014-07-01-01dp\",\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"webtests\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-07-31-beta\",\r\n \"2014-07-31-alpha\",\r\n \"2014-04-01\",\r\n \"2014-04\",\r\n \"2014-03-31-beta\",\r\n \"2014-03-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"queries\",\r\n \"locations\": [\r\n \"Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01\",\r\n \"2014-07-31-beta\",\r\n \"2014-07-31-alpha\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"alertrules\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"autoscalesettings\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"eventtypes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-11-01\",\r\n \"2014-04-01\",\r\n \"2014-04\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitionNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metricNamespace\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\",\r\n \"2014-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.KeyVault\",\r\n \"namespace\": \"Microsoft.KeyVault\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"vaults\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-12-19-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"vaults/secrets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US 2\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-12-19-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.OperationalInsights\",\r\n \"namespace\": \"Microsoft.OperationalInsights\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workspaces\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-11-10\",\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageInsightConfigs\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"linkTargets\",\r\n \"locations\": [\r\n \"East US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-10\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/microsoft.visualstudio\",\r\n \"namespace\": \"microsoft.visualstudio\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"account\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"account/project\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"West US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01-preview\",\r\n \"2014-02-26\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Web\",\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"sites/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"sites/slots/instances/extensions\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"publishingUsers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"ishostnameavailable\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sourceControls\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"certificates\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/slots\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"MSFT West US\",\r\n \"MSFT East US\",\r\n \"MSFT East Asia\",\r\n \"MSFT North Europe\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"runtimes\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"sites/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"serverFarms/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"georegions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"hostingEnvironments\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Southeast Asia\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-01\",\r\n \"2015-02-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"deploymentLocations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-01\",\r\n \"2015-0-01\",\r\n \"2014-11-01\",\r\n \"2014-06-01\",\r\n \"2014-04-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/NewRelic.APM\",\r\n \"namespace\": \"NewRelic.APM\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-10-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/successbricks.cleardb\",\r\n \"namespace\": \"successbricks.cleardb\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"clusters\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia Southeast\",\r\n \"Australia East\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.ADHybridHealthService\",\r\n \"namespace\": \"Microsoft.ADHybridHealthService\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"services\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"configuration\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"agents\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Authorization\",\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"roleAssignments\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"roleDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"classicAdministrators\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"permissions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-10-01-preview\",\r\n \"2014-07-01-preview\",\r\n \"2014-04-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"locks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01\",\r\n \"2014-10-01-preview\",\r\n \"2014-06-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Backup\",\r\n \"namespace\": \"Microsoft.Backup\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"BackupVault\",\r\n \"locations\": [\r\n \"East US\",\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-15\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.ClassicCompute\",\r\n \"namespace\": \"Microsoft.ClassicCompute\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"domainNames\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDomainNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"domainNames/slots/roles/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"virtualMachines/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.ClassicNetwork\",\r\n \"namespace\": \"Microsoft.ClassicNetwork\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"virtualNetworks\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reservedIps\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"gatewaySupportedDevices\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.ClassicStorage\",\r\n \"namespace\": \"Microsoft.ClassicStorage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US 2 (Stage)\",\r\n \"North Central US (Stage)\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01-beta\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"quotas\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkStorageAccountAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-01-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services\",\r\n \"locations\": [\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/services/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metricDefinitions\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"storageAccounts/metrics\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"capabilities\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"disks\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"images\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-06-01\",\r\n \"2014-04-01\",\r\n \"2014-01-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.DataFactory\",\r\n \"namespace\": \"Microsoft.DataFactory\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"dataFactories\",\r\n \"locations\": [\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\",\r\n \"2014-12-01-preview\",\r\n \"2014-10-01-preview\",\r\n \"2014-09-01-preview\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/diagnosticSettings\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"dataFactories/metricDefinitions\",\r\n \"locations\": [\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Brazil South\",\r\n \"West US\",\r\n \"Central US\",\r\n \"South Central US\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkDataFactoryNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-01-01-preview\",\r\n \"2014-09-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.DocumentDB\",\r\n \"namespace\": \"Microsoft.DocumentDB\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"databaseAccounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East US\",\r\n \"East Asia\",\r\n \"Southeast Asia\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-04-08\",\r\n \"2014-08-21\",\r\n \"2014-07-10\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Features\",\r\n \"namespace\": \"Microsoft.Features\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"features\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"providers\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.IntelligentSystems\",\r\n \"namespace\": \"Microsoft.IntelligentSystems\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"accounts\",\r\n \"locations\": [\r\n \"West US\",\r\n \"North Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-28-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Logic\",\r\n \"namespace\": \"Microsoft.Logic\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"workflows\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.NotificationHubs\",\r\n \"namespace\": \"Microsoft.NotificationHubs\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"namespaces\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"namespaces/notificationHubs\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Brazil South\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Europe\",\r\n \"West Europe\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-09-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.PowerApps\",\r\n \"namespace\": \"Microsoft.PowerApps\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"apps\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"generateTransientStorage\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"objectIds\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"objectIds/apps\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"galleries\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"galleries/items\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"tenants\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"enroll\",\r\n \"locations\": [\r\n \"United States\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01-preview\",\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Resources\",\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"subscriptions\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/providers\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/operationresults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"resourceGroups\",\r\n \"locations\": [\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Australia Southeast\",\r\n \"Australia East\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/locations\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"subscriptions/tagnames\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"links\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Scheduler\",\r\n \"namespace\": \"Microsoft.Scheduler\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"jobcollections\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"West US\",\r\n \"East US\",\r\n \"Japan West\",\r\n \"Japan East\",\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East US 2\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-08-01-preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"flows\",\r\n \"locations\": [\r\n \"East US\",\r\n \"South Central US\",\r\n \"West US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-01-preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Search\",\r\n \"namespace\": \"Microsoft.Search\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"searchServices\",\r\n \"locations\": [\r\n \"West US\",\r\n \"East US\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"North Central US\",\r\n \"South Central US\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-02-28\",\r\n \"2014-07-31-Preview\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/Microsoft.Sql\",\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"servers\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases\",\r\n \"locations\": [\r\n \"Brazil South\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"North Central US\",\r\n \"North Europe\",\r\n \"South Central US\",\r\n \"Southeast Asia\",\r\n \"West Europe\",\r\n \"West US\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/serviceObjectives\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/restorableDroppedDatabases\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/recoverableDatabases\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/import\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/importExportOperationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/operationResults\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/firewallrules\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databaseSecurityMetrics\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/auditingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/auditingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/connectionPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/securityMetrics\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/dataMaskingPolicies\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/dataMaskingPolicies/rules\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/usages\",\r\n \"locations\": [],\r\n \"apiVersions\": []\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metricDefinitions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"servers/databases/metrics\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"West US\",\r\n \"Central US\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\"\r\n ],\r\n \"apiVersions\": [\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/providers/microsoft.support\",\r\n \"namespace\": \"microsoft.support\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"actions\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01\",\r\n \"2014-04-01\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"supporttickets\",\r\n \"locations\": [\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"Central US\",\r\n \"West Europe\",\r\n \"North Europe\",\r\n \"West US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Brazil South\",\r\n \"Southeast Asia\",\r\n \"East Asia\",\r\n \"Australia East\",\r\n \"Australia Southeast\"\r\n ],\r\n \"apiVersions\": [\r\n \"2015-03-01\",\r\n \"2014-04-01\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"NotRegistered\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "32862" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31999" + ], + "x-ms-request-id": [ + "de61147a-2e43-4229-be9e-e30121f0d855" + ], + "x-ms-correlation-request-id": [ + "de61147a-2e43-4229-be9e-e30121f0d855" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194604Z:de61147a-2e43-4229-be9e-e30121f0d855" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:04 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourcegroups/onesdk7664?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2NjQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-request-id": [ + "51915b84-1629-472b-802b-2f592dc448b7" + ], + "x-ms-correlation-request-id": [ + "51915b84-1629-472b-802b-2f592dc448b7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194604Z:51915b84-1629-472b-802b-2f592dc448b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:04 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourcegroups/onesdk7664?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2NjQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31996" + ], + "x-ms-request-id": [ + "03f2f967-d245-4b90-949f-fc142a3ef68c" + ], + "x-ms-correlation-request-id": [ + "03f2f967-d245-4b90-949f-fc142a3ef68c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194637Z:03f2f967-d245-4b90-949f-fc142a3ef68c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:36 GMT" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourcegroups/onesdk7664?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2NjQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"Brazil South\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "34" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664\",\r\n \"name\": \"onesdk7664\",\r\n \"location\": \"brazilsouth\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "178" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "5999" + ], + "x-ms-request-id": [ + "f5357777-847b-4cc2-a787-333f9c1b2595" + ], + "x-ms-correlation-request-id": [ + "f5357777-847b-4cc2-a787-333f9c1b2595" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194607Z:f5357777-847b-4cc2-a787-333f9c1b2595" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:07 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NjQvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31997" + ], + "x-ms-request-id": [ + "abaf5a5e-add3-41d0-92d9-adf5a128cc10" + ], + "x-ms-correlation-request-id": [ + "abaf5a5e-add3-41d0-92d9-adf5a128cc10" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194607Z:abaf5a5e-add3-41d0-92d9-adf5a128cc10" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourcegroups/onesdk7664/providers/Microsoft.Authorization/permissions?api-version=2014-07-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2NjQvcHJvdmlkZXJzL01pY3Jvc29mdC5BdXRob3JpemF0aW9uL3Blcm1pc3Npb25zP2FwaS12ZXJzaW9uPTIwMTQtMDctMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"actions\": [\r\n \"*\"\r\n ],\r\n \"notActions\": []\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "45" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "southcentralus:9733b554-7ab2-44cc-ade3-879247148c68" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31998" + ], + "x-ms-correlation-request-id": [ + "c351937d-90f9-4559-99ab-b3e7889a92b6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194608Z:c351937d-90f9-4559-99ab-b3e7889a92b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:07 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverFarms/onesdk9918?api-version=2014-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyRmFybXMvb25lc2RrOTkxOD9hcGktdmVyc2lvbj0yMDE0LTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": \"Standard\",\r\n \"numberOfWorkers\": 1,\r\n \"workerSize\": \"Small\"\r\n },\r\n \"name\": \"onesdk9918\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "177" + ], + "User-Agent": [ + "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverfarms/onesdk9918\",\r\n \"name\": \"onesdk9918\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"kind\": null,\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"plan\": null,\r\n \"properties\": {\r\n \"name\": \"onesdk9918\",\r\n \"sku\": \"Standard\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk7664-BrazilSouthwebspace\",\r\n \"subscription\": \"cad6adbd-8afd-413d-965c-97eaeeacdf31\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"maximumNumberOfWorkers\": 0,\r\n \"planName\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "624" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fadf90f2-617d-45d9-a77e-a655b67fe0df" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "5997" + ], + "x-ms-correlation-request-id": [ + "3d3aa75b-c61a-4d5b-9473-b62143e08434" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194630Z:3d3aa75b-c61a-4d5b-9473-b62143e08434" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:29 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverFarms/onesdk9918?api-version=2014-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyRmFybXMvb25lc2RrOTkxOD9hcGktdmVyc2lvbj0yMDE0LTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"sku\": \"Premium\",\r\n \"numberOfWorkers\": 12,\r\n \"workerSize\": \"Medium\"\r\n },\r\n \"name\": \"onesdk9918\",\r\n \"location\": \"Brazil South\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "178" + ], + "User-Agent": [ + "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverfarms/onesdk9918\",\r\n \"name\": \"onesdk9918\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"kind\": null,\r\n \"location\": \"Brazil South\",\r\n \"tags\": null,\r\n \"plan\": null,\r\n \"properties\": {\r\n \"name\": \"onesdk9918\",\r\n \"sku\": \"Premium\",\r\n \"workerSize\": 1,\r\n \"workerSizeId\": 1,\r\n \"numberOfWorkers\": 12,\r\n \"currentWorkerSize\": 1,\r\n \"currentWorkerSizeId\": 1,\r\n \"currentNumberOfWorkers\": 12,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk7664-BrazilSouthwebspace\",\r\n \"subscription\": \"cad6adbd-8afd-413d-965c-97eaeeacdf31\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"maximumNumberOfWorkers\": 20,\r\n \"planName\": \"VirtualDedicatedPlan\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "646" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "cd7c7354-c5d6-4725-9a7d-507ee390a259" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "5996" + ], + "x-ms-correlation-request-id": [ + "3a99a4b3-8f32-4dce-8bee-0d2643828309" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194632Z:3a99a4b3-8f32-4dce-8bee-0d2643828309" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:31 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverFarms/onesdk9918?api-version=2014-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyRmFybXMvb25lc2RrOTkxOD9hcGktdmVyc2lvbj0yMDE0LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverfarms/onesdk9918\",\r\n \"name\": \"onesdk9918\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"kind\": null,\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"plan\": null,\r\n \"properties\": {\r\n \"name\": \"onesdk9918\",\r\n \"sku\": \"Standard\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk7664-BrazilSouthwebspace\",\r\n \"subscription\": \"cad6adbd-8afd-413d-965c-97eaeeacdf31\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"maximumNumberOfWorkers\": 10,\r\n \"planName\": \"VirtualDedicatedPlan\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "643" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a7495458-b2b1-45fa-8cc5-617102211b7e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31990" + ], + "x-ms-correlation-request-id": [ + "a21b02c4-3072-433e-bee7-8f23e1c0ce2d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194630Z:a21b02c4-3072-433e-bee7-8f23e1c0ce2d" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:29 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverFarms/onesdk9918?api-version=2014-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyRmFybXMvb25lc2RrOTkxOD9hcGktdmVyc2lvbj0yMDE0LTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverfarms/onesdk9918\",\r\n \"name\": \"onesdk9918\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"kind\": null,\r\n \"location\": \"Brazil South\",\r\n \"tags\": {},\r\n \"plan\": null,\r\n \"properties\": {\r\n \"name\": \"onesdk9918\",\r\n \"sku\": \"Premium\",\r\n \"workerSize\": 1,\r\n \"workerSizeId\": 1,\r\n \"numberOfWorkers\": 12,\r\n \"currentWorkerSize\": 1,\r\n \"currentWorkerSizeId\": 1,\r\n \"currentNumberOfWorkers\": 12,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk7664-BrazilSouthwebspace\",\r\n \"subscription\": \"cad6adbd-8afd-413d-965c-97eaeeacdf31\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"maximumNumberOfWorkers\": 20,\r\n \"planName\": \"VirtualDedicatedPlan\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "644" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "22ad79ab-1d16-41a2-b2f1-e1a38d6024eb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31989" + ], + "x-ms-correlation-request-id": [ + "7382c449-02e6-44dd-9d7e-7d825aaf0a06" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194632Z:7382c449-02e6-44dd-9d7e-7d825aaf0a06" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:32 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourceGroups/onesdk7664/providers/Microsoft.Web/serverFarms/onesdk9918?api-version=2014-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlR3JvdXBzL29uZXNkazc2NjQvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyRmFybXMvb25lc2RrOTkxOD9hcGktdmVyc2lvbj0yMDE0LTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.WebSites.WebSiteManagementClient/0.9.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8ef0d581-5aea-4ff4-8dd0-d05100ca59ae" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "5995" + ], + "x-ms-correlation-request-id": [ + "70bfa896-a4e3-465b-bb19-96a6a432c32e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194637Z:70bfa896-a4e3-465b-bb19-96a6a432c32e" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:37 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/resourcegroups/onesdk7664?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazc2NjQ/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "5998" + ], + "x-ms-request-id": [ + "ab59b43e-926a-4030-a0f7-eefa9dca73d1" + ], + "x-ms-correlation-request-id": [ + "ab59b43e-926a-4030-a0f7-eefa9dca73d1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194639Z:ab59b43e-926a-4030-a0f7-eefa9dca73d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:39 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalkwTFVKU1FWcEpURk5QVlZSSUlpd2lhbTlpVEc5allYUnBiMjRpT2lKaWNtRjZhV3h6YjNWMGFDSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31995" + ], + "x-ms-request-id": [ + "9fb17463-41b7-413d-b5c4-c1a08a555566" + ], + "x-ms-correlation-request-id": [ + "9fb17463-41b7-413d-b5c4-c1a08a555566" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194640Z:9fb17463-41b7-413d-b5c4-c1a08a555566" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:40 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalkwTFVKU1FWcEpURk5QVlZSSUlpd2lhbTlpVEc5allYUnBiMjRpT2lKaWNtRjZhV3h6YjNWMGFDSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31994" + ], + "x-ms-request-id": [ + "bd33a0e1-c0ed-4074-8d69-f11ceededbf8" + ], + "x-ms-correlation-request-id": [ + "bd33a0e1-c0ed-4074-8d69-f11ceededbf8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194656Z:bd33a0e1-c0ed-4074-8d69-f11ceededbf8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:46:55 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalkwTFVKU1FWcEpURk5QVlZSSUlpd2lhbTlpVEc5allYUnBiMjRpT2lKaWNtRjZhV3h6YjNWMGFDSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31993" + ], + "x-ms-request-id": [ + "838c97a6-1c3a-40f5-882a-c095d76bc426" + ], + "x-ms-correlation-request-id": [ + "838c97a6-1c3a-40f5-882a-c095d76bc426" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194711Z:838c97a6-1c3a-40f5-882a-c095d76bc426" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:47:11 GMT" + ], + "Location": [ + "https://management.azure.com/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/cad6adbd-8afd-413d-965c-97eaeeacdf31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1PTkVTREs3NjY0LUJSQVpJTFNPVVRIIiwiam9iTG9jYXRpb24iOiJicmF6aWxzb3V0aCJ9?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2FkNmFkYmQtOGFmZC00MTNkLTk2NWMtOTdlYWVlYWNkZjMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFQVGtWVFJFczNOalkwTFVKU1FWcEpURk5QVlZSSUlpd2lhbTlpVEc5allYUnBiMjRpT2lKaWNtRjZhV3h6YjNWMGFDSjk/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-version": [ + "2014-04-01-preview" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "31992" + ], + "x-ms-request-id": [ + "d51c16fe-adf4-4cc3-b535-67a0bdaf8c87" + ], + "x-ms-correlation-request-id": [ + "d51c16fe-adf4-4cc3-b535-67a0bdaf8c87" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150331T194727Z:d51c16fe-adf4-4cc3-b535-67a0bdaf8c87" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 31 Mar 2015 19:47:26 GMT" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-SetNewAppServicePlan": [ + "onesdk7664", + "onesdk9918" + ] + }, + "Variables": { + "SubscriptionId": "cad6adbd-8afd-413d-965c-97eaeeacdf31" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs index 2fe4650e7ab6..04cd1a55cad8 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/GetAzureAppServicePlan.cs @@ -56,12 +56,12 @@ public override void ExecuteCmdlet() private void GetByWebHostingPlan() { - WriteObject(WebsitesClient.GetWebHostingPlan(ResourceGroupName, Name)); + WriteObject(WebsitesClient.GetAppServicePlan(ResourceGroupName, Name)); } private void GetByResourceGroup() { - WriteObject(WebsitesClient.ListWebHostingPlan(ResourceGroupName)); + WriteObject(WebsitesClient.ListAppServicePlan(ResourceGroupName)); } } } diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs index 94ee8af24884..d88c4cb94653 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/NewAzureAppServicePlan.cs @@ -116,7 +116,7 @@ public override void ExecuteCmdlet() } } - WriteObject(WebsitesClient.CreateWebHostingPlan(ResourceGroupName, Name, Location, adminSiteName, NumberofWorkers, skuInput, workerSizeInput)); + WriteObject(WebsitesClient.CreateAppServicePlan(ResourceGroupName, Name, Location, adminSiteName, NumberofWorkers, skuInput, workerSizeInput)); } diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs index 267d5b518c49..3bce2fc01968 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/RemoveAppServicePlan.cs @@ -48,10 +48,10 @@ public override void ExecuteCmdlet() { ConfirmAction( Force.IsPresent, - string.Format(Microsoft.Azure.Commands.WebApp.Properties.Resources.RemovingWebHostPlan, Name), - Microsoft.Azure.Commands.WebApp.Properties.Resources.RemovingWebHostPlan, + string.Format(Microsoft.Azure.Commands.WebApp.Properties.Resources.RemovingAppServicePlan, Name), + Microsoft.Azure.Commands.WebApp.Properties.Resources.RemovingAppServicePlan, Name, - () => WebsitesClient.RemoveWebHostingPlan(ResourceGroupName, Name)); + () => WebsitesClient.RemoveAppServicePlan(ResourceGroupName, Name)); } } } diff --git a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs index b2a8dec51d8f..f5f2ee37ca61 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Cmdlets/AppServicePlan/SetAzureAppServicePlan.cs @@ -115,7 +115,7 @@ public override void ExecuteCmdlet() } } - WriteObject(WebsitesClient.CreateWebHostingPlan(ResourceGroupName, Name, Location, adminSiteName, NumberofWorkers, skuInput, workerSizeInput)); + WriteObject(WebsitesClient.CreateAppServicePlan(ResourceGroupName, Name, Location, adminSiteName, NumberofWorkers, skuInput, workerSizeInput)); } diff --git a/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.Designer.cs b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.Designer.cs index 16cdf02c1dde..12e17e64f6ab 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.Designer.cs @@ -61,15 +61,7 @@ internal Resources() { } /// - /// Looks up a localized string similar to Are you sure you want to remove web hosting plan '{0}'. - /// - internal static string RemovingWebHostPlan { - get { - return ResourceManager.GetString("RemovingWebHostPlan", resourceCulture); - } - } - - /// Looks up a localized string similar to Removing website. + /// Looks up a localized string similar to Removing web app. /// internal static string RemoveWebsiteMessage { get { @@ -78,7 +70,7 @@ internal static string RemoveWebsiteMessage { } /// - /// Looks up a localized string similar to Are you sure you want to remove the website "{0}". + /// Looks up a localized string similar to Are you sure you want to remove the web app "{0}". /// internal static string RemoveWebsiteWarning { get { @@ -87,7 +79,16 @@ internal static string RemoveWebsiteWarning { } /// - /// Looks up a localized string similar to Are you sure you want to remove website '{0}'. + /// Looks up a localized string similar to Are you sure you want to remove app service plan '{0}'. + /// + internal static string RemovingAppServicePlan { + get { + return ResourceManager.GetString("RemovingAppServicePlan", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Are you sure you want to remove web app '{0}'. /// internal static string RemovingWebsite { get { diff --git a/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.resx b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.resx index 467e8a294085..69c0993bfaa6 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.resx +++ b/src/ResourceManager/Websites/Commands.Websites/Properties/Resources.resx @@ -117,16 +117,16 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Are you sure you want to remove web hosting plan '{0}' + + Are you sure you want to remove app service plan '{0}' - Removing website + Removing web app - Are you sure you want to remove the website "{0}" + Are you sure you want to remove the web app "{0}" - Are you sure you want to remove website '{0}' + Are you sure you want to remove web app '{0}' \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs b/src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs index 5b6be01a74d0..786fad836960 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs @@ -125,7 +125,7 @@ public WebSiteGetHistoricalUsageMetricsResponse GetWebAppUsageMetrics(string res return usageMetrics; } - public WebHostingPlanCreateOrUpdateResponse CreateWebHostingPlan(string resourceGroupName, string whpName, string location, string adminSiteName, int numberOfWorkers, SkuOptions sku, WorkerSizeOptions workerSize) + public WebHostingPlanCreateOrUpdateResponse CreateAppServicePlan(string resourceGroupName, string whpName, string location, string adminSiteName, int numberOfWorkers, SkuOptions sku, WorkerSizeOptions workerSize) { WebHostingPlanProperties webHostingPlanProperties = new WebHostingPlanProperties(); webHostingPlanProperties.Sku = sku; @@ -143,24 +143,21 @@ public WebHostingPlanCreateOrUpdateResponse CreateWebHostingPlan(string resource return createdWHP; } - public AzureOperationResponse RemoveWebHostingPlan(string resourceGroupName, string whpName) + public AzureOperationResponse RemoveAppServicePlan(string resourceGroupName, string whpName) { var response = WrappedWebsitesClient.WebHostingPlans.Delete(resourceGroupName, whpName); - //proper return type need to be discussed return response; } - public WebHostingPlanGetResponse GetWebHostingPlan(string resourceGroupName, string whpName) + public WebHostingPlanGetResponse GetAppServicePlan(string resourceGroupName, string whpName) { var response = WrappedWebsitesClient.WebHostingPlans.Get(resourceGroupName, whpName); - //proper return type need to be discussed return response; } - public WebHostingPlanListResponse ListWebHostingPlan(string resourceGroupName) + public WebHostingPlanListResponse ListAppServicePlan(string resourceGroupName) { var response = WrappedWebsitesClient.WebHostingPlans.List(resourceGroupName); - //proper return type need to be discussed return response; }