diff --git a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
index 892fd91b3b22..cf9c91b8b8dd 100644
--- a/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
+++ b/src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj
@@ -54,10 +54,10 @@
..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/Common/Commands.ScenarioTests.Common/packages.config b/src/Common/Commands.ScenarioTests.Common/packages.config
index 7c7ea25a2c34..c79c52e2868d 100644
--- a/src/Common/Commands.ScenarioTests.Common/packages.config
+++ b/src/Common/Commands.ScenarioTests.Common/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/Common/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj b/src/Common/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
index c8726b04d243..d6e4e3858c13 100644
--- a/src/Common/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
+++ b/src/Common/Storage/Commands.Storage.ScenarioTest/Commands.Storage.ScenarioTest.csproj
@@ -55,7 +55,7 @@
True
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/Common/Storage/Commands.Storage.ScenarioTest/packages.config b/src/Common/Storage/Commands.Storage.ScenarioTest/packages.config
index d5cf8dcd9ff8..9e4da6ca40e1 100644
--- a/src/Common/Storage/Commands.Storage.ScenarioTest/packages.config
+++ b/src/Common/Storage/Commands.Storage.ScenarioTest/packages.config
@@ -2,7 +2,7 @@
-
+
diff --git a/src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj b/src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
index 752da81ad8b3..59487e95920e 100644
--- a/src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
+++ b/src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj
@@ -69,7 +69,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/Common/Storage/Commands.Storage.Test/packages.config b/src/Common/Storage/Commands.Storage.Test/packages.config
index 68a497dfa732..e09801ad0973 100644
--- a/src/Common/Storage/Commands.Storage.Test/packages.config
+++ b/src/Common/Storage/Commands.Storage.Test/packages.config
@@ -6,7 +6,7 @@
-
+
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
index 70164a9d0e01..a842e095339e 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.csproj
@@ -69,11 +69,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
index 8ee8f6102e38..38cccaf93c00 100644
--- a/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/packages.config
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
index f657f447a6a2..cb4363374e49 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.csproj
@@ -69,11 +69,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
index 31d7e4395696..2b7653e8970b 100644
--- a/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
+++ b/src/ResourceManager/ApiManagement/Commands.SMAPI.Test/packages.config
@@ -8,8 +8,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
index ee5a4c6c8359..e828fa31ffe0 100644
--- a/src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
@@ -68,11 +68,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
index 0a0c989983f8..977ecc5028d0 100644
--- a/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
+++ b/src/ResourceManager/Automation/Commands.Automation.Test/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
index a300c1e4e808..e90a7323df9b 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.csproj
@@ -54,10 +54,10 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
index 54146b6027dd..aab0a2c74107 100644
--- a/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
+++ b/src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
index 73b44af1af56..81b1acb2ee35 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.csproj
@@ -68,11 +68,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config b/src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config
index 00af38fe7ab0..55019721b189 100644
--- a/src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config
+++ b/src/ResourceManager/AzureBatch/Commands.Batch.Test/packages.config
@@ -9,8 +9,8 @@
-
-
+
+
diff --git a/src/ResourceManager/AzureStackAdmin/AzureStackAdmin.sln b/src/ResourceManager/AzureStackAdmin/AzureStackAdmin.sln
index 517129c839ae..a66c761b5e82 100644
--- a/src/ResourceManager/AzureStackAdmin/AzureStackAdmin.sln
+++ b/src/ResourceManager/AzureStackAdmin/AzureStackAdmin.sln
@@ -12,34 +12,75 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureStackAdmin",
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Authentication", "..\..\Common\Commands.Common.Authentication\Commands.Common.Authentication.csproj", "{D3804B64-C0D3-48F8-82EC-1F632F833C9E}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{047B121A-8B6F-48C5-9D72-BA3B434E8B72}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureStackAdmin.Test", "Commands.AzureStackAdmin.Test\Commands.AzureStackAdmin.Test.csproj", "{080B0477-7E52-4455-90AB-23BD13D1B1CE}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AzureStackAdmin.Test.Common", "Commands.AzureStackAdmin.Test\Common\Commands.AzureStackAdmin.Test.Common.csproj", "{FE34F78C-E6EC-448C-B675-DF9D9201A4E7}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "..\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
+ ReleaseSigned|Any CPU = ReleaseSigned|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {3819D8A7-C62C-4C47-8DDD-0332D9CE1252}.ReleaseSigned|Any CPU.Build.0 = Release|Any CPU
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.ReleaseSigned|Any CPU.Build.0 = Release|Any CPU
{5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5EE72C53-1720-4309-B54B-5FB79703195F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5EE72C53-1720-4309-B54B-5FB79703195F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {5EE72C53-1720-4309-B54B-5FB79703195F}.ReleaseSigned|Any CPU.Build.0 = Release|Any CPU
{0B02390C-8AA9-4D99-8AA8-2A9D2D39682F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0B02390C-8AA9-4D99-8AA8-2A9D2D39682F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0B02390C-8AA9-4D99-8AA8-2A9D2D39682F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0B02390C-8AA9-4D99-8AA8-2A9D2D39682F}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0B02390C-8AA9-4D99-8AA8-2A9D2D39682F}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {0B02390C-8AA9-4D99-8AA8-2A9D2D39682F}.ReleaseSigned|Any CPU.Build.0 = Release|Any CPU
{D3804B64-C0D3-48F8-82EC-1F632F833C9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D3804B64-C0D3-48F8-82EC-1F632F833C9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D3804B64-C0D3-48F8-82EC-1F632F833C9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D3804B64-C0D3-48F8-82EC-1F632F833C9E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {D3804B64-C0D3-48F8-82EC-1F632F833C9E}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE}.ReleaseSigned|Any CPU.Build.0 = Release|Any CPU
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7}.ReleaseSigned|Any CPU.Build.0 = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.Release|Any CPU.Build.0 = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.ReleaseSigned|Any CPU.ActiveCfg = Release|Any CPU
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95}.ReleaseSigned|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(NestedProjects) = preSolution
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE} = {047B121A-8B6F-48C5-9D72-BA3B434E8B72}
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7} = {047B121A-8B6F-48C5-9D72-BA3B434E8B72}
+ {3436A126-EDC9-4060-8952-9A1BE34CDD95} = {047B121A-8B6F-48C5-9D72-BA3B434E8B72}
+ EndGlobalSection
EndGlobal
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/App.config b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/App.config
new file mode 100644
index 000000000000..c0054f9a1414
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/App.config
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/AzureStackTests.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/AzureStackTests.cs
new file mode 100644
index 000000000000..09c2966fd5dd
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/AzureStackTests.cs
@@ -0,0 +1,92 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.AzureStack.Commands.Admin.Test
+{
+ using Microsoft.AzureStack.Commands.Admin.Test.Common;
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+ using Xunit;
+
+ ///
+ /// The filename and the class name is expected to be same
+ /// The filename should also match the file containing the PowerShell cmdlets called except for the extension
+ ///
+ public class AzureStackTests
+ {
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestResourceGroup()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-ResourceGroup");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestPlan()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-Plan");
+ }
+
+ [Fact]
+ public void TestOffer()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-Offer");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestTenantSubscription()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-TenantSubscription");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestDelegatedOffer()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-DelegatedOffer");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestUpdateSubscriptionServiceQuota()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-UpdateSubscriptionServiceQuota");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestAddDelegatedOffer()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-AddDelegatedOffer");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestManagedLocation()
+ {
+ AzStackTestRunner.NewInstance.RunPsTest("Test-ManagedLocation");
+ }
+
+ [Fact]
+ [Trait(Category.AcceptanceType, Category.CheckIn)]
+ public void TestGalleryItem()
+ {
+ var testRunner = AzStackTestRunner.NewInstance;
+ testRunner.ApiVersion = "2015-04-01";
+ testRunner.RunPsTest("Test-GalleryItem");
+ }
+
+ }
+}
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/AzureStackTests.ps1 b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/AzureStackTests.ps1
new file mode 100644
index 000000000000..44ff3dbab0b2
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/AzureStackTests.ps1
@@ -0,0 +1,619 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+ Test the flow of Admin user creates a plan, offer and a tenant subscription for the specified user and deletes the created resources
+ The plan and offer contains the Subscriptions and Sql services by default.
+.EXAMPLE
+ This example creates the subscription with a new plan and offer. It deletes the created resources as well
+ Test-TenantSubscription -SubscriptionUser "azurestackmachine\tenantuser1"
+
+.EXAMPLE
+ This example creates the subscription with a new plan and offer. It does not delete the created resources
+ Test-TenantSubscription -SubscriptionUser "azurestackmachine\tenantuser1" -DoNotDelete
+.EXAMPLE
+ This example creates the reseller subscription with a new plan and offer. It deletes the created resources as well
+ Test-TenantSubscription -Services @("Microsoft.Subscriptions") -SubscriptionUser "azurestackmachine\tenantuser1"
+.NOTES
+ The function is called only after Ignore-SelfSignedCert and Set-AzureStackEnvironment with the correct parameters
+#>
+function Test-TenantSubscription
+{
+ param
+ (
+ # Specifies the user name for the subscription
+ [String] $SubscriptionUser ="user@contoso.com",
+
+ [String] $OfferName ="TestTenantSubscriptionOffer",
+
+ [String] $BasePlanName ="TestTenantSubscriptionPlan",
+
+ [String] $ResourceGroupName ="TestTenantSubscriptionRG",
+
+ [ValidateSet("Public", "Private", "Decommissioned")]
+ [String] $State = "Public",
+
+ # Specifies the services included in the plan, offer and subscription
+ [String[]] $Services=@("Microsoft.Subscriptions","Microsoft.Sql"),
+
+ # Specifies whether to delete the created resources
+ [Switch] $DoNotDelete
+ )
+
+
+ New-ResourceGroup -ResourceGroupName $ResourceGroupName
+
+ New-Plan -PlanName $BasePlanName -ResourceGroupName $ResourceGroupName -Services $Services
+ $plan = Get-Plan -PlanName $BasePlanName -ResourceGroupName $ResourceGroupName
+
+ Assert-NotNull $plan
+ Assert-True { $plan.Properties.DisplayName -eq $BasePlanName}
+
+ Set-Plan -Plan $plan -ResourceGroup $ResourceGroupName -State $State
+
+ New-Offer -OfferName $offerName -BasePlan $plan -ResourceGroupName $ResourceGroupName
+
+ $offer = Get-Offer -OfferName $offerName -ResourceGroupName $ResourceGroupName
+
+ Assert-NotNull $offer
+ Assert-True { $offer.Properties.DisplayName -eq $offerName}
+
+ Set-Offer -Offer $offer -ResourceGroup $ResourceGroupName -State "Public"
+
+ $publicOffer = Get-Offer -OfferName $offerName
+
+ [Microsoft.AzureStack.Commands.NewManagedSubscription]::SubscriptionIds.Enqueue("8E7DD69E-9AB2-44A1-94D8-F7BC8E12645E")
+ $subscription = New-Subscription -SubscriptionUser $SubscriptionUser -OfferId $publicOffer.Id -Managed
+
+ Set-Offer -Offer $offer -ResourceGroup $ResourceGroupName -State $State
+
+ if (!$DoNotDelete)
+ {
+ Remove-Subscription -TargetSubscriptionId $subscription.SubscriptionId
+ Remove-Offer -OfferName $offerName -ResourceGroupName $ResourceGroupName
+ Remove-Plan -PlanName $BasePlanName -ResourceGroupName $ResourceGroupName
+ Remove-ResourceGroup -ResourceGroupName $ResourceGroupName
+ }
+}
+
+<#
+.Synopsis
+ Acquire token as Tenant user and then subscribe to offer and deletes the created plan, offer, subscription resources
+ The plan and offer contains the Subscriptions and Sql services by default.
+.EXAMPLE
+ This example creates the subscription with a new plan and offer. It deletes the created resources as well
+ Test-TenantSubscribeToOffer -SubscriptionUser "azurestackmachine\tenantuser1" -UserPassword $password
+
+.EXAMPLE
+ This example creates the subscription with a new plan and offer. It does not delete the created resources
+ Test-TenantSubscribeToOffer -SubscriptionUser "azurestackmachine\tenantuser1" -UserPassword $password -DoNotDelete
+.EXAMPLE
+ This example creates the reseller subscription with a new plan and offer. It deletes the created resources as well
+ Test-TenantSubscribeToOffer -Services @("Microsoft.Subscriptions") -SubscriptionUser "azurestackmachine\tenantuser1" -UserPassword $password
+.NOTES
+ The function is called only after Ignore-SelfSignedCert and Set-AzureStackEnvironment with the correct parameters
+#>
+function Test-TenantSubscribeToOffer
+{
+ param
+ (
+ [String] $SubscriptionUser="user@contoso.com",
+
+ [Parameter(Mandatory=$true)]
+ [String] $UserPassword,
+
+ [String[]] $Services=@("Microsoft.Subscriptions","Microsoft.Sql"),
+
+ [Switch] $DoNotDelete
+ )
+
+ $offerName = "TestOffer-" + [Guid]::NewGuid().ToString()
+ $planName = "TestPlan-" + [Guid]::NewGuid().ToString()
+ $rgName = "TestRG-" + [Guid]::NewGuid().ToString()
+ $subDisplayName = "$SubscriptionUser Test Subscription"
+
+ New-ResourceGroup -ResourceGroupName $rgName
+
+ New-Plan -PlanName $planName -ResourceGroupName $rgName -Services $Services
+ $plan = Get-Plan -PlanName $planName -ResourceGroupName $rgName
+
+ Assert-NotNull $plan
+ Assert-True {$plan.Properties.DisplayName -eq $planName}
+
+ Set-Plan -Plan $plan -ResourceGroup $rgName -State "Public"
+
+ New-Offer -OfferName $offerName -BasePlan $plan -ResourceGroupName $rgName
+ $offer = Get-Offer -OfferName $offerName -ResourceGroupName $rgName
+
+ Assert-NotNull $offer
+ Assert-True { $offer.Properties.DisplayName -eq $offerName}
+
+ Set-Offer -Offer $offer -ResourceGroup $rgName -State "Public"
+
+ $password = ConvertTo-SecureString $UserPassword -AsPlainText -Force
+ $credential = New-Object System.Management.Automation.PSCredential($SubscriptionUser, $password)
+
+ $token = Get-EnvironmentSpecificToken -Credential $credential
+
+ # Check whether the plan created is visible for the tenant
+ $tenantOffer = Get-Offer -OfferName $offerName -Token $token
+
+ # Creating a subscription with Tenant Token
+ $subscription = New-Subscription -SubscriptionUser $SubscriptionUser -OfferId $tenantOffer.Id -Token $token
+
+ if (!$DoNotDelete)
+ {
+ Remove-Subscription -TargetSubscriptionId $subscription.SubscriptionId
+ Remove-Offer -OfferName $offerName -ResourceGroupName $rgName
+ Remove-Plan -PlanName $planName -ResourceGroupName $rgName
+ Remove-ResourceGroup -ResourceGroupName $rgName
+ }
+ }
+
+ <#
+.Synopsis
+ Creates and Deletes a new plan. The plan contains the Subscriptions and Sql services by default.
+.EXAMPLE
+ This example creates and deletes a new plan
+ Test-Plan
+.EXAMPLE
+ This example creates a plan named DefaultPlan and does not delete it
+ Test-Plan -Services @("Microsoft.Subscriptions") -PlanName DefaultPlan -DoNotDelete
+.NOTES
+ The function is called only after Ignore-SelfSignedCert and Set-AzureStackEnvironment with the correct parameters
+#>
+function Test-Plan
+{
+ param
+ (
+ [Alias("Name")]
+ [String] $PlanName ="TestPlanPlan",
+
+ [String[]] $Services=@("Microsoft.Subscriptions"),
+
+ [ValidateSet("Public", "Private", "Decommissioned")]
+ [String] $State = "Public",
+
+ [Switch] $DoNotDelete
+ )
+
+ $rgName = "TestPlanRG"
+
+ New-ResourceGroup -ResourceGroupName $rgName
+
+ New-Plan -PlanName $PlanName -ResourceGroupName $rgName -Services $Services
+
+ $plan = Get-Plan -PlanName $PlanName -ResourceGroupName $rgName
+ Assert-NotNull $plan
+ Assert-True { $plan.Properties.DisplayName -eq $PlanName}
+
+ Set-Plan -Plan $plan -ResourceGroup $rgName -State $State
+
+ if (!$DoNotDelete)
+ {
+ Remove-Plan -PlanName $PlanName -ResourceGroupName $rgName
+ Remove-ResourceGroup -ResourceGroupName $rgName
+ }
+ }
+
+ <#
+.Synopsis
+ Creates and Deletes a new offer and plan. The plan and offer contains the Subscriptions and Sql services by default.
+.EXAMPLE
+ This example creates and deletes a new plan and offer
+ Test-Offer
+.EXAMPLE
+ This example creates a offer named DefaultOffer, a plan named DefaultPlan and does not delete them
+ Test-Offer -Services @("Microsoft.Subscriptions") -OfferName DefaultOffer -BasePlanName DefaultPlan -DoNotDelete
+.NOTES
+ The function is called only after Ignore-SelfSignedCert and Set-AzureStackEnvironment with the correct parameters
+#>
+function Test-Offer
+{
+ param
+ (
+ [Alias("Name")]
+ [String] $OfferName ="TestOffer01",
+
+ [String] $BasePlanName ="TestBasePlan01",
+
+ [String] $ResourceGroupName ="TestRG01",
+
+ [String[]] $Services=@("Microsoft.Subscriptions"),
+
+ [ValidateSet("Public", "Private", "Decommissioned")]
+ [String] $State = "Public",
+
+ [Switch] $DoNotDelete
+ )
+
+ New-ResourceGroup -ResourceGroupName $ResourceGroupName
+
+ $plan = New-Plan -PlanName $BasePlanName -ResourceGroupName $ResourceGroupName -Services $Services
+ $plan = Get-Plan -PlanName $BasePlanName -ResourceGroupName $ResourceGroupName
+ Assert-NotNull $plan
+ Assert-True { $plan.Properties.DisplayName -eq $BasePlanName}
+ Set-Plan -Plan $plan -ResourceGroup $ResourceGroupName -State $State
+
+ New-Offer -OfferName $OfferName -BasePlan $plan -ResourceGroupName $ResourceGroupName
+
+ $offer = Get-Offer -OfferName $OfferName -ResourceGroupName $ResourceGroupName
+
+ Set-Offer -Offer $offer -ResourceGroup $ResourceGroupName -State $State
+
+ if (!$DoNotDelete)
+ {
+ Remove-Offer -OfferName $OfferName -ResourceGroupName $ResourceGroupName
+ Remove-Plan -PlanName $BasePlanName -ResourceGroupName $ResourceGroupName
+ Remove-ResourceGroup -ResourceGroupName $ResourceGroupName
+ }
+}
+
+
+<#
+.Synopsis
+ Creates an offer having public delegated offers.
+.EXAMPLE
+ This example creates and deletes a new plan and offer
+ Test-DelegatedOffer
+#>
+function Test-DelegatedOffer
+{
+ param
+ (
+ [String] $SubscriptionUser ="user@contoso.com",
+
+ [String[]] $Services=@("Microsoft.Subscriptions","Microsoft.Sql"),
+
+ [Switch] $DoNotDelete
+ )
+
+ $delegatedOfferName = "TestOfferDelegated"
+ $delegatedPlanName = "TestPlanDelegated"
+ $offerName = "TestUberOffer"
+ $planName = "TestUberPlan"
+
+ $rgName = "TestDelegatedOfferRG"
+
+ New-ResourceGroup -ResourceGroupName $rgName
+
+ New-Plan -PlanName $delegatedPlanName -ResourceGroupName $rgName -Services $Services
+
+ $delegatedPlan = Get-Plan -PlanName $delegatedPlanName -ResourceGroupName $rgName
+ Assert-NotNull $delegatedPlan
+ Assert-True {$delegatedPlan.Properties.DisplayName -eq $delegatedPlanName}
+ Set-Plan -Plan $delegatedPlan -ResourceGroup $rgName -State "Public"
+
+ New-Offer -OfferName $delegatedOfferName -BasePlan $delegatedPlan -ResourceGroupName $rgName
+
+ $delegatedOffer = Get-Offer -OfferName $delegatedOfferName -ResourceGroupName $rgName
+ Assert-NotNull $delegatedOffer
+ Set-Offer -Offer $delegatedOffer -ResourceGroup $rgName -State "Public"
+
+ # Creating a plan having a delegated offer
+ New-Plan -PlanName $planName -ResourceGroupName $rgName -Services $Services -DelegatedOfferName @($delegatedOfferName)
+
+ $plan = Get-Plan -PlanName $planName -ResourceGroupName $rgName
+
+ Assert-NotNull $plan
+ Assert-True {$plan.Properties.DisplayName -eq $planName}
+ Set-Plan -Plan $plan -ResourceGroup $rgName -State "Public"
+
+ New-Offer -OfferName $offerName -BasePlan $plan -ResourceGroupName $rgName
+
+ $offer = Get-Offer -OfferName $offerName -ResourceGroupName $rgName
+ Assert-NotNull $offer
+ Set-Offer -Offer $offer -ResourceGroup $rgName -State "Public"
+
+ if (!$DoNotDelete)
+ {
+ Remove-Offer -OfferName $delegatedOfferName -ResourceGroupName $rgName
+ Remove-Plan -PlanName $delegatedPlanName -ResourceGroupName $rgName
+ Remove-Offer -OfferName $OfferName -ResourceGroupName $rgName
+ Remove-Plan -PlanName $PlanName -ResourceGroupName $rgName
+ Remove-ResourceGroup -ResourceGroupName $rgName
+ }
+}
+
+<#
+.Synopsis
+ Creates a new plan with Subscription service, then updates the Subscription service default quota
+#>
+function Test-UpdateSubscriptionServiceQuota
+{
+ $sqlOfferName = "TestUpdateQuotaOffer"
+ $sqlPlanName = "TesUpdateQuotaPlan"
+ $resellerPlanName = "TestUpdateQuotaPlanReseller"
+
+ $sqlServices= @("Microsoft.Sql")
+ $subscriptionServices= @("Microsoft.Subscriptions")
+
+ $rgName = "TestUpdateQuotatRG"
+
+ New-ResourceGroup -ResourceGroupName $rgName
+
+ New-Plan -PlanName $sqlPlanName -ResourceGroupName $rgName -Services $sqlServices
+
+ $sqlPlan = Get-Plan -PlanName $sqlPlanName -ResourceGroupName $rgName
+ Assert-NotNull $sqlPlan
+ Assert-True {$sqlPlan.Properties.DisplayName -eq $sqlPlanName}
+ Set-Plan -Plan $sqlPlan -ResourceGroup $rgName -State "Public"
+
+ New-Offer -OfferName $sqlOfferName -BasePlan $sqlPlan -ResourceGroupName $rgName
+
+ $sqlOffer = Get-Offer -OfferName $sqlOfferName -ResourceGroupName $rgName
+ Assert-NotNull $sqlOffer
+ Set-Offer -Offer $sqlOffer -ResourceGroup $rgName -State "Public"
+
+ # Creating a reseller plan having a delegated offer
+ New-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName -Services $subscriptionServices -DelegatedOfferName @($sqlOfferName)
+
+ $resellerplan = Get-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+
+ Assert-NotNull $resellerplan
+ Assert-True {$resellerplan.Properties.DisplayName -eq $resellerPlanName}
+
+ $subscriptionsQutoas = $resellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+ $subscriptionsQutoas.delegatedProviderQuotas[0].maximumDelegationDepth = 5
+ $subscriptionsQutoas.delegatedProviderQuotas[0].delegatedOffers[0].accessibilityState = "Private"
+
+ $resellerplan.Properties.ServiceQuotas[0].QuotaSettings = $subscriptionsQutoas | ConvertTo-Json -Depth 5
+
+ Set-Plan -Plan $resellerplan -ResourceGroup $rgName -State "Public"
+
+ $updatedResellerplan = Get-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+ $updatedSubscriptionsQutoas = $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+
+ Assert-AreEqual -expected $updatedSubscriptionsQutoas.delegatedProviderQuotas[0].maximumDelegationDepth -actual $subscriptionsQutoas.delegatedProviderQuotas[0].maximumDelegationDepth
+ Assert-AreEqual -expected $updatedSubscriptionsQutoas.delegatedProviderQuotas[0].delegatedOffers[0].accessibilityState -actual $subscriptionsQutoas.delegatedProviderQuotas[0].delegatedOffers[0].accessibilityState
+
+ # Add additional delegated offer to the subscription service for the existing reseller plan
+ if ($AddDelegatedOffer)
+ {
+ $sqlOfferName1 = "TestUpdateQuotaOffer"
+ $sqlPlanName1 = "TestUpdateQuotaPlan"
+
+ New-Plan -PlanName $sqlPlanName1 -ResourceGroupName $rgName -Services $sqlServices
+ $sqlPlan = Get-Plan -PlanName $sqlPlanName1 -ResourceGroupName $rgName
+ Set-Plan -Plan $sqlPlan -ResourceGroup $rgName -State "Public"
+
+ New-Offer -OfferName $sqlOfferName1 -BasePlan $sqlPlan -ResourceGroupName $rgName
+ $sqlOffer = Get-Offer -OfferName $sqlOfferName1 -ResourceGroupName $rgName
+ Set-Offer -Offer $sqlOffer -ResourceGroup $rgName -State "Public"
+
+ $planQuota = $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+ $resellerQuotasObject = $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+ $resellerQuotasObject.delegatedProviderQuotas[0].delegatedOffers[0].offerName = $sqlOfferName1
+
+ $planQuota.delegatedProviderQuotas[0].delegatedOffers += $resellerQuotasObject.delegatedProviderQuotas[0].delegatedOffers[0]
+
+ $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings = $planQuota | ConvertTo-Json -Depth 5
+
+ Set-Plan -Plan $updatedResellerplan -ResourceGroup $rgName -State "Public"
+
+ $delegatedOfferAddedplan = Get-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+ $expectedQutoas = $delegatedOfferAddedplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+
+ Assert-AreEqual -expected "2" -actual $expectedQutoas.delegatedProviderQuotas[0].delegatedOffers.Count
+
+ Remove-Offer -OfferName $sqlOfferName1 -ResourceGroupName $rgName
+ Remove-Plan -PlanName $sqlPlanName1 -ResourceGroupName $rgName
+ }
+
+ Remove-Offer -OfferName $sqlOfferName -ResourceGroupName $rgName
+ Remove-Plan -PlanName $sqlPlanName -ResourceGroupName $rgName
+ Remove-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+
+ Remove-ResourceGroup -ResourceGroupName $rgName
+}
+
+<#
+.Synopsis
+ Creates a new plan with Subscription service, then updates the Subscription service default quota, then adds delegated offer
+#>
+function Test-AddDelegatedOffer
+{
+ $sqlOfferName = "TestAddDelegatedOffer"
+ $sqlPlanName = "TesAddDelegatedPlan"
+ $resellerPlanName = "TestAddDelegatedPlanReseller"
+
+ $sqlServices= @("Microsoft.Sql")
+ $subscriptionServices= @("Microsoft.Subscriptions")
+
+ $rgName = "TestAddDelegatedRG"
+
+ New-ResourceGroup -ResourceGroupName $rgName
+
+ New-Plan -PlanName $sqlPlanName -ResourceGroupName $rgName -Services $sqlServices
+
+ $sqlPlan = Get-Plan -PlanName $sqlPlanName -ResourceGroupName $rgName
+ Assert-NotNull $sqlPlan
+ Assert-True {$sqlPlan.Properties.DisplayName -eq $sqlPlanName}
+ Set-Plan -Plan $sqlPlan -ResourceGroup $rgName -State "Public"
+
+ New-Offer -OfferName $sqlOfferName -BasePlan $sqlPlan -ResourceGroupName $rgName
+
+ $sqlOffer = Get-Offer -OfferName $sqlOfferName -ResourceGroupName $rgName
+ Assert-NotNull $sqlOffer
+ Set-Offer -Offer $sqlOffer -ResourceGroup $rgName -State "Public"
+
+ # Creating a reseller plan having a delegated offer
+ New-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName -Services $subscriptionServices -DelegatedOfferName @($sqlOfferName)
+
+ $resellerplan = Get-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+
+ Assert-NotNull $resellerplan
+ Assert-True {$resellerplan.Properties.DisplayName -eq $resellerPlanName}
+
+ $subscriptionsQutoas = $resellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+ $subscriptionsQutoas.delegatedProviderQuotas[0].maximumDelegationDepth = 5
+ $subscriptionsQutoas.delegatedProviderQuotas[0].delegatedOffers[0].accessibilityState = "Private"
+
+ $resellerplan.Properties.ServiceQuotas[0].QuotaSettings = $subscriptionsQutoas | ConvertTo-Json -Depth 5
+
+ Set-Plan -Plan $resellerplan -ResourceGroup $rgName -State "Public"
+
+ $updatedResellerplan = Get-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+ $updatedSubscriptionsQutoas = $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+
+ Assert-AreEqual -expected $updatedSubscriptionsQutoas.delegatedProviderQuotas[0].maximumDelegationDepth -actual $subscriptionsQutoas.delegatedProviderQuotas[0].maximumDelegationDepth
+ Assert-AreEqual -expected $updatedSubscriptionsQutoas.delegatedProviderQuotas[0].delegatedOffers[0].accessibilityState -actual $subscriptionsQutoas.delegatedProviderQuotas[0].delegatedOffers[0].accessibilityState
+
+ $sqlOfferName1 = "TestAddDelegatedSqlOffer"
+ $sqlPlanName1 = "TestAddDelegatedSqlPlan"
+
+ New-Plan -PlanName $sqlPlanName1 -ResourceGroupName $rgName -Services $sqlServices
+ $sqlPlan = Get-Plan -PlanName $sqlPlanName1 -ResourceGroupName $rgName
+ Set-Plan -Plan $sqlPlan -ResourceGroup $rgName -State "Public"
+
+ New-Offer -OfferName $sqlOfferName1 -BasePlan $sqlPlan -ResourceGroupName $rgName
+ $sqlOffer = Get-Offer -OfferName $sqlOfferName1 -ResourceGroupName $rgName
+ Set-Offer -Offer $sqlOffer -ResourceGroup $rgName -State "Public"
+
+ $planQuota = $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+ $resellerQuotasObject = $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+ $resellerQuotasObject.delegatedProviderQuotas[0].delegatedOffers[0].offerName = $sqlOfferName1
+
+ $planQuota.delegatedProviderQuotas[0].delegatedOffers += $resellerQuotasObject.delegatedProviderQuotas[0].delegatedOffers[0]
+
+ $updatedResellerplan.Properties.ServiceQuotas[0].QuotaSettings = $planQuota | ConvertTo-Json -Depth 5
+
+ Set-Plan -Plan $updatedResellerplan -ResourceGroup $rgName -State "Public"
+
+ $delegatedOfferAddedplan = Get-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+ $expectedQutoas = $delegatedOfferAddedplan.Properties.ServiceQuotas[0].QuotaSettings | ConvertFrom-Json
+
+ Assert-AreEqual -expected "2" -actual $expectedQutoas.delegatedProviderQuotas[0].delegatedOffers.Count
+
+ Remove-Offer -OfferName $sqlOfferName1 -ResourceGroupName $rgName
+ Remove-Plan -PlanName $sqlPlanName1 -ResourceGroupName $rgName
+
+ Remove-Offer -OfferName $sqlOfferName -ResourceGroupName $rgName
+ Remove-Plan -PlanName $sqlPlanName -ResourceGroupName $rgName
+ Remove-Plan -PlanName $resellerPlanName -ResourceGroupName $rgName
+
+ Remove-ResourceGroup -ResourceGroupName $rgName
+}
+
+<#
+.Synopsis
+ Creates and Deletes a new ResourceGroup.
+.EXAMPLE
+ This example creates and deletes a new resource group
+ Test-ResourceGroup
+#>
+function Test-ResourceGroup
+{
+ param
+ (
+ [String] $ResourceGroupName ="TestRG1",
+
+ [Switch] $DoNotDelete
+ )
+
+ New-AzureRmResourceGroup -Name $ResourceGroupName -Location "redmond"
+
+ $rg = Get-AzureRmResourceGroup -Name $ResourceGroupName -Location "redmond"
+ Assert-NotNull $rg
+
+ if (!$DoNotDelete)
+ {
+ Remove-AzureRmResourceGroup -Name $ResourceGroupName -Force
+ }
+ }
+
+
+ <#
+.Synopsis
+ Creates and Deletes a new location.
+.EXAMPLE
+ This example creates and deletes a new location
+ Test-ManagedLocation
+#>
+ function Test-ManagedLocation
+{
+ param
+ (
+ [String] $Location="chicago"
+ )
+
+ $lattitude = 80.5
+ $longitude = -45.5
+
+ try
+ {
+ $loc = New-AzureRMManagedLocation -Name $Location -DisplayName $Location -Latitude 80.5 -Longitude -45.5
+
+ Assert-NotNull $loc
+ Assert-AreEqual $loc.Name $Location
+ Assert-AreEqual $loc.Latitude $lattitude
+ Assert-AreEqual $loc.Longitude $longitude
+ Assert-AreEqual $loc.DisplayName $Location
+
+ $loc2 = Get-AzureRMManagedLocation -Name $Location
+
+ Assert-AreEqual $loc2.Name $Location
+ Assert-AreEqual $loc2.Latitude $lattitude
+ Assert-AreEqual $loc2.Longitude $longitude
+ Assert-AreEqual $loc2.DisplayName $Location
+
+ $lattitude = 90.0
+
+ $loc2.Latitude = $lattitude
+ $loc2 | Set-AzureRMManagedLocation
+
+
+ $loc3 = Get-AzureRMManagedLocation -Name $Location
+
+ Assert-AreEqual $loc3.Name $Location
+ Assert-AreEqual $loc3.Latitude $lattitude
+ Assert-AreEqual $loc3.Longitude $longitude
+ Assert-AreEqual $loc3.DisplayName $Location
+ }
+ finally
+ {
+ Remove-AzureRMManagedLocation -Name $Location
+ Assert-Throws {Get-AzureRMManagedLocation -Name $Location }
+ }
+}
+
+
+ <#
+.Synopsis
+ Creates and Deletes a new GalleryItem.
+#>
+function Test-GalleryItem
+{
+ $resourceGroupName = "GalleryItems"
+ $galleryItemName = "Microsoft.SimpleVMTemplate.1.0.0"
+ $galleryApiVersion = "2015-04-01"
+
+ try
+ {
+ New-AzureRmResourceGroup -Name $resourceGroupName -Location redmond -Force
+
+ [Microsoft.AzureStack.Commands.AddGalleryItem]::GalleryPackageIds.Enqueue("1988820c-2bcc-4682-9991-bec44e6b8324")
+ $galleryItem = Add-AzureRMGalleryItem -ResourceGroup $resourceGroupName -Name $galleryItemName -Path "Microsoft.SimpleVMTemplate.1.0.0.azpkg" -Apiversion $GalleryApiVersion –Verbose
+ Assert-NotNull $galleryItem
+
+ $galleryItem = Get-AzureRMGalleryItem -Name $galleryItemName -ResourceGroup $resourceGroupName -ApiVersion $galleryApiVersion
+ Assert-AreEqual $galleryItem.Name $galleryItemName
+ }
+ finally
+ {
+ Remove-AzureRMGalleryItem -Name $GalleryItemName -ResourceGroup $resourceGroupName -ApiVersion $galleryApiVersion
+ Remove-ResourceGroup -ResourceGroupName $resourceGroupName
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Commands.AzureStackAdmin.Test.csproj b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Commands.AzureStackAdmin.Test.csproj
new file mode 100644
index 000000000000..0f058890dcc2
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Commands.AzureStackAdmin.Test.csproj
@@ -0,0 +1,217 @@
+
+
+
+
+
+
+ Debug
+ AnyCPU
+ {080B0477-7E52-4455-90AB-23BD13D1B1CE}
+ Library
+ Properties
+ Microsoft.AzureStack.Commands.Admin.Test
+ Microsoft.AzureStack.Commands.Admin.Test
+ v4.5
+ 512
+
+ ..\..\..\
+ true
+ {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 8a60455a
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+ false
+ true
+ false
+
+
+ bin\Release\
+ TRACE;SIGN
+ true
+ pdbonly
+ AnyCPU
+ bin\Release\Microsoft.AzureStack.Commands.Admin.Test.dll.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ false
+ true
+ true
+ false
+
+
+
+
+
+
+ False
+ C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
+
+
+
+
+ False
+ ..\..\..\packages\System.Spatial.5.6.2\lib\net40\System.Spatial.dll
+
+
+ ..\..\..\packages\Hyak.Common.1.0.3\lib\portable-net403+win+wpa81\Hyak.Common.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
+
+
+ ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.6.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+ True
+
+
+ ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.14-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.AzureStack.Management.Storage.0.9.2-preview\lib\net45\Microsoft.AzureStack.Management.Storage.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Data.OData.5.6.4\lib\net40\Microsoft.Data.OData.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Data.Services.Client.5.6.4\lib\net40\Microsoft.Data.Services.Client.dll
+
+
+ ..\..\..\packages\Microsoft.Rest.ClientRuntime.2.0.1\lib\net45\Microsoft.Rest.ClientRuntime.dll
+ True
+
+
+ False
+ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll
+
+
+ ..\..\..\packages\Microsoft.WindowsAzure.ConfigurationManager.3.2.0\lib\net40\Microsoft.WindowsAzure.Configuration.dll
+
+
+ False
+ ..\..\..\packages\WindowsAzure.Storage.4.3.0\lib\net40\Microsoft.WindowsAzure.Storage.dll
+
+
+ False
+ ..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+
+
+ False
+ ..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
+
+
+ ..\..\..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll
+ True
+
+
+ ..\..\..\packages\xunit.assert.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.assert.dll
+ True
+
+
+ ..\..\..\packages\xunit.extensibility.core.2.1.0\lib\portable-net45+win8+wp8+wpa81\xunit.core.dll
+ True
+
+
+ ..\..\..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll
+ True
+
+
+ False
+ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
+
+
+ False
+ ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
+
+
+
+
+
+
+
+
+ {3436a126-edc9-4060-8952-9a1be34cdd95}
+ Commands.ScenarioTests.ResourceManager.Common
+
+
+ {fe34f78c-e6ec-448c-b675-df9d9201a4e7}
+ Commands.AzureStackAdmin.Test.Common
+
+
+
+
+ Designer
+
+
+ PreserveNewest
+
+
+ Always
+
+
+ Designer
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ Always
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/ArmOperations.psm1 b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/ArmOperations.psm1
new file mode 100644
index 000000000000..992f12cda2c1
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/ArmOperations.psm1
@@ -0,0 +1,266 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+function New-ResourceGroup
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroupName,
+
+ [string] $SubscriptionId = $Global:AzureStackConfig.SubscriptionId,
+
+ [string] $Token = $Global:AzureStackConfig.Token
+ )
+
+ Write-Verbose "Creating the resource group : $ResourceGroupName"
+
+ if ($Global:AzureStackConfig.IsAad)
+ {
+ $rgCreated = New-AzureRmResourceGroup -Name $ResourceGroupName -Location $Global:AzureStackConfig.ArmLocation -Force
+ }
+ else
+ {
+ # Create resource group request
+ $putResourceGroup = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "subscriptions/$SubscriptionId/resourcegroups/${ResourceGroupName}?api-version=1.0"
+ Method = "PUT"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+
+ # Create resource group body
+ $rgBody = [pscustomobject]@{
+ Name = $ResourceGroupName
+ location = $Global:AzureStackConfig.ArmLocation
+ }
+
+ # Make the API call
+ $rgCreated = $rgBody | ConvertTo-Json | Invoke-RestMethod @putResourceGroup
+ }
+
+ Write-Verbose "Created the resource group successfully : $ResourceGroupName"
+
+ # TODO: Changes needed when we have tests with reseller' tenant creating resources
+ $Level = 0
+ if ($Token -ne $Global:AzureStackConfig.Token)
+ {
+ $Level = 1
+ }
+
+ $Global:CreatedResourceGroups += @{
+ ResourceGroupName = $ResourceGroupName
+ SubscriptionId = $SubscriptionId
+ Token = $Token
+ Level = $Level
+ }
+
+ #ToDo: Get RG and assert to make sure RG is created
+ return $rgCreated
+}
+
+function Remove-ResourceGroup
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroupName,
+
+ [String] $SubscriptionId = $Global:AzureStackConfig.SubscriptionId,
+
+ [String] $Token = $Global:AzureStackConfig.Token
+ )
+
+ Write-Verbose "Deleting the resource group: $ResourceGroupName"
+
+ if($Global:AzureStackConfig.IsAad)
+ {
+ # Deletes the resources it contains as well
+ Remove-AzureRmResourceGroup -Name $ResourceGroupName -Force
+ }
+ else
+ {
+ # Delete resource group request
+ $deleteResourceGroup = @{
+ Uri = "$($Global:AzureStackConfig.AdminUri)/subscriptions/$SubscriptionId/resourcegroups/${ResourceGroupName}?api-version=1.0"
+ Method = "DELETE"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+
+ Invoke-RestMethod @deleteResourceGroup
+ }
+
+ Assert-ResourceGroupDeletion -ResourceGroupName $ResourceGroupName -SubscriptionId $SubscriptionId
+
+ Write-Verbose "Deleted the resource group successfully: $ResourceGroupName"
+}
+
+function Get-ResourceGroup
+{
+ param
+ (
+ [String] $ResourceGroupName,
+
+ [String] $SubscriptionId = $Global:AzureStackConfig.SubscriptionId,
+
+ [String] $Token = $Global:AzureStackConfig.Token
+ )
+
+ if($ResourceGroupName)
+ {
+ Write-Verbose "Getting the resourceGroup $ResourceGroupName"
+
+ if($Global:AzureStackConfig.IsAad)
+ {
+ return Get-AzureRmResourceGroup -Name $ResourceGroupName
+ }
+
+ $getResourceGroup = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "subscriptions/{0}/resourcegroups/{1}?api-version=1.0&includeDetails=true" -f $SubscriptionId, $ResourceGroupName
+ Method = "GET"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+ }
+ else
+ {
+ # If resourcegroup name is not specified return all the resource groups under the subscription
+ Write-Verbose "Getting all the resourceGroups for the subscription $SubscriptionId"
+
+ if($Global:AzureStackConfig.IsAad)
+ {
+ return Get-AzureRmResourceGroup
+ }
+
+ $getResourceGroup = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "subscriptions/{0}/resourcegroups?api-version=1.0&includeDetails=true" -f $SubscriptionId, $ResourceGroupName
+ Method = "GET"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+ }
+
+ $resourceGroups = Invoke-RestMethod @getResourceGroup
+ return $resourceGroups.value
+}
+
+function Get-ResourceGroupDeployments
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroupName,
+
+ [String] $SubscriptionId = $Global:AzureStackConfig.SubscriptionId,
+
+ [String] $Token = $Global:AzureStackConfig.Token
+ )
+
+ Write-Verbose "Getting the Deployment details for the resourceGroup $ResourceGroupName"
+
+
+ $getResourceGroupDeployments = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "subscriptions/{0}/resourcegroups/{1}/deployments?api-version=2014-04-01-preview&includeDetails=true" -f $SubscriptionId, $ResourceGroupName
+ Method = "GET"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+
+ return Invoke-RestMethod @getResourceGroupDeployments
+}
+
+
+function Get-ResourceGroupResources
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroupName,
+
+ [String] $SubscriptionId = $Global:AzureStackConfig.SubscriptionId,
+
+ [String] $Token = $Global:AzureStackConfig.Token
+ )
+
+ Write-Verbose "Getting the resource details for the resourceGroup $ResourceGroupName"
+
+
+ $getResources = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "subscriptions/{0}/resourcegroups/{1}/resources?api-version=2014-04-01-preview" -f $SubscriptionId, $ResourceGroupName
+ Method = "GET"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+
+ return Invoke-RestMethod @getResources
+}
+
+
+function Get-FilterQueryParam
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceType,
+
+ [Parameter(Mandatory=$true)]
+ [PsObject[]] $Subscriptions
+ )
+
+ $filterString = "("
+
+ for($i=0; $i -le $Subscriptions.Length-2; $i++)
+ {
+ $filterString += "subscriptionId eq '"+ $Subscriptions[$i].subscriptionId +"' or "
+ }
+
+ $filterString += "subscriptionId eq '"+ $Subscriptions[$i].subscriptionId +"'"
+
+ $filterString += ") and (resourceType eq '"
+ $filterString += $ResourceType + "')"
+
+ $encodedString = [System.Web.HttpUtility]::UrlEncode($filterString)
+ return $encodedString
+}
+
+function Get-AllSusbscriptionsResources
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceType,
+
+ [Parameter(Mandatory=$true)]
+ [PsObject[]] $Subscriptions,
+
+ [String] $Token = $Global:AzureStackConfig.Token
+ )
+
+ Write-Verbose "Getting the Deployment details for the resourceGroup $ResourceGroupName"
+
+ $filterParam = '$filter='
+ $filterParam += Get-FilterQueryParam -ResourceType $ResourceType -Subscriptions $Subscriptions
+ $getResourceGroup = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "resources?api-version=2014-04-01-preview&" + $filterParam
+ Method = "GET"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+
+ return Invoke-RestMethod @getResourceGroup
+}
+
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AssertResources.psm1 b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AssertResources.psm1
new file mode 100644
index 000000000000..3fa3fdb97279
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AssertResources.psm1
@@ -0,0 +1,78 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+
+<#
+.Synopsis
+ Verify that the resourcegroup is deleted
+#>
+# TODO: Change this assertion to query on Location resposne of the delete call
+function Assert-ResourceGroupDeletion
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroupName,
+
+ [String] $SubscriptionId = $Global:AzureStackConfig.SubscriptionId
+ )
+
+ Assert-Throws {Retry-Function {Get-ResourceGroup -ResourceGroupName $ResourceGroupName -SubscriptionId $SubscriptionId} -maxTries 12 -intervalInSeconds 20}
+}
+
+<#
+.Synopsis
+ Verify that the resource is deleted
+#>
+function Assert-ResourceDeletion
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [ScriptBlock] $ScriptBlock
+ )
+
+ Assert-ThrowsContains {Retry-Function {&$ScriptBlock} -maxTries 12 -intervalInSeconds 20 } -compare "ResourceNotFound"
+}
+
+<#
+.Synopsis
+ Verify that the subscription is deleted
+#>
+function Assert-SubscriptionDeletion
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [ScriptBlock] $ScriptBlock
+ )
+
+ Assert-ThrowsContains {Retry-Function {&$ScriptBlock} -maxTries 12 -intervalInSeconds 20 } -compare "SubscriptionNotFound"
+}
+
+
+<#
+.Synopsis
+ Verify that the sqldatabase is deleted
+#>
+function Assert-SqlDatabaseDeletion
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [ScriptBlock] $ScriptBlock
+ )
+
+ Assert-Throws {Retry-Function {&$ScriptBlock} -maxTries 12 -intervalInSeconds 20 }
+}
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AuthOperations.psm1 b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AuthOperations.psm1
new file mode 100644
index 000000000000..330225bb11c8
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AuthOperations.psm1
@@ -0,0 +1,173 @@
+function Set-AzureStackEnvironment
+{
+ [CmdletBinding(DefaultParameterSetName="WindowsAuth")]
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $AzureStackMachineName,
+
+ [Parameter(Mandatory=$true)]
+ [String] $ArmEndpoint,
+
+ [Parameter(Mandatory=$true)]
+ [String] $GalleryEndpoint,
+
+ [Parameter(Mandatory=$false, ParameterSetName="WindowsAuth")]
+ [String] $WindowsAuthEndpoint,
+
+ [Parameter(Mandatory=$true, ParameterSetName="AadEnvironment")]
+ [String] $AadTenantId,
+
+ [Parameter(Mandatory=$true, ParameterSetName="AadEnvironment")]
+ [String] $AadApplicationId,
+
+ [Parameter(Mandatory=$false, ParameterSetName="AadEnvironment")]
+ [String] $AadGraphUri = "https://graph.windows.net/",
+
+ [Parameter(Mandatory=$false, ParameterSetName="AadEnvironment")]
+ [String] $AadLoginUri = "https://login.windows.net/"
+
+ )
+
+ ValidateUri -Uri $ArmEndpoint
+ ValidateUri -Uri $GalleryEndpoint
+ ValidateUri -Uri $AadGraphUri
+ ValidateUri -Uri $AadLoginUri
+
+ if (-not $WindowsAuthEndpoint)
+ {
+ $WindowsAuthEndpoint = "https://{0}:12998" -f $AzureStackMachineName
+ }
+
+ $isAad = $PSCmdlet.ParameterSetName -eq "AadEnvironment"
+ $azStackPowershellGuid = "0a7bdc5c-7b57-40be-9939-d4c5fc7cd417"
+ $adminSubscription = Get-AzureRmSubscription -SubscriptionName "Default Provider Subscription"
+ $adminSubscriptionId = $adminSubscription.SubscriptionId
+ Set-AzureRmContext -SubscriptionId $adminSubscriptionId
+ $location = "redmond"
+
+ $global:AzureStackConfig = [PSCustomObject]@{
+ AzureStackMachineName = $AzureStackMachineName
+ ApiVersion = "1.0"
+ ArmLocation = $location
+ Token = $token
+ SubscriptionId = $adminSubscriptionId
+ AdminUri = $ArmEndpoint
+ IsAad = $isAad
+ AadTenantId = $AadTenantId
+ AzStackPsAadAppGuid = $azStackPowershellGuid
+ AadApplicationId = $AadApplicationId
+ AadLoginUri = $AadLoginUri
+ WindowsAuthEndpoint = $WindowsAuthEndpoint
+ }
+
+ Write-Verbose "Environment Context set for $AzureStackMachineName"
+}
+
+function ValidateUri
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $Uri
+ )
+
+ if (($uri -as [System.URI]) -eq $null)
+ {
+ throw "$uri is not a valid URI"
+ }
+
+ if (-not $uri.EndsWith("/"))
+ {
+ throw "$uri does not ends with /"
+ }
+}
+
+function Get-EnvironmentSpecificToken
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [PSCredential] $Credential
+ )
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $authEndPoint="$($Global:AzureStackConfig.AadLoginUri)$($Global:AzureStackConfig.AadTenantId)/oauth2"
+ return Get-AzureStackToken -Authority $authEndPoint -AadTenantId $Global:AzureStackConfig.AadTenantId -Resource $Global:AzureStackConfig.AadApplicationId -ClientId $Global:AzureStackConfig.AzStackPsAadAppGuid -Credential $Credential -Verbose
+ }
+
+ return Get-AzureStackToken -Authority $Global:AzureStackConfig.WindowsAuthEndpoint -Credential $Credential -ErrorAction Stop
+}
+
+function Set-AzureStackWithAadEnvironment
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $AzureStackMachineName,
+
+ [Parameter(Mandatory=$true)]
+ [String] $ArmEndpoint,
+
+ [Parameter(Mandatory=$true)]
+ [String] $GalleryEndpoint,
+
+ [Parameter(Mandatory=$false)]
+ [String] $AadGraphUri,
+
+ [Parameter(Mandatory=$true)]
+ [String] $AadLoginUri,
+
+ [Parameter(Mandatory=$true)]
+ [String] $AadTenantId,
+
+ [Parameter(Mandatory=$true)]
+ [String] $AadApplicationId,
+
+ [Parameter(Mandatory=$true)]
+ [PSCredential] $Credential
+ )
+
+ $Global:ErrorActionPreference='SilentlyContinue'
+ Remove-AzureRmEnvironment -Name $AzureStackMachineName -Force -ErrorAction SilentlyContinue
+ $Global:ErrorActionPreference='Stop'
+
+ Add-AzureRmEnvironment -Name $AzureStackMachineName `
+ -ActiveDirectoryEndpoint ("$AadLoginUri$AadTenantId/") `
+ -ActiveDirectoryServiceEndpointResourceId $AadApplicationId `
+ -ResourceManagerEndpoint ($ArmEndpoint) `
+ -GalleryEndpoint ($GalleryEndpoint) `
+ -GraphEndpoint $AadGraphUri
+
+ $environment = Get-AzureRmEnvironment -Name $AzureStackMachineName
+ Login-AzureRmAccount -Environment $environment -Credential $Credential
+
+ Get-AzureRmSubscription -SubscriptionName "Default Provider Subscription" | Set-AzureRmContext
+}
+
+function Get-DefaultLocation
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $AdminUri,
+
+ [Parameter(Mandatory=$true)]
+ [String] $SubscriptionId,
+
+ [Parameter(Mandatory=$true)]
+ [String] $Token
+ )
+
+ # TODO: always returning the first region, change if needed
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $locations = Get-AzureRMManagedLocation -SubscriptionId $SubscriptionId -ApiVersion "1.0"
+ }
+ else
+ {
+ $locations = Get-AzureRMManagedLocation -SubscriptionId $SubscriptionId -Token $Token -AdminUri $AdminUri -ApiVersion "1.0"
+ }
+ return $locations[0].Name
+}
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AzStackTestRunner.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AzStackTestRunner.cs
new file mode 100644
index 000000000000..c396bcbc9be0
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/AzStackTestRunner.cs
@@ -0,0 +1,248 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+namespace Microsoft.AzureStack.Commands.Admin.Test.Common
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Configuration;
+ using System.Globalization;
+ using System.IO;
+ using System.Linq;
+ using Microsoft.Azure.Commands.Common.Authentication;
+ using Microsoft.Azure.Gallery;
+ using Microsoft.Azure.Management.Authorization;
+ using Microsoft.Azure.Management.Resources;
+ using Microsoft.Azure.Subscriptions;
+ using Microsoft.Azure.Test;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.WindowsAzure.Commands.Common.Test.Mocks;
+ using Microsoft.WindowsAzure.Commands.ScenarioTest;
+
+ public sealed class AzStackTestRunner
+ {
+ private EnvironmentSetupHelper helper;
+ private CSMTestEnvironmentFactory armTestEnvironmentFactory;
+ private const string DefaultApiVersion = "1.0";
+
+ public AzureStackClient azureStackClient;
+
+ public ResourceManagementClient ResourceManagementClient { get; private set; }
+
+ public SubscriptionClient SubscriptionClient { get; private set; }
+
+ public GalleryClient GalleryClient { get; private set; }
+
+ public string ApiVersion { get; set; }
+
+ public AuthorizationManagementClient AuthorizationManagementClient { get; private set; }
+
+ public static AzStackTestRunner NewInstance
+ {
+ get
+ {
+ return new AzStackTestRunner() { ApiVersion = AzStackTestRunner.DefaultApiVersion };
+ }
+ }
+
+ public AzStackTestRunner()
+ {
+ helper = new EnvironmentSetupHelper();
+ }
+ public void RunPsTest(string testScript)
+ {
+ var callingClassType = TestUtilities.GetCallingClass(2);
+ var mockName = TestUtilities.GetCurrentMethodName(2);
+
+ RunPsTestWorkflow(
+ () => SetupAzureStackEnvironment(testScript),
+ // no custom initializer
+ null,
+ // no custom cleanup
+ null,
+ callingClassType,
+ mockName);
+ }
+
+ private List SetupCommonModules()
+ {
+ List modules = new List();
+ modules = new List();
+ bool aadEnvironement = Convert.ToBoolean(ReadAppSettings("AadEnvironment"), CultureInfo.InvariantCulture);
+
+ string azStackAdminModulePath = Path.Combine(
+ this.helper.PackageDirectory,
+ @"ResourceManager\AzureResourceManager\AzureRM.AzureStackAdmin\AzureRM.AzureStackAdmin.psd1");
+
+ // The modules are deployed to the test run directory with the test settings file
+ modules.Add(azStackAdminModulePath);
+ modules.Add(@"AssertResources.psm1");
+ modules.Add(@"GlobalVariables.psm1");
+ modules.Add(@"AuthOperations.psm1");
+ modules.Add(@"CommonOperations.psm1");
+ modules.Add(@"ArmOperations.psm1");
+ modules.Add(@"Utilities.psm1");
+
+ return modules;
+ }
+
+ private string[] SetupAzureStackEnvironment(string testScript)
+ {
+ List scripts =new List();
+ string azureStackMachine = "azurestack";
+ bool aadEnvironment = Convert.ToBoolean(ReadAppSettings("AadEnvironment"), CultureInfo.InvariantCulture);
+ string aadTenantId = ReadAppSettings("AadTenantId", mandatory: false);
+ string aadApplicationId = ReadAppSettings("AadApiApplicationId", mandatory: false);
+ string armEndpoint = ReadAppSettings("ArmEndpoint", mandatory: false);
+ string galleryEndpoint = ReadAppSettings("GalleryEndpoint", mandatory: false);
+ string aadGraphUri = ReadAppSettings("AadGraphUri", mandatory: false);
+ string aadLoginuri = ReadAppSettings("AadLoginUri", mandatory: false);
+
+ string setupAzureStackEnvironmentPs;
+
+ if (aadEnvironment)
+ {
+ setupAzureStackEnvironmentPs = string.Format(
+ CultureInfo.InvariantCulture,
+ "Set-AzureStackEnvironment -AzureStackMachineName {0} -AadTenantId {1} -AadApplicationId {2} -ArmEndpoint {3} -GalleryEndpoint {4} -AadGraphUri {5} -AadLoginUri {6}",
+ azureStackMachine,
+ aadTenantId,
+ aadApplicationId,
+ armEndpoint,
+ galleryEndpoint,
+ aadGraphUri,
+ aadLoginuri
+ );
+ }
+ else
+ {
+ setupAzureStackEnvironmentPs = "Set-AzureStackEnvironment -AzureStackMachineName " + azureStackMachine;
+ }
+
+ //string selfSignedCertPs = "Ignore-SelfSignedCert";
+ //scripts.Add(selfSignedCertPs);
+ scripts.Add(setupAzureStackEnvironmentPs);
+
+ scripts.Add(testScript);
+ return scripts.ToArray();
+ }
+
+ private static string ReadAppSettings(string key, bool mandatory = true)
+ {
+ if (ConfigurationManager.AppSettings.AllKeys.Contains(key, StringComparer.OrdinalIgnoreCase))
+ {
+ return ConfigurationManager.AppSettings[key];
+ }
+
+ if (mandatory)
+ {
+ throw new ConfigurationErrorsException(string.Format(CultureInfo.InvariantCulture, "The app settings key {0} is missing in the settings file", key));
+ }
+
+ return null;
+ }
+
+
+ private void RunPsTestWorkflow(
+ Func scriptBuilder,
+ Action initialize,
+ Action cleanup,
+ string callingClassType,
+ string mockName)
+ {
+ using (UndoContext context = UndoContext.Current)
+ {
+ context.Start(callingClassType, mockName);
+
+ this.armTestEnvironmentFactory = new CSMTestEnvironmentFactory();
+
+ if (initialize != null)
+ {
+ initialize(this.armTestEnvironmentFactory);
+ }
+
+ helper.SetupEnvironment(AzureModule.AzureResourceManager);
+
+ SetupManagementClients();
+
+ var callingClassName = callingClassType
+ .Split(new[] { "." }, StringSplitOptions.RemoveEmptyEntries)
+ .Last();
+
+ List modules = this.SetupCommonModules();
+ modules.Add(callingClassName + ".ps1");
+ modules.Add(helper.RMProfileModule);
+ modules.Add(helper.RMResourceModule);
+ helper.SetupModules(AzureModule.AzureResourceManager, modules.ToArray());
+
+ try
+ {
+ if (scriptBuilder != null)
+ {
+ var psScripts = scriptBuilder();
+
+ if (psScripts != null)
+ {
+ helper.RunPowerShellTest(psScripts);
+ }
+ }
+ }
+ finally
+ {
+ if (cleanup != null)
+ {
+ cleanup();
+ }
+ }
+ }
+ }
+
+ private void SetupManagementClients()
+ {
+ ResourceManagementClient = GetResourceManagementClient();
+ SubscriptionClient = GetSubscriptionClient();
+ GalleryClient = GetGalleryClient();
+ AuthorizationManagementClient = this.GetAuthorizationManagementClient();
+
+ azureStackClient = TestBase.GetServiceClient(this.armTestEnvironmentFactory, this.ApiVersion);
+
+ this.SetupManagementClients(ResourceManagementClient, SubscriptionClient, GalleryClient, AuthorizationManagementClient, azureStackClient);
+ }
+
+ private void SetupManagementClients(params object[] initializedManagementClients)
+ {
+ AzureSession.ClientFactory = new MockClientFactory(initializedManagementClients);
+ }
+
+ private ResourceManagementClient GetResourceManagementClient()
+ {
+ return TestBase.GetServiceClient(this.armTestEnvironmentFactory);
+ }
+
+ private GalleryClient GetGalleryClient()
+ {
+ return TestBase.GetServiceClient(this.armTestEnvironmentFactory);
+ }
+
+ private SubscriptionClient GetSubscriptionClient()
+ {
+ return TestBase.GetServiceClient(this.armTestEnvironmentFactory);
+ }
+
+ private AuthorizationManagementClient GetAuthorizationManagementClient()
+ {
+ return TestBase.GetServiceClient(this.armTestEnvironmentFactory);
+ }
+ }
+}
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/Commands.AzureStackAdmin.Test.Common.csproj b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/Commands.AzureStackAdmin.Test.Common.csproj
new file mode 100644
index 000000000000..6eea4e76debf
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/Commands.AzureStackAdmin.Test.Common.csproj
@@ -0,0 +1,154 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {FE34F78C-E6EC-448C-B675-DF9D9201A4E7}
+ Library
+ Properties
+ Microsoft.AzureStack.Commands.Admin.Test.Common
+ Microsoft.AzureStack.Commands.Admin.Test.Common
+ v4.5
+ 512
+
+ ..\..\
+ true
+ {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 8a60455a
+
+
+ true
+ full
+ false
+ bin\Debug
+ DEBUG;TRACE
+ prompt
+ 4
+ false
+ true
+ false
+
+
+ bin\Release
+ TRACE;SIGN
+ true
+ pdbonly
+ AnyCPU
+ bin\Release\Microsoft.AzureStack.Commands.Admin.Test.Common.dll.CodeAnalysisLog.xml
+ true
+ GlobalSuppressions.cs
+ prompt
+ false
+ true
+ true
+ false
+
+
+
+ ..\..\..\..\packages\Microsoft.Azure.Gallery.2.6.2-preview\lib\net40\Microsoft.Azure.Gallery.dll
+
+
+ ..\..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll
+
+
+ ..\..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.14-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
+
+
+ ..\..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
+ True
+
+
+ ..\..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll
+ True
+
+
+
+
+
+
+ ..\..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
+
+
+ ..\..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll
+
+
+ False
+ ..\..\..\..\packages\Microsoft.Azure.Common.Authentication.1.6.1-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll
+
+
+ ..\..\..\..\packages\Microsoft.AzureStack.Management.0.9.1-preview\lib\net45\Microsoft.AzureStack.Management.dll
+
+
+ ..\..\..\..\packages\Hyak.Common.1.0.3\lib\net40\Hyak.Common.dll
+
+
+ ..\..\..\..\packages\Microsoft.Rest.ClientRuntime.2.0.1\lib\net45\Microsoft.Rest.ClientRuntime.dll
+ True
+
+
+ False
+ ..\..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll
+
+
+ False
+ ..\..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll
+
+
+ False
+ ..\..\..\..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll
+
+
+ False
+ ..\..\..\..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll
+
+
+ False
+ ..\..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
+
+
+ False
+ ..\..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+
+
+ False
+ ..\..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+ PreserveNewest
+
+
+
+
+ {d3804b64-c0d3-48f8-82ec-1f632f833c9e}
+ Commands.Common.Authentication
+
+
+ {3436a126-edc9-4060-8952-9a1be34cdd95}
+ Commands.ScenarioTests.ResourceManager.Common
+
+
+
+
+
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/CommonOperations.psm1 b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/CommonOperations.psm1
new file mode 100644
index 000000000000..90df6e1019c9
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/CommonOperations.psm1
@@ -0,0 +1,694 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+function Get-ResourceProviderRegistration
+{
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $providers = Get-AzureRMResourceProviderRegistration -ResourceGroup $systemResourceGroup
+ }
+ else
+ {
+ $providers = Get-AzureRMResourceProviderRegistration -ResourceGroup $systemResourceGroup -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $ApiVersion
+ }
+
+ return $providers
+}
+
+function Get-SQLRPDefaultQuota
+{
+ $ApiVersion = "1.0"
+ $providerNamespace = "Microsoft.Sql"
+ $systemResourceGroup = "System"
+
+ $defaultQuotaSettings = @{}
+ $editions = @()
+ $quota = @{}
+ $quota.maxDatabaseSize = 1024
+ $quota.maxDatabaseCount = 10000
+ $quota.name = "Web"
+ $quota.displayName = "Web"
+ $quota.baseDatabaseSize = 10
+ $editions += $quota
+ $defaultQuotaSettings.editions = $editions
+
+ $providers = Get-ResourceProviderRegistration
+ $sqlProvider = $providers.Properties | Where-Object {$_.Manifest.Namespace -eq $providerNamespace }
+
+ $sqlDefaultQuota = [Microsoft.AzureStack.Management.Models.ServiceQuotaDefinition]@{
+ Location = "redmond"
+ QuotaSyncState = "InSync"
+ ResourceProviderId = "SQL-REDMOND"
+ ResourceProviderNameSpace = "Microsoft.Sql"
+ ResourceProviderDisplayName = "Sql"
+ QuotaSettings = $defaultQuotaSettings | ConvertTo-Json
+ }
+
+ return $sqlDefaultQuota
+}
+
+function Get-SubscriptionsDefaultQuota
+{
+ $ApiVersion = "1.0"
+ $providerNamespace = "Microsoft.Subscriptions"
+ $systemResourceGroup = "System"
+
+ $defaultQuotaSettings = @{}
+ $delegatedProviderQuotas = @{
+ maximumDelegationDepth = 2
+ allowCustomPortalBranding = $false
+ allowResourceProviderRegistration = $false
+ delegatedOffers=@()
+ }
+
+ $defaultQuotaSettings.delegatedProviderQuotas = $delegatedProviderQuotas
+
+ $providers = Get-ResourceProviderRegistration
+ $subscriptionsProvider = $providers.Properties | Where-Object {$_.Manifest.Namespace -eq $providerNamespace }
+
+ $subscriptionsDefaultQuota = [Microsoft.AzureStack.Management.Models.ServiceQuotaDefinition]@{
+ location = $subscriptionsProvider.Location
+ quotaSyncState = "InSync"
+ resourceProviderDisplayName = ""
+ resourceProviderId = $subscriptionsProvider.Name
+ resourceProviderNameSpace = $subscriptionsProvider.Manifest.Namespace
+ quotaSettings = $defaultQuotaSettings | ConvertTo-Json
+ }
+
+ return $subscriptionsDefaultQuota
+}
+
+function Get-SubscriptionsQuota
+{
+ param
+ (
+ [Parameter(Mandatory=$false)]
+ [String[]] $DelegatedOfferNames
+ )
+
+ $quota = Get-SubscriptionsDefaultQuota
+
+ $delegatedOffers=@()
+
+
+ $quotaSettings = $quota.QuotaSettings | ConvertFrom-Json
+
+ foreach ($offerName in $DelegatedOfferNames)
+ {
+ $delegatedOffers += @{
+ offerName = $offerName
+ accessibilityState = "Private"
+ }
+ }
+
+ #$quotaSettings.delegatedProviderQuotas.maximumDelegationDepth = 5
+ $quotaSettings.delegatedProviderQuotas.delegatedOffers += $delegatedOffers
+ $qsJson = $quotaSettings | ConvertTo-Json -Depth 4
+
+ $quota.QuotaSettings = $qsJson
+ Write-Output $quota
+}
+
+function Get-StorageDefaultQuota
+{
+ $ApiVersion = "1.0"
+ $providerNamespace = "Microsoft.Storage"
+ $systemResourceGroup = "System"
+
+ $defaultQuotaSettings = @{
+ maxCapacityInGB = 500
+ maxStorageAccounts = 20
+ }
+
+ $providers = Get-ResourceProviderRegistration
+ $subscriptionsProvider = $providers.Properties | Where-Object {$_.Manifest.Namespace -eq $providerNamespace }
+
+ $defaultQuota = [Microsoft.AzureStack.Management.Models.ServiceQuotaDefinition]@{
+ location = $subscriptionsProvider.Location
+ quotaSyncState = "InSync"
+ resourceProviderDisplayName = ""
+ resourceProviderId = $subscriptionsProvider.Name
+ resourceProviderNameSpace = $subscriptionsProvider.Manifest.Namespace
+ quotaSettings = $defaultQuotaSettings | ConvertTo-Json
+ }
+
+ Write-Output $defaultQuota
+}
+
+
+function Get-NetworkDefaultQuota
+{
+ $ApiVersion = "1.0"
+ $providerNamespace = "Microsoft.Network"
+ $systemResourceGroup = "System"
+
+ $defaultQuotaSettings = @{
+ egressMaxBandwdith = 100
+ egressReservedBandwidth = 25
+ ingressMaxBandwith = 10
+ virtualNetworks = 25
+ publicIPAddresses = 5
+ gateways = 2
+ networkInterfaces = 100
+ }
+
+ $providers = Get-ResourceProviderRegistration
+ $subscriptionsProvider = $providers.Properties | Where-Object {$_.Manifest.Namespace -eq $providerNamespace }
+
+ $defaultQuota = [Microsoft.AzureStack.Management.Models.ServiceQuotaDefinition]@{
+ location = $subscriptionsProvider.Location
+ quotaSyncState = "InSync"
+ resourceProviderDisplayName = ""
+ resourceProviderId = $subscriptionsProvider.Name
+ resourceProviderNameSpace = $subscriptionsProvider.Manifest.Namespace
+ quotaSettings = $defaultQuotaSettings | ConvertTo-Json
+ }
+
+ Write-Output $defaultQuota
+}
+
+function Get-ComputeDefaultQuota
+{
+ $ApiVersion = "1.0"
+ $providerNamespace = "Microsoft.Compute"
+ $systemResourceGroup = "System"
+ $name = [System.Guid]::NewGuid().ToString()
+
+ $defaultQuotaSettings = @{
+ numberOfVMs = -1
+ amountOfMemory = -1
+ numberOfCPUs= -1
+ name= $name
+ }
+
+ $providers = Get-ResourceProviderRegistration
+ $subscriptionsProvider = $providers.Properties | Where-Object {$_.Manifest.Namespace -eq $providerNamespace }
+
+ $defaultQuota = [Microsoft.AzureStack.Management.Models.ServiceQuotaDefinition]@{
+ location = $subscriptionsProvider.Location
+ quotaSyncState = "InSync"
+ resourceProviderDisplayName = ""
+ resourceProviderId = $subscriptionsProvider.Name
+ resourceProviderNameSpace = $subscriptionsProvider.Manifest.Namespace
+ quotaSettings = $defaultQuotaSettings | ConvertTo-Json
+ }
+
+ Write-Output $defaultQuota
+}
+
+function Set-Offer
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [PSObject] $Offer,
+
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroup,
+
+ [Parameter(Mandatory=$true)]
+ [ValidateSet("Public", "Private", "Decommissioned")]
+ [String] $State
+ )
+
+ $Offer.properties.state = $State
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $Offer | Set-AzureRMOffer -ResourceGroup $ResourceGroup
+ }
+ else
+ {
+ $Offer | Set-AzureRMOffer -ResourceGroup $ResourceGroup -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ }
+
+ Write-Verbose "$Offer state got updated to $State"
+}
+
+function Set-Plan
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [PSObject] $Plan,
+
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroup,
+
+ [Parameter(Mandatory=$true)]
+ [ValidateSet("Public", "Private", "Decommissioned")]
+ [String] $State
+ )
+
+ $Plan.properties.state = $State
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $Plan | Set-AzureRMPlan -ResourceGroup $ResourceGroup -SubscriptionId $Global:AzureStackConfig.SubscriptionId
+ }
+ else
+ {
+ $Plan | Set-AzureRMPlan -ResourceGroup $ResourceGroup -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ }
+
+ Write-Verbose "$Plan state got updated to $State"
+}
+
+function Get-ServiceQuotas
+{
+ param
+ (
+ [Parameter(Mandatory=$false)]
+ [String[]] $rpServices,
+
+ [Parameter(Mandatory=$false)]
+ [String[]] $DelegatedOfferNames
+ )
+
+ $serviceQuotas = New-Object "System.Collections.Generic.List``1 [Microsoft.AzureStack.Management.Models.ServiceQuotaDefinition]"
+ $serviceNames = $rpServices -split ","
+ foreach ($service in $serviceNames)
+ {
+ switch($service)
+ {
+ "Microsoft.Sql" {
+ $serviceQuota = Get-SQLRPDefaultQuota
+ $serviceQuotas.Add($serviceQuota)
+ }
+ "Microsoft.Subscriptions" {
+ $serviceQuota = Get-SubscriptionsQuota -DelegatedOfferNames $DelegatedOfferNames
+ $serviceQuotas.Add($serviceQuota)
+ }
+ "Microsoft.Storage" {
+ $serviceQuota = Get-StorageDefaultQuota
+ $serviceQuotas.Add($serviceQuota)
+ }
+ "Microsoft.Network" {
+ $serviceQuota = Get-NetworkDefaultQuota
+ $serviceQuotas.Add($serviceQuota)
+ }
+ "Microsoft.Compute" {
+ $serviceQuota = Get-ComputeDefaultQuota
+ $serviceQuotas.Add($serviceQuota)
+ }
+ Default { "Wrong service name provided" }
+ }
+ }
+
+ return ,$serviceQuotas
+}
+
+function New-Plan
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$true)]
+ [String] $PlanName,
+
+ [Parameter(Mandatory=$true)]
+ [String[]] $Services,
+
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroupName,
+
+ [String[]] $DelegatedOfferNames
+ )
+
+ Write-Verbose "Creating the plan: $PlanName"
+
+ $name = [System.Guid]::NewGuid().ToString()
+
+ $putPlan = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "subscriptions/" + $Global:AzureStackConfig.SubscriptionId + "/resourcegroups/${ResourceGroupName}/providers/Microsoft.Subscriptions/plans/${PlanName}?api-version=1.0"
+ Method = "PUT"
+ Headers = @{ "Authorization" = "Bearer " + $Global:AzureStackConfig.Token }
+ ContentType = "application/json"
+ }
+
+ $plan = New-AzureRMPlan -Name $PlanName -DisplayName $PlanName -State Private -ArmLocation $Global:AzureStackConfig.ArmLocation -ResourceGroup $ResourceGroupName
+ Write-Verbose "Plan created successfully: $PlanName"
+
+ #$quotaDefinition = $plan.Properties.ServiceQuotas | Where ResourceProviderNamespace –ieq ‘Microsoft.Subscriptions’ | Select –First 1
+ #$quotaDefinition.QuotaSettings
+ $serviceQuotas = Get-ServiceQuotas -rpServices $Services -DelegatedOfferNames $DelegatedOfferNames
+ $plan.Properties.ServiceQuotas = $serviceQuotas
+
+ #$rpServiceQuotas = @($serviceQuotas)
+
+ <#$planRequestBody = [pscustomobject]@{
+ name = $PlanName
+ location = $Global:AzureStackConfig.ArmLocation
+ tags = @{}
+ type = "Microsoft.Subscriptions/plans"
+ properties = [pscustomobject]@{
+ displayName = $PlanName
+ name = $PlanName
+ quotaSyncState = "InSync"
+ state = "Private"
+ serviceQuotas = $rpServiceQuotas
+ }
+ }
+
+ # Make the API call
+ $planCreated = $planRequestBody | ConvertTo-Json -Depth 7 | Invoke-RestMethod @putPlan
+ #>
+ Write-Verbose "Setting plan quotas"
+ $plan | Set-AzureRMPlan -ResourceGroup $ResourceGroupName
+
+ $plan = Get-Plan -PlanName $PlanName -ResourceGroupName $ResourceGroupName
+
+ Assert-NotNull $plan
+ Assert-True { $plan.Properties.DisplayName -eq $PlanName}
+
+ Write-Output $plan
+}
+
+function Remove-Plan
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$true)]
+ [String] $PlanName,
+
+ [Parameter( Mandatory=$true)]
+ [String] $ResourceGroupName
+ )
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ Remove-AzureRMPlan -Name $PlanName -ResourceGroup $ResourceGroupName -SubscriptionId $Global:AzureStackConfig.SubscriptionId
+ }
+ else
+ {
+ Remove-AzureRMPlan -Name $PlanName -ResourceGroup $ResourceGroupName -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ }
+
+ Assert-ResourceDeletion {Get-Plan -PlanName $PlanName -ResourceGroupName $ResourceGroupName}
+
+ Write-Verbose "Deleted the plan successfully: $PlanName"
+}
+
+function Get-Plan
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$true)]
+ [String] $PlanName,
+
+ [Parameter(Mandatory=$true)]
+ [String] $ResourceGroupName
+ )
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ return Get-AzureRMPlan -Name $PlanName -SubscriptionId $AzureStackConfig.SubscriptionId -ResourceGroup $ResourceGroupName -Managed
+ }
+ else
+ {
+ return Get-AzureRMPlan -Name $PlanName -AdminUri $AzureStackConfig.AdminUri -Token $AzureStackConfig.Token -ApiVersion $AzureStackConfig.ApiVersion -SubscriptionId $AzureStackConfig.SubscriptionId -ResourceGroup $ResourceGroupName -Managed
+ }
+}
+
+
+function New-Offer
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$false)]
+ [String] $OfferName,
+
+ [Parameter(Mandatory=$false)]
+ [PSObject] $BasePlan,
+
+ [Parameter(ValueFromPipeline=$true, Mandatory=$true, ValueFromPipelineByPropertyName=$true)]
+ [String] $ResourceGroupName
+ )
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $offer = New-AzureRMOffer -Name $OfferName -DisplayName $OfferName -State Private -BasePlans @($BasePlan) -ArmLocation $AzureStackConfig.ArmLocation -ResourceGroup $ResourceGroupName -SubscriptionId $AzureStackConfig.SubscriptionId
+ }
+ else
+ {
+ $offer = New-AzureRMOffer -Name $OfferName -DisplayName $OfferName -State Private -BasePlans @($BasePlan) -ArmLocation $AzureStackConfig.ArmLocation -ResourceGroup $ResourceGroupName -SubscriptionId $AzureStackConfig.SubscriptionId -Token $AzureStackConfig.Token -AdminUri $AzureStackConfig.AdminUri -ApiVersion $AzureStackConfig.ApiVersion
+ }
+
+ Assert-NotNull $offer
+ Assert-True {$offer.Properties.DisplayName -eq $OfferName}
+
+ return $offer
+}
+
+function Remove-Offer
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$true)]
+ [String] $OfferName,
+
+ [Parameter( Mandatory=$true)]
+ [String] $ResourceGroupName
+ )
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $offer = Remove-AzureRMOffer -Name $OfferName -ResourceGroup $ResourceGroupName -SubscriptionId $Global:AzureStackConfig.SubscriptionId
+ }
+ else
+ {
+ $offer = Remove-AzureRMOffer -Name $OfferName -ResourceGroup $ResourceGroupName -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ }
+
+ Assert-ResourceDeletion {Get-Offer -OfferName $OfferName -ResourceGroupName $ResourceGroupName}
+
+ Write-Verbose "Deleted the offer successfully: $OfferName"
+}
+
+function Get-Offer
+{
+ param
+ (
+ [Alias("Name")]
+ [Parameter(Mandatory=$true, ParameterSetName="Admin")]
+ [Parameter(Mandatory=$true, ParameterSetName="Tenant")]
+ [String] $OfferName,
+
+ [Parameter(Mandatory=$true, ParameterSetName="Admin")]
+ [String] $ResourceGroupName,
+
+ [String] $Token
+ )
+
+ switch ($PsCmdlet.ParameterSetName)
+ {
+ "Admin"
+ {
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ return Get-AzureRMOffer -Name $OfferName -SubscriptionId $AzureStackConfig.SubscriptionId -ResourceGroup $ResourceGroupName -Managed
+ }
+ else
+ {
+ return Get-AzureRMOffer -Name $OfferName -AdminUri $AzureStackConfig.AdminUri -Token $AzureStackConfig.Token -ApiVersion $AzureStackConfig.ApiVersion -SubscriptionId $AzureStackConfig.SubscriptionId -ResourceGroup $ResourceGroupName -Managed
+ }
+ }
+ "Tenant"
+ {
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ return Get-AzureRMOffer -Provider "default" | where name -eq $OfferName
+ }
+ else
+ {
+ return Get-AzureRMOffer -Provider "default" -AdminUri $AzureStackConfig.AdminUri -Token $Token -ApiVersion $AzureStackConfig.ApiVersion | where name -eq $OfferName
+ }
+ }
+ }
+}
+
+function New-Subscription
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $SubscriptionUser,
+
+ [Parameter(Mandatory=$true)]
+ [String] $OfferId,
+
+ [String] $Token,
+
+ [Switch] $Managed
+ )
+
+ Write-Verbose "Creating the subscription for the user : $SubscriptionUser"
+ $subDisplayName = "$SubscriptionUser Test User"
+
+ if ($Managed)
+ {
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $subscription = New-AzureRmManagedSubscription -Owner $SubscriptionUser -OfferId $OfferId -DisplayName $subDisplayName
+ }
+ else
+ {
+ $subscription = New-AzureRmManagedSubscription -Owner $SubscriptionUser -OfferId $OfferId -DisplayName $subDisplayName -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ $Token = $Global:AzureStackConfig.Token
+ }
+ }
+ else
+ {
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ $subscription = New-AzureRmTenantSubscription -Owner $SubscriptionUser -OfferId $OfferId -DisplayName $subDisplayName
+ }
+ else
+ {
+ $subscription = New-AzureRmTenantSubscription -Owner $SubscriptionUser -OfferId $OfferId -DisplayName $subDisplayName -AdminUri $Global:AzureStackConfig.AdminUri -Token $token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ }
+ }
+
+ Assert-True { $subscription.DisplayName -eq $subDisplayName } | Out-Null
+ $Global:CreatedSubscriptions += @{
+ SubscriptionId = $subscription.SubscriptionId
+ Token = $Token
+ }
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ Retry-Function -ScriptBlock {(Get-AzureRmManagedSubscription -TargetSubscriptionId $subscription.SubscriptionId).QuotaSyncState -ieq "InSync"} -MaxTries 12 -IntervalInSeconds 5 | Out-Null
+ }
+ else
+ {
+ Retry-Function -ScriptBlock {(Get-AzureRmManagedSubscription -TargetSubscriptionId $subscription.SubscriptionId -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token).QuotaSyncState -ieq "InSync"} -MaxTries 12 -IntervalInSeconds 5 | Out-Null
+ }
+
+ Write-Verbose "Successfully created the subscription for user : $SubscriptionUser"
+ return $subscription
+}
+
+function Get-Subscription
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $SubscriptionId
+ )
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ return AzureRm.AzureStackAdmin\Get-AzureRmManagedSubscription -TargetSubscriptionId $SubscriptionId
+ }
+ else
+ {
+ return AzureRm.AzureStackAdmin\Get-AzureRmManagedSubscription -TargetSubscriptionId $SubscriptionId -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ }
+}
+
+function Remove-Subscription
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $TargetSubscriptionId
+ )
+ Write-Verbose "Deleting the subscription : $TargetSubscriptionId"
+
+ $subscription = Get-Subscription -SubscriptionId $TargetSubscriptionId
+ $subscription.State = "disabled"
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ Set-AzureRMManagedSubscription -Subscription $subscription
+ Retry-Function -ScriptBlock {(Get-AzureRmManagedSubscription -TargetSubscriptionId $subscription.SubscriptionId).QuotaSyncState -ieq "InSync"} -MaxTries 12 -IntervalInSeconds 5
+ Remove-AzureRmManagedSubscription -TargetSubscriptionId $TargetSubscriptionId
+ }
+ else
+ {
+ Set-AzureRMManagedSubscription -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -Subscription $subscription
+ Retry-Function -ScriptBlock {(Get-AzureRmManagedSubscription -TargetSubscriptionId $subscription.SubscriptionId -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token).QuotaSyncState -ieq "InSync"} -MaxTries 12 -IntervalInSeconds 5
+ Remove-AzureRmManagedSubscription -TargetSubscriptionId $TargetSubscriptionId -SubscriptionId $Global:AzureStackConfig.SubscriptionId -AdminUri $Global:AzureStackConfig.AdminUri -Token $Global:AzureStackConfig.Token -ApiVersion $Global:AzureStackConfig.ApiVersion
+ }
+
+ Assert-SubscriptionDeletion {Get-Subscription -SubscriptionId $TargetSubscriptionId}
+ Write-Verbose "Successfully deleted the subscription : $TargetSubscriptionId"
+}
+
+function Get-TenantPublicOffers
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [String] $Token
+ )
+
+ if ($Global:AzureStackConfig.IsAAD)
+ {
+ return Get-AzureRMOffer -Provider "default"
+ }
+ else
+ {
+ return Get-AzureRMOffer -Provider "default" -AdminUri $Global:AzureStackConfig.AdminUri -Token $Token -ApiVersion $AzureStackConfig.ApiVersion
+ }
+}
+
+function Get-Subscriptions
+{
+ param
+ (
+ [Parameter( Mandatory=$true)]
+ [String] $Token
+ )
+
+ $getSubscriptions = @{
+ Uri = $Global:AzureStackConfig.AdminUri + "subscriptions?api-version=2014-04-01-preview"
+ Method = "GET"
+ Headers = @{ "Authorization" = "Bearer " + $Token }
+ ContentType = "application/json"
+ }
+
+ $subscriptions = Invoke-RestMethod @getSubscriptions
+
+ return $subscriptions.value
+}
+
+function Get-DeploymentStatus
+{
+ param
+ (
+ [Parameter(Mandatory=$true)]
+ [string] $DeploymentName,
+
+ [Parameter(Mandatory=$true)]
+ [string] $ResourceGroupName,
+
+ [Parameter(Mandatory=$true)]
+ [string] $SubscriptionId,
+
+ [Parameter(Mandatory=$true)]
+ [string] $Token
+ )
+
+ $deploymentUri = "{0}subscriptions/{1}/resourcegroups/{2}/deployments/{3}?api-version=1.0" -f $Global:AzureStackConfig.AdminUri, $SubscriptionId, $ResourceGroupName, $DeploymentName
+ $deploymentHeaders = @{ "Authorization" = "Bearer "+ $Token }
+ $deploymentContentType = "application/json"
+
+ $deploymentResponse = Invoke-RestMethod -Method Get -Uri $deploymentUri -Headers $deploymentHeaders -ContentType $deploymentContentType
+
+ return $deploymentResponse.properties.provisioningState
+}
+
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/GlobalVariables.psm1 b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/GlobalVariables.psm1
new file mode 100644
index 000000000000..78262b87ce62
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/GlobalVariables.psm1
@@ -0,0 +1,19 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+$Global:AzureStackConfig = $null
+$Global:CreatedSubscriptions = @()
+$Global:CreatedResourceGroups = @()
+
+Export-ModuleMember -Variable * -Function *
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/Utilities.psm1 b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/Utilities.psm1
new file mode 100644
index 000000000000..368d16140478
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/Utilities.psm1
@@ -0,0 +1,114 @@
+# ----------------------------------------------------------------------------------
+#
+# Copyright Microsoft Corporation
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ----------------------------------------------------------------------------------
+
+<#
+.SYNOPSIS
+ All the test methods are executed through this cmdlet. The test common methods are tracking the created resource groups and subscriptions
+#>
+function Start-Test
+{
+ param(
+ [ScriptBlock] $Test
+ )
+
+ Write-Verbose "=================================================================="
+ Write-Verbose "Starting Test- $Test"
+ Write-Verbose "=================================================================="
+
+ try
+ {
+ $Global:CreatedResourceGroups.Clear()
+ $Global:CreatedSubscriptions.Clear()
+ $exceptionRaised = $false
+ $startDateTime = Get-Date
+
+ & $Test
+ Write-Verbose "=================================================================="
+ Write-Verbose "Test Passed - $Test"
+ Write-Verbose "=================================================================="
+ }
+ catch
+ {
+ Write-Verbose "=================================================================="
+ Write-Verbose "Test Failed - $Test"
+ Write-Verbose "=================================================================="
+
+ Write-Verbose "Exception info:" -Verbose
+ $_
+ Write-Verbose "InnerException info:" -Verbose
+ $_.Exception.InnerException
+ Write-Verbose "Exception stacktrace:" -Verbose
+ $_.Exception.Stacktrace
+ $exceptionRaised = $true
+ throw $_
+ }
+ finally
+ {
+ # Try cleaning up the created resources in case of error
+ # The test is expected to do the normal cleanup as part the test
+ # The following is a best effort to clean up the resources in case of an error in the middle of the test
+ if ($exceptionRaised)
+ {
+ Write-Verbose "Starting cleanup of created resources"
+ # cleaning up tenant resource groups with resources
+ $Global:CreatedResourceGroups | where {$_.Level -eq 1} | % {
+ try { Remove-ResourceGroup -ResourceGroupName $_.ResourceGroupName -SubscriptionId $_.SubscriptionId -Token $_.Token}
+ catch {}
+ }
+
+ # cleaning up subscriptions
+ for ( $i=$Global:CreatedSubscriptions.Count -1; $i -ge 0; $i--)
+ {
+ try { Remove-Subscription $Global:CreatedSubscriptions[$i].SubscriptionId}
+ catch {}
+ }
+
+ # cleaning up admin resource groups with subscriptions
+ $Global:CreatedResourceGroups | where {$_.Level -eq 0} | % {
+ try { Remove-ResourceGroup -ResourceGroupName $_.ResourceGroupName -SubscriptionId $_.SubscriptionId -Token $_.Token}
+ catch {}
+ }
+ Write-Verbose "Done with the cleanup of resources"
+ }
+
+ $elapsed = (Get-Date) - $startDateTime
+ Write-Verbose "Test Run Time MM:SS - $($elapsed.Minutes)m : $($elapsed.Seconds)s"
+
+ $Global:CreatedSubscriptions.Clear()
+ $Global:CreatedResourceGroups.Clear()
+ }
+}
+
+<#
+.SYNOPSIS
+Sets Certificate policy to trust all the certificates. This avoids passing -DisableCertValidataion for each cmdlet call when using self signed certificates
+#>
+function Ignore-SelfSignedCert
+{
+
+add-type @"
+ using System.Net;
+ using System.Security.Cryptography.X509Certificates;
+ public class TrustAllCertsPolicy : ICertificatePolicy {
+ public bool CheckValidationResult(
+ ServicePoint srvPoint, X509Certificate certificate,
+ WebRequest request, int certificateProblem) {
+ return true;
+ }
+ }
+"@
+ [System.Net.ServicePointManager]::CertificatePolicy = New-Object TrustAllCertsPolicy
+
+ Write-Warning -Message "CertificatePolicy set to ignore all server certificate errors"
+}
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/packages.config b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/packages.config
new file mode 100644
index 000000000000..aef7658d8cca
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Common/packages.config
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Microsoft.SimpleVMTemplate.1.0.0.azpkg b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Microsoft.SimpleVMTemplate.1.0.0.azpkg
new file mode 100644
index 000000000000..aee3b7713365
Binary files /dev/null and b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Microsoft.SimpleVMTemplate.1.0.0.azpkg differ
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..de346e8176c5
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/Properties/AssemblyInfo.cs
@@ -0,0 +1,32 @@
+// ----------------------------------------------------------------------------------
+//
+// Copyright Microsoft Corporation
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// ----------------------------------------------------------------------------------
+
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Microsoft.AzureStack.Commands.Admin.Test")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Microsoft.AzureStack.Commands.Admin.Test")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+
+[assembly: Guid("CAB9FD4D-EFD0-4455-9980-D66F1997FC9A")]
+
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestAddDelegatedOffer.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestAddDelegatedOffer.json
new file mode 100644
index 000000000000..f0b6731b4fbb
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestAddDelegatedOffer.json
@@ -0,0 +1,3113 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1163"
+ ],
+ "x-ms-request-id": [
+ "2887b930-2cb7-4a05-8e00-7077a4909cfb"
+ ],
+ "x-ms-correlation-request-id": [
+ "2887b930-2cb7-4a05-8e00-7077a4909cfb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223913Z:2887b930-2cb7-4a05-8e00-7077a4909cfb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1161"
+ ],
+ "x-ms-request-id": [
+ "7a4a1edb-e612-419f-bb24-45e95e85f06a"
+ ],
+ "x-ms-correlation-request-id": [
+ "7a4a1edb-e612-419f-bb24-45e95e85f06a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223915Z:7a4a1edb-e612-419f-bb24-45e95e85f06a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1162"
+ ],
+ "x-ms-request-id": [
+ "4c31a30b-509f-4749-97b5-e10584a8c027"
+ ],
+ "x-ms-correlation-request-id": [
+ "4c31a30b-509f-4749-97b5-e10584a8c027"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223913Z:4c31a30b-509f-4749-97b5-e10584a8c027"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1160"
+ ],
+ "x-ms-request-id": [
+ "62d4b8d6-e710-4c5d-98c6-386aa485efcf"
+ ],
+ "x-ms-correlation-request-id": [
+ "62d4b8d6-e710-4c5d-98c6-386aa485efcf"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223915Z:62d4b8d6-e710-4c5d-98c6-386aa485efcf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12708"
+ ],
+ "x-ms-request-id": [
+ "1b9e0ca2-8b32-494e-ab92-7d25b842bdcf"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b9e0ca2-8b32-494e-ab92-7d25b842bdcf"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223915Z:1b9e0ca2-8b32-494e-ab92-7d25b842bdcf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12707"
+ ],
+ "x-ms-request-id": [
+ "e70885c2-ce6c-425c-9c42-c62a6a321404"
+ ],
+ "x-ms-correlation-request-id": [
+ "e70885c2-ce6c-425c-9c42-c62a6a321404"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223916Z:e70885c2-ce6c-425c-9c42-c62a6a321404"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:15 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12671"
+ ],
+ "x-ms-request-id": [
+ "c147f265-e9d3-4bd7-a7d2-6a1873e351d2"
+ ],
+ "x-ms-correlation-request-id": [
+ "c147f265-e9d3-4bd7-a7d2-6a1873e351d2"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223937Z:c147f265-e9d3-4bd7-a7d2-6a1873e351d2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:36 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG\",\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1177"
+ ],
+ "x-ms-request-id": [
+ "ea342eaf-dd86-40ac-9958-885c507ca0e1"
+ ],
+ "x-ms-correlation-request-id": [
+ "ea342eaf-dd86-40ac-9958-885c507ca0e1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223916Z:ea342eaf-dd86-40ac-9958-885c507ca0e1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:15 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "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": [
+ "12706"
+ ],
+ "x-ms-request-id": [
+ "e717bee9-5d5b-403b-9878-89b8dd26ad20"
+ ],
+ "x-ms-correlation-request-id": [
+ "e717bee9-5d5b-403b-9878-89b8dd26ad20"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223916Z:e717bee9-5d5b-403b-9878-89b8dd26ad20"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG\",\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1176"
+ ],
+ "x-ms-request-id": [
+ "31ee3237-ab3c-44f8-9dc0-e5936908a743"
+ ],
+ "x-ms-correlation-request-id": [
+ "31ee3237-ab3c-44f8-9dc0-e5936908a743"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223916Z:31ee3237-ab3c-44f8-9dc0-e5936908a743"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG\",\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1172"
+ ],
+ "x-ms-request-id": [
+ "4027176f-39fb-428e-979b-5cac6212bfab"
+ ],
+ "x-ms-correlation-request-id": [
+ "4027176f-39fb-428e-979b-5cac6212bfab"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223919Z:4027176f-39fb-428e-979b-5cac6212bfab"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:19 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG\",\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1169"
+ ],
+ "x-ms-request-id": [
+ "33a2d5a3-1415-495d-b43e-9fa747a32c6c"
+ ],
+ "x-ms-correlation-request-id": [
+ "33a2d5a3-1415-495d-b43e-9fa747a32c6c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223921Z:33a2d5a3-1415-495d-b43e-9fa747a32c6c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:21 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG\",\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1165"
+ ],
+ "x-ms-request-id": [
+ "032b1f57-6f37-41c9-857a-5556afdac97c"
+ ],
+ "x-ms-correlation-request-id": [
+ "032b1f57-6f37-41c9-857a-5556afdac97c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223925Z:032b1f57-6f37-41c9-857a-5556afdac97c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:25 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG\",\r\n \"name\": \"TestAddDelegatedRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1161"
+ ],
+ "x-ms-request-id": [
+ "980a1797-c18e-4ddf-a5c3-a264078fc7cf"
+ ],
+ "x-ms-correlation-request-id": [
+ "980a1797-c18e-4ddf-a5c3-a264078fc7cf"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223931Z:980a1797-c18e-4ddf-a5c3-a264078fc7cf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:31 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12705"
+ ],
+ "x-ms-request-id": [
+ "cdd33cdc-a4b2-496b-8c33-403cdf03147d"
+ ],
+ "x-ms-correlation-request-id": [
+ "cdd33cdc-a4b2-496b-8c33-403cdf03147d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223916Z:cdd33cdc-a4b2-496b-8c33-403cdf03147d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "647"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12690"
+ ],
+ "x-ms-request-id": [
+ "0c3fae86-bf28-4acb-842f-c94307e34a2b"
+ ],
+ "x-ms-correlation-request-id": [
+ "0c3fae86-bf28-4acb-842f-c94307e34a2b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223921Z:0c3fae86-bf28-4acb-842f-c94307e34a2b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:21 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1358"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12683"
+ ],
+ "x-ms-request-id": [
+ "081926f1-daf7-4bd6-9518-8456b25a7a2c"
+ ],
+ "x-ms-correlation-request-id": [
+ "081926f1-daf7-4bd6-9518-8456b25a7a2c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223925Z:081926f1-daf7-4bd6-9518-8456b25a7a2c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:25 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzQWRkRGVsZWdhdGVkUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "265"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "435"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1175"
+ ],
+ "x-ms-request-id": [
+ "f8b60ec4-b790-47cd-a187-0fb799aa8212"
+ ],
+ "x-ms-correlation-request-id": [
+ "f8b60ec4-b790-47cd-a187-0fb799aa8212"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223917Z:f8b60ec4-b790-47cd-a187-0fb799aa8212"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:16 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzQWRkRGVsZWdhdGVkUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1065"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1174"
+ ],
+ "x-ms-request-id": [
+ "cd49d2e4-6109-45e0-94b1-72d085d0dad0"
+ ],
+ "x-ms-correlation-request-id": [
+ "cd49d2e4-6109-45e0-94b1-72d085d0dad0"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223918Z:cd49d2e4-6109-45e0-94b1-72d085d0dad0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:18 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzQWRkRGVsZWdhdGVkUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1064"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "771"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1173"
+ ],
+ "x-ms-request-id": [
+ "36dd6549-5af2-4026-a6fc-87ee4c00e12c"
+ ],
+ "x-ms-correlation-request-id": [
+ "36dd6549-5af2-4026-a6fc-87ee4c00e12c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223919Z:36dd6549-5af2-4026-a6fc-87ee4c00e12c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:19 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12700"
+ ],
+ "x-ms-request-id": [
+ "7cbb81ae-c464-441a-956e-149691851908"
+ ],
+ "x-ms-correlation-request-id": [
+ "7cbb81ae-c464-441a-956e-149691851908"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223917Z:7cbb81ae-c464-441a-956e-149691851908"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12689"
+ ],
+ "x-ms-request-id": [
+ "4c1c5343-1333-437e-9316-072de7fc5611"
+ ],
+ "x-ms-correlation-request-id": [
+ "4c1c5343-1333-437e-9316-072de7fc5611"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223922Z:4c1c5343-1333-437e-9316-072de7fc5611"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12682"
+ ],
+ "x-ms-request-id": [
+ "801ae084-2c1d-4597-81bf-de9af38c0586"
+ ],
+ "x-ms-correlation-request-id": [
+ "801ae084-2c1d-4597-81bf-de9af38c0586"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223928Z:801ae084-2c1d-4597-81bf-de9af38c0586"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzQWRkRGVsZWdhdGVkUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12697"
+ ],
+ "x-ms-request-id": [
+ "c01753ff-e61d-4cc7-a908-ed04769d081c"
+ ],
+ "x-ms-correlation-request-id": [
+ "c01753ff-e61d-4cc7-a908-ed04769d081c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223918Z:c01753ff-e61d-4cc7-a908-ed04769d081c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:18 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzQWRkRGVsZWdhdGVkUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan\",\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12696"
+ ],
+ "x-ms-request-id": [
+ "10bd66eb-2cc9-4099-9ef1-f92d74439c53"
+ ],
+ "x-ms-correlation-request-id": [
+ "10bd66eb-2cc9-4099-9ef1-f92d74439c53"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223919Z:10bd66eb-2cc9-4099-9ef1-f92d74439c53"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:18 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzQWRkRGVsZWdhdGVkUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TesAddDelegatedPlan' under resource group 'TestAddDelegatedRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "171"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "9b6318f6-fce6-4d90-9608-18b7a3b8c90e"
+ ],
+ "x-ms-correlation-request-id": [
+ "9b6318f6-fce6-4d90-9608-18b7a3b8c90e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223936Z:9b6318f6-fce6-4d90-9608-18b7a3b8c90e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:35 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzP2FwaS12ZXJzaW9uPTEuMCZpbmNsdWRlRGV0YWlscz1mYWxzZQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12694"
+ ],
+ "x-ms-request-id": [
+ "c04167f6-d38c-4f9e-a382-db256e3e7847"
+ ],
+ "x-ms-correlation-request-id": [
+ "c04167f6-d38c-4f9e-a382-db256e3e7847"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223920Z:c04167f6-d38c-4f9e-a382-db256e3e7847"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:19 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzP2FwaS12ZXJzaW9uPTEuMCZpbmNsdWRlRGV0YWlscz1mYWxzZQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer\",\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"displayName\": \"TestAddDelegatedOffer\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "824"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12679"
+ ],
+ "x-ms-request-id": [
+ "1decf1aa-9ec3-45ee-a1ec-dc1da9726f9f"
+ ],
+ "x-ms-correlation-request-id": [
+ "1decf1aa-9ec3-45ee-a1ec-dc1da9726f9f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223931Z:1decf1aa-9ec3-45ee-a1ec-dc1da9726f9f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:31 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"displayName\": \"TestAddDelegatedOffer\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1154"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer\",\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"displayName\": \"TestAddDelegatedOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "949"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1171"
+ ],
+ "x-ms-request-id": [
+ "21d87a7d-1c77-4a64-9018-1280cb839517"
+ ],
+ "x-ms-correlation-request-id": [
+ "21d87a7d-1c77-4a64-9018-1280cb839517"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223920Z:21d87a7d-1c77-4a64-9018-1280cb839517"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:19 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"displayName\": \"TestAddDelegatedOffer\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer\",\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1426"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer\",\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"displayName\": \"TestAddDelegatedOffer\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "948"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1170"
+ ],
+ "x-ms-request-id": [
+ "f36a123f-54cc-4f9b-b77c-903f25c395e5"
+ ],
+ "x-ms-correlation-request-id": [
+ "f36a123f-54cc-4f9b-b77c-903f25c395e5"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223921Z:f36a123f-54cc-4f9b-b77c-903f25c395e5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:20 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer\",\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedOffer\",\r\n \"displayName\": \"TestAddDelegatedOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesAddDelegatedPlan\",\r\n \"displayName\": \"TesAddDelegatedPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesAddDelegatedPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "949"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12692"
+ ],
+ "x-ms-request-id": [
+ "45e43ddc-c29a-4afa-a668-45b7a1fc42cb"
+ ],
+ "x-ms-correlation-request-id": [
+ "45e43ddc-c29a-4afa-a668-45b7a1fc42cb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223920Z:45e43ddc-c29a-4afa-a668-45b7a1fc42cb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:20 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/offers/TestAddDelegatedOffer' under resource group 'TestAddDelegatedRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "174"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "3e079d4f-8529-45bb-ae52-bdcbef0fb05b"
+ ],
+ "x-ms-correlation-request-id": [
+ "3e079d4f-8529-45bb-ae52-bdcbef0fb05b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223935Z:3e079d4f-8529-45bb-ae52-bdcbef0fb05b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:35 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "292"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "471"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1168"
+ ],
+ "x-ms-request-id": [
+ "9e1721c0-efe9-412e-b773-6cb9a8f5de81"
+ ],
+ "x-ms-correlation-request-id": [
+ "9e1721c0-efe9-412e-b773-6cb9a8f5de81"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223922Z:9e1721c0-efe9-412e-b773-6cb9a8f5de81"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:21 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1251"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "949"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1167"
+ ],
+ "x-ms-request-id": [
+ "3892d673-6b20-47ec-b373-572fa3e7cf9d"
+ ],
+ "x-ms-correlation-request-id": [
+ "3892d673-6b20-47ec-b373-572fa3e7cf9d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223923Z:3892d673-6b20-47ec-b373-572fa3e7cf9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1263"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "948"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1166"
+ ],
+ "x-ms-request-id": [
+ "2d16b92d-ce5d-4e44-9c64-fbc487f42fc0"
+ ],
+ "x-ms-correlation-request-id": [
+ "2d16b92d-ce5d-4e44-9c64-fbc487f42fc0"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223924Z:2d16b92d-ce5d-4e44-9c64-fbc487f42fc0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:23 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n },\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedSqlOffer\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1405"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n },\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedSqlOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1020"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1158"
+ ],
+ "x-ms-request-id": [
+ "1b788717-14ad-4e70-a253-8dd32fb8778d"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b788717-14ad-4e70-a253-8dd32fb8778d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223933Z:1b788717-14ad-4e70-a253-8dd32fb8778d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:32 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "949"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12687"
+ ],
+ "x-ms-request-id": [
+ "3ba0be75-2315-4df4-9d35-ea70fc46432a"
+ ],
+ "x-ms-correlation-request-id": [
+ "3ba0be75-2315-4df4-9d35-ea70fc46432a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223923Z:3ba0be75-2315-4df4-9d35-ea70fc46432a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "949"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12685"
+ ],
+ "x-ms-request-id": [
+ "70b112c4-7f5d-4afe-8e86-7fbef4e78b9d"
+ ],
+ "x-ms-correlation-request-id": [
+ "70b112c4-7f5d-4afe-8e86-7fbef4e78b9d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223923Z:70b112c4-7f5d-4afe-8e86-7fbef4e78b9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:23 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "948"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12684"
+ ],
+ "x-ms-request-id": [
+ "902aad07-8dd3-4a03-aed7-3af7fed00d24"
+ ],
+ "x-ms-correlation-request-id": [
+ "902aad07-8dd3-4a03-aed7-3af7fed00d24"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223924Z:902aad07-8dd3-4a03-aed7-3af7fed00d24"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:23 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller\",\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedPlanReseller\",\r\n \"displayName\": \"TestAddDelegatedPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedOffer\"\r\n },\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestAddDelegatedSqlOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestAddDelegatedPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1020"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12677"
+ ],
+ "x-ms-request-id": [
+ "8b8f9815-bc9b-4519-a58b-9e33c16b25d8"
+ ],
+ "x-ms-correlation-request-id": [
+ "8b8f9815-bc9b-4519-a58b-9e33c16b25d8"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223933Z:8b8f9815-bc9b-4519-a58b-9e33c16b25d8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:33 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller' under resource group 'TestAddDelegatedRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "180"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "e8111959-46b1-4d9b-93f3-39604314a562"
+ ],
+ "x-ms-correlation-request-id": [
+ "e8111959-46b1-4d9b-93f3-39604314a562"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223937Z:e8111959-46b1-4d9b-93f3-39604314a562"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:36 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFNxbFBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "277"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan\",\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "451"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1164"
+ ],
+ "x-ms-request-id": [
+ "211bc8f1-a12e-4cb6-a6d7-f600b5c0fab1"
+ ],
+ "x-ms-correlation-request-id": [
+ "211bc8f1-a12e-4cb6-a6d7-f600b5c0fab1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223925Z:211bc8f1-a12e-4cb6-a6d7-f600b5c0fab1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:25 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFNxbFBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan\",\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1081"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan\",\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestAddDelegatedSqlPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "792"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1163"
+ ],
+ "x-ms-request-id": [
+ "467d682d-a211-4626-a414-3e14c3b37e48"
+ ],
+ "x-ms-correlation-request-id": [
+ "467d682d-a211-4626-a414-3e14c3b37e48"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223929Z:467d682d-a211-4626-a414-3e14c3b37e48"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFNxbFBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan\",\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1080"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan\",\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestAddDelegatedSqlPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "791"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1162"
+ ],
+ "x-ms-request-id": [
+ "afc699a6-7b65-46fd-a732-adda09fd2244"
+ ],
+ "x-ms-correlation-request-id": [
+ "afc699a6-7b65-46fd-a732-adda09fd2244"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223930Z:afc699a6-7b65-46fd-a732-adda09fd2244"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFNxbFBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan\",\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestAddDelegatedSqlPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "792"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12681"
+ ],
+ "x-ms-request-id": [
+ "d8c0b1e5-4b91-4791-9f72-7b1f18be56de"
+ ],
+ "x-ms-correlation-request-id": [
+ "d8c0b1e5-4b91-4791-9f72-7b1f18be56de"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223929Z:d8c0b1e5-4b91-4791-9f72-7b1f18be56de"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFNxbFBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan\",\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestAddDelegatedSqlPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "792"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12680"
+ ],
+ "x-ms-request-id": [
+ "abc3b08c-9016-405b-9bd6-1ec652beb59a"
+ ],
+ "x-ms-correlation-request-id": [
+ "abc3b08c-9016-405b-9bd6-1ec652beb59a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223929Z:abc3b08c-9016-405b-9bd6-1ec652beb59a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFNxbFBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan' under resource group 'TestAddDelegatedRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "175"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "1c04f272-e618-4c6c-9a3f-ad7e96896ae2"
+ ],
+ "x-ms-correlation-request-id": [
+ "1c04f272-e618-4c6c-9a3f-ad7e96896ae2"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223935Z:1c04f272-e618-4c6c-9a3f-ad7e96896ae2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:34 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRTcWxPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"displayName\": \"TestAddDelegatedSqlOffer\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1171"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer\",\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"displayName\": \"TestAddDelegatedSqlOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestAddDelegatedSqlPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "973"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1160"
+ ],
+ "x-ms-request-id": [
+ "3ba17137-de96-488f-8248-fec24a47a401"
+ ],
+ "x-ms-correlation-request-id": [
+ "3ba17137-de96-488f-8248-fec24a47a401"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223931Z:3ba17137-de96-488f-8248-fec24a47a401"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:31 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRTcWxPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"displayName\": \"TestAddDelegatedSqlOffer\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer\",\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1446"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer\",\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"displayName\": \"TestAddDelegatedSqlOffer\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestAddDelegatedSqlPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "972"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1159"
+ ],
+ "x-ms-request-id": [
+ "73b1de25-dd47-469b-9c71-ac6b0212a10d"
+ ],
+ "x-ms-correlation-request-id": [
+ "73b1de25-dd47-469b-9c71-ac6b0212a10d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223932Z:73b1de25-dd47-469b-9c71-ac6b0212a10d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:32 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRTcWxPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer\",\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestAddDelegatedSqlOffer\",\r\n \"displayName\": \"TestAddDelegatedSqlOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestAddDelegatedSqlPlan\",\r\n \"displayName\": \"TestAddDelegatedSqlPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestAddDelegatedSqlPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "973"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12678"
+ ],
+ "x-ms-request-id": [
+ "4d068bde-037f-480f-8bb4-73b21683d725"
+ ],
+ "x-ms-correlation-request-id": [
+ "4d068bde-037f-480f-8bb4-73b21683d725"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223932Z:4d068bde-037f-480f-8bb4-73b21683d725"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:31 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRTcWxPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer' under resource group 'TestAddDelegatedRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "177"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "9a4cbfe6-242b-42f3-8214-283d28d79b8a"
+ ],
+ "x-ms-correlation-request-id": [
+ "9a4cbfe6-242b-42f3-8214-283d28d79b8a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223934Z:9a4cbfe6-242b-42f3-8214-283d28d79b8a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:34 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedSqlOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRTcWxPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1157"
+ ],
+ "x-ms-request-id": [
+ "48a53cd0-4faf-436d-b959-30d47d6e813d"
+ ],
+ "x-ms-correlation-request-id": [
+ "48a53cd0-4faf-436d-b959-30d47d6e813d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223934Z:48a53cd0-4faf-436d-b959-30d47d6e813d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:33 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedSqlPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFNxbFBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1156"
+ ],
+ "x-ms-request-id": [
+ "1071fcad-81c0-48a3-8de5-4359884093e0"
+ ],
+ "x-ms-correlation-request-id": [
+ "1071fcad-81c0-48a3-8de5-4359884093e0"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223934Z:1071fcad-81c0-48a3-8de5-4359884093e0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:34 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/offers/TestAddDelegatedOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RBZGREZWxlZ2F0ZWRPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1155"
+ ],
+ "x-ms-request-id": [
+ "0661affb-7171-4735-b6d2-741144ef0885"
+ ],
+ "x-ms-correlation-request-id": [
+ "0661affb-7171-4735-b6d2-741144ef0885"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223935Z:0661affb-7171-4735-b6d2-741144ef0885"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:34 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TesAddDelegatedPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzQWRkRGVsZWdhdGVkUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1154"
+ ],
+ "x-ms-request-id": [
+ "286d6141-aacd-48a7-8e29-37a11f36ab8e"
+ ],
+ "x-ms-correlation-request-id": [
+ "286d6141-aacd-48a7-8e29-37a11f36ab8e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223936Z:286d6141-aacd-48a7-8e29-37a11f36ab8e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:35 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG/providers/Microsoft.Subscriptions/plans/TestAddDelegatedPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdEFkZERlbGVnYXRlZFBsYW5SZXNlbGxlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1153"
+ ],
+ "x-ms-request-id": [
+ "efdf51b4-89c0-48ba-96d6-3c7bec333592"
+ ],
+ "x-ms-correlation-request-id": [
+ "efdf51b4-89c0-48ba-96d6-3c7bec333592"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223937Z:efdf51b4-89c0-48ba-96d6-3c7bec333592"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:36 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "1152"
+ ],
+ "x-ms-request-id": [
+ "b8817f6f-7b45-4531-aad9-f5d0066fd982"
+ ],
+ "x-ms-correlation-request-id": [
+ "b8817f6f-7b45-4531-aad9-f5d0066fd982"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223937Z:b8817f6f-7b45-4531-aad9-f5d0066fd982"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:36 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVFVUkVSRVZNUlVkQlZFVkVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "12670"
+ ],
+ "x-ms-request-id": [
+ "d421287b-e5b2-426d-b0af-2e38f2eb80c4"
+ ],
+ "x-ms-correlation-request-id": [
+ "d421287b-e5b2-426d-b0af-2e38f2eb80c4"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223937Z:d421287b-e5b2-426d-b0af-2e38f2eb80c4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:36 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVFVUkVSRVZNUlVkQlZFVkVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "12665"
+ ],
+ "x-ms-request-id": [
+ "42315ee5-5f88-483b-8694-1f9d4da2d9cd"
+ ],
+ "x-ms-correlation-request-id": [
+ "42315ee5-5f88-483b-8694-1f9d4da2d9cd"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223953Z:42315ee5-5f88-483b-8694-1f9d4da2d9cd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:39:52 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVFVUkVSRVZNUlVkQlZFVkVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "12838"
+ ],
+ "x-ms-request-id": [
+ "d75d70cb-0acc-442c-91dd-1830201c8aa5"
+ ],
+ "x-ms-correlation-request-id": [
+ "d75d70cb-0acc-442c-91dd-1830201c8aa5"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T224008Z:d75d70cb-0acc-442c-91dd-1830201c8aa5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:40:07 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUQUREREVMRUdBVEVEUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVFVUkVSRVZNUlVkQlZFVkVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "12814"
+ ],
+ "x-ms-request-id": [
+ "8febe1e0-816f-4302-84ca-e9ec03c06270"
+ ],
+ "x-ms-correlation-request-id": [
+ "8febe1e0-816f-4302-84ca-e9ec03c06270"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T224023Z:8febe1e0-816f-4302-84ca-e9ec03c06270"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:40:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestAddDelegatedRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RBZGREZWxlZ2F0ZWRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'TestAddDelegatedRG' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12813"
+ ],
+ "x-ms-request-id": [
+ "ae0dcd81-c841-4eb4-b0ef-67fc30f6a2c4"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae0dcd81-c841-4eb4-b0ef-67fc30f6a2c4"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T224023Z:ae0dcd81-c841-4eb4-b0ef-67fc30f6a2c4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:40:22 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestDelegatedOffer.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestDelegatedOffer.json
new file mode 100644
index 000000000000..acc768330141
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestDelegatedOffer.json
@@ -0,0 +1,2558 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1193"
+ ],
+ "x-ms-request-id": [
+ "36cde803-8d9a-4ba1-9fa7-f4871a1765ac"
+ ],
+ "x-ms-correlation-request-id": [
+ "36cde803-8d9a-4ba1-9fa7-f4871a1765ac"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222928Z:36cde803-8d9a-4ba1-9fa7-f4871a1765ac"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1191"
+ ],
+ "x-ms-request-id": [
+ "1b0b287b-b7f4-4bb4-894f-afc0bc4ec81c"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b0b287b-b7f4-4bb4-894f-afc0bc4ec81c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222929Z:1b0b287b-b7f4-4bb4-894f-afc0bc4ec81c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1192"
+ ],
+ "x-ms-request-id": [
+ "27424d55-a0ab-4019-9fd6-927d4ef48589"
+ ],
+ "x-ms-correlation-request-id": [
+ "27424d55-a0ab-4019-9fd6-927d4ef48589"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222928Z:27424d55-a0ab-4019-9fd6-927d4ef48589"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "61e0eeef-ba4d-4718-8954-901b0532c866"
+ ],
+ "x-ms-correlation-request-id": [
+ "61e0eeef-ba4d-4718-8954-901b0532c866"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222929Z:61e0eeef-ba4d-4718-8954-901b0532c866"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:28 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12753"
+ ],
+ "x-ms-request-id": [
+ "0b6b3ef4-dc99-4726-92d3-2d0cd2ee7134"
+ ],
+ "x-ms-correlation-request-id": [
+ "0b6b3ef4-dc99-4726-92d3-2d0cd2ee7134"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222929Z:0b6b3ef4-dc99-4726-92d3-2d0cd2ee7134"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "112"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12752"
+ ],
+ "x-ms-request-id": [
+ "f0d72179-61c4-4448-b292-a02bc8d2ddfb"
+ ],
+ "x-ms-correlation-request-id": [
+ "f0d72179-61c4-4448-b292-a02bc8d2ddfb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222930Z:f0d72179-61c4-4448-b292-a02bc8d2ddfb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:29 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12730"
+ ],
+ "x-ms-request-id": [
+ "250393db-c8db-46e5-9a2a-a43e34bcc1d3"
+ ],
+ "x-ms-correlation-request-id": [
+ "250393db-c8db-46e5-9a2a-a43e34bcc1d3"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222946Z:250393db-c8db-46e5-9a2a-a43e34bcc1d3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:46 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG\",\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "194"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "f2bc964b-e79f-4112-9e39-1642473eb77f"
+ ],
+ "x-ms-correlation-request-id": [
+ "f2bc964b-e79f-4112-9e39-1642473eb77f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222930Z:f2bc964b-e79f-4112-9e39-1642473eb77f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:29 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Jlc291cmNlcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12751"
+ ],
+ "x-ms-request-id": [
+ "e1803928-9872-4725-b5fe-bf4959cacb74"
+ ],
+ "x-ms-correlation-request-id": [
+ "e1803928-9872-4725-b5fe-bf4959cacb74"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222930Z:e1803928-9872-4725-b5fe-bf4959cacb74"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "64"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG\",\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "194"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "78499a77-a1f0-47f8-941a-c5e3b59c2910"
+ ],
+ "x-ms-correlation-request-id": [
+ "78499a77-a1f0-47f8-941a-c5e3b59c2910"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222930Z:78499a77-a1f0-47f8-941a-c5e3b59c2910"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:30 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "64"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG\",\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "194"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1194"
+ ],
+ "x-ms-request-id": [
+ "ae1f42da-0e9b-421e-a3db-dde13cd733f3"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae1f42da-0e9b-421e-a3db-dde13cd733f3"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222935Z:ae1f42da-0e9b-421e-a3db-dde13cd733f3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:34 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "64"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG\",\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "194"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1191"
+ ],
+ "x-ms-request-id": [
+ "41b2ebe6-1c56-42ce-8545-76694dc2ce30"
+ ],
+ "x-ms-correlation-request-id": [
+ "41b2ebe6-1c56-42ce-8545-76694dc2ce30"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222936Z:41b2ebe6-1c56-42ce-8545-76694dc2ce30"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:35 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "64"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG\",\r\n \"name\": \"TestDelegatedOfferRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "194"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1187"
+ ],
+ "x-ms-request-id": [
+ "74252dc1-d292-4c43-bc23-cdf47691d36d"
+ ],
+ "x-ms-correlation-request-id": [
+ "74252dc1-d292-4c43-bc23-cdf47691d36d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222940Z:74252dc1-d292-4c43-bc23-cdf47691d36d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:40 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucz9hcGktdmVyc2lvbj0xLjAmaW5jbHVkZURldGFpbHM9ZmFsc2U=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12750"
+ ],
+ "x-ms-request-id": [
+ "0af8d1e1-7471-4b42-8b10-69e0d708c38b"
+ ],
+ "x-ms-correlation-request-id": [
+ "0af8d1e1-7471-4b42-8b10-69e0d708c38b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222931Z:0af8d1e1-7471-4b42-8b10-69e0d708c38b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:30 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucz9hcGktdmVyc2lvbj0xLjAmaW5jbHVkZURldGFpbHM9ZmFsc2U=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "869"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12743"
+ ],
+ "x-ms-request-id": [
+ "9864d1d4-fa21-4b50-923d-ea616eb4b4b2"
+ ],
+ "x-ms-correlation-request-id": [
+ "9864d1d4-fa21-4b50-923d-ea616eb4b4b2"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222936Z:9864d1d4-fa21-4b50-923d-ea616eb4b4b2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:36 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0UGxhbkRlbGVnYXRlZD9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestPlanDelegated\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "259"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "429"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "46631927-88ef-46f7-841b-159eece9d18e"
+ ],
+ "x-ms-correlation-request-id": [
+ "46631927-88ef-46f7-841b-159eece9d18e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222931Z:46631927-88ef-46f7-841b-159eece9d18e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:30 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0UGxhbkRlbGVnYXRlZD9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1587"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1164"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "8be6e6c9-4583-4afb-88d9-56a8570d4ea1"
+ ],
+ "x-ms-correlation-request-id": [
+ "8be6e6c9-4583-4afb-88d9-56a8570d4ea1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222933Z:8be6e6c9-4583-4afb-88d9-56a8570d4ea1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:33 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0UGxhbkRlbGVnYXRlZD9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1599"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1163"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1195"
+ ],
+ "x-ms-request-id": [
+ "5a730a10-e62b-4fff-841f-ca0ae1bb2f9a"
+ ],
+ "x-ms-correlation-request-id": [
+ "5a730a10-e62b-4fff-841f-ca0ae1bb2f9a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222934Z:5a730a10-e62b-4fff-841f-ca0ae1bb2f9a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:34 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12749"
+ ],
+ "x-ms-request-id": [
+ "ccf3ba97-8a19-464f-ac50-f26579c2880f"
+ ],
+ "x-ms-correlation-request-id": [
+ "ccf3ba97-8a19-464f-ac50-f26579c2880f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222932Z:ccf3ba97-8a19-464f-ac50-f26579c2880f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:32 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12748"
+ ],
+ "x-ms-request-id": [
+ "586ea0d0-af93-4f25-bc5f-8a1f4c93eca9"
+ ],
+ "x-ms-correlation-request-id": [
+ "586ea0d0-af93-4f25-bc5f-8a1f4c93eca9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222932Z:586ea0d0-af93-4f25-bc5f-8a1f4c93eca9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:32 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12742"
+ ],
+ "x-ms-request-id": [
+ "31a8c161-ae9e-4a56-8a9b-00a53a02867f"
+ ],
+ "x-ms-correlation-request-id": [
+ "31a8c161-ae9e-4a56-8a9b-00a53a02867f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222937Z:31a8c161-ae9e-4a56-8a9b-00a53a02867f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:36 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12741"
+ ],
+ "x-ms-request-id": [
+ "c8ccd6f7-f791-4f10-ad36-b25c7e33e101"
+ ],
+ "x-ms-correlation-request-id": [
+ "c8ccd6f7-f791-4f10-ad36-b25c7e33e101"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222938Z:c8ccd6f7-f791-4f10-ad36-b25c7e33e101"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0UGxhbkRlbGVnYXRlZD9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1164"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12747"
+ ],
+ "x-ms-request-id": [
+ "fd7a58b0-f8d4-4e2d-ae35-09f885361fc6"
+ ],
+ "x-ms-correlation-request-id": [
+ "fd7a58b0-f8d4-4e2d-ae35-09f885361fc6"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222933Z:fd7a58b0-f8d4-4e2d-ae35-09f885361fc6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:33 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0UGxhbkRlbGVnYXRlZD9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated\",\r\n \"name\": \"TestPlanDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1164"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12746"
+ ],
+ "x-ms-request-id": [
+ "de105468-5ea7-4d31-8103-8c98030c781d"
+ ],
+ "x-ms-correlation-request-id": [
+ "de105468-5ea7-4d31-8103-8c98030c781d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222934Z:de105468-5ea7-4d31-8103-8c98030c781d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:33 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0UGxhbkRlbGVnYXRlZD9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestPlanDelegated' under resource group 'TestDelegatedOfferRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "171"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "963d9c53-5510-4329-953d-0812824b6160"
+ ],
+ "x-ms-correlation-request-id": [
+ "963d9c53-5510-4329-953d-0812824b6160"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222944Z:963d9c53-5510-4329-953d-0812824b6160"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:43 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12745"
+ ],
+ "x-ms-request-id": [
+ "07b6d767-0b6b-49f1-bd0d-3697c546e4de"
+ ],
+ "x-ms-correlation-request-id": [
+ "07b6d767-0b6b-49f1-bd0d-3697c546e4de"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222935Z:07b6d767-0b6b-49f1-bd0d-3697c546e4de"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:34 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated\",\r\n \"name\": \"TestOfferDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestOfferDelegated\",\r\n \"displayName\": \"TestOfferDelegated\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1038"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12738"
+ ],
+ "x-ms-request-id": [
+ "2e58032d-3aef-4e76-bce2-e413295e7932"
+ ],
+ "x-ms-correlation-request-id": [
+ "2e58032d-3aef-4e76-bce2-e413295e7932"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222940Z:2e58032d-3aef-4e76-bce2-e413295e7932"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:40 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyRGVsZWdhdGVkP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestOfferDelegated\",\r\n \"displayName\": \"TestOfferDelegated\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"name\": \"TestOfferDelegated\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1742"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated\",\r\n \"name\": \"TestOfferDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestOfferDelegated\",\r\n \"displayName\": \"TestOfferDelegated\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1333"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1193"
+ ],
+ "x-ms-request-id": [
+ "6a546d00-8c2f-4549-897f-68f542785399"
+ ],
+ "x-ms-correlation-request-id": [
+ "6a546d00-8c2f-4549-897f-68f542785399"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222935Z:6a546d00-8c2f-4549-897f-68f542785399"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:34 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyRGVsZWdhdGVkP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestOfferDelegated\",\r\n \"displayName\": \"TestOfferDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated\",\r\n \"name\": \"TestOfferDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "2013"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated\",\r\n \"name\": \"TestOfferDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestOfferDelegated\",\r\n \"displayName\": \"TestOfferDelegated\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1332"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1192"
+ ],
+ "x-ms-request-id": [
+ "af5998a8-cbd9-44ef-9d66-553177218384"
+ ],
+ "x-ms-correlation-request-id": [
+ "af5998a8-cbd9-44ef-9d66-553177218384"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222936Z:af5998a8-cbd9-44ef-9d66-553177218384"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:35 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyRGVsZWdhdGVkP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated\",\r\n \"name\": \"TestOfferDelegated\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestOfferDelegated\",\r\n \"displayName\": \"TestOfferDelegated\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestPlanDelegated\",\r\n \"displayName\": \"TestPlanDelegated\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanDelegated\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1333"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12744"
+ ],
+ "x-ms-request-id": [
+ "f1b82aa5-4d22-4d92-9260-67bc5fe997bc"
+ ],
+ "x-ms-correlation-request-id": [
+ "f1b82aa5-4d22-4d92-9260-67bc5fe997bc"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222935Z:f1b82aa5-4d22-4d92-9260-67bc5fe997bc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:35 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyRGVsZWdhdGVkP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/offers/TestOfferDelegated' under resource group 'TestDelegatedOfferRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "7dd3f3fe-77a6-4b95-aa68-e472fad506d8"
+ ],
+ "x-ms-correlation-request-id": [
+ "7dd3f3fe-77a6-4b95-aa68-e472fad506d8"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222943Z:7dd3f3fe-77a6-4b95-aa68-e472fad506d8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:43 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0VWJlclBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestUberPlan\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "244"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan\",\r\n \"name\": \"TestUberPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "409"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "99155297-7d4e-4b1e-987e-73bcb369e0d2"
+ ],
+ "x-ms-correlation-request-id": [
+ "99155297-7d4e-4b1e-987e-73bcb369e0d2"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222937Z:99155297-7d4e-4b1e-987e-73bcb369e0d2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:36 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0VWJlclBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan\",\r\n \"name\": \"TestUberPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1716"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan\",\r\n \"name\": \"TestUberPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1199"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1189"
+ ],
+ "x-ms-request-id": [
+ "cac69708-95bb-4211-9283-58c6d9e48706"
+ ],
+ "x-ms-correlation-request-id": [
+ "cac69708-95bb-4211-9283-58c6d9e48706"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222938Z:cac69708-95bb-4211-9283-58c6d9e48706"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0VWJlclBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan\",\r\n \"name\": \"TestUberPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1728"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan\",\r\n \"name\": \"TestUberPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1198"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1188"
+ ],
+ "x-ms-request-id": [
+ "8f21df80-57e7-423b-98e2-acdbf4a77533"
+ ],
+ "x-ms-correlation-request-id": [
+ "8f21df80-57e7-423b-98e2-acdbf4a77533"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222939Z:8f21df80-57e7-423b-98e2-acdbf4a77533"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:39 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0VWJlclBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan\",\r\n \"name\": \"TestUberPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1199"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12740"
+ ],
+ "x-ms-request-id": [
+ "b7f76aef-b464-469c-bcb8-b6669c10fbad"
+ ],
+ "x-ms-correlation-request-id": [
+ "b7f76aef-b464-469c-bcb8-b6669c10fbad"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222939Z:b7f76aef-b464-469c-bcb8-b6669c10fbad"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0VWJlclBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan\",\r\n \"name\": \"TestUberPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1199"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12739"
+ ],
+ "x-ms-request-id": [
+ "826e1e52-02d4-4bec-badf-41d7fd146b36"
+ ],
+ "x-ms-correlation-request-id": [
+ "826e1e52-02d4-4bec-badf-41d7fd146b36"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222939Z:826e1e52-02d4-4bec-badf-41d7fd146b36"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:39 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0VWJlclBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestUberPlan' under resource group 'TestDelegatedOfferRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "166"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "b9f52e27-23d9-41c7-9fd6-7f32a28c9f80"
+ ],
+ "x-ms-correlation-request-id": [
+ "b9f52e27-23d9-41c7-9fd6-7f32a28c9f80"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222946Z:b9f52e27-23d9-41c7-9fd6-7f32a28c9f80"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:46 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdFViZXJPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUberOffer\",\r\n \"displayName\": \"TestUberOffer\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"name\": \"TestUberOffer\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1886"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer\",\r\n \"name\": \"TestUberOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberOffer\",\r\n \"displayName\": \"TestUberOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1358"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1186"
+ ],
+ "x-ms-request-id": [
+ "2e17e32f-7233-42c4-ba49-02a79a8e07e1"
+ ],
+ "x-ms-correlation-request-id": [
+ "2e17e32f-7233-42c4-ba49-02a79a8e07e1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222941Z:2e17e32f-7233-42c4-ba49-02a79a8e07e1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:40 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdFViZXJPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUberOffer\",\r\n \"displayName\": \"TestUberOffer\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer\",\r\n \"name\": \"TestUberOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "2152"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer\",\r\n \"name\": \"TestUberOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberOffer\",\r\n \"displayName\": \"TestUberOffer\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1357"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1185"
+ ],
+ "x-ms-request-id": [
+ "e9956383-bc70-48e0-bddb-92cc2531f7fa"
+ ],
+ "x-ms-correlation-request-id": [
+ "e9956383-bc70-48e0-bddb-92cc2531f7fa"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222942Z:e9956383-bc70-48e0-bddb-92cc2531f7fa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:42 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdFViZXJPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer\",\r\n \"name\": \"TestUberOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUberOffer\",\r\n \"displayName\": \"TestUberOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestUberPlan\",\r\n \"displayName\": \"TestUberPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestOfferDelegated\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUberPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1358"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12737"
+ ],
+ "x-ms-request-id": [
+ "c91b9d5e-70c3-4db6-bec6-337b69d8c57d"
+ ],
+ "x-ms-correlation-request-id": [
+ "c91b9d5e-70c3-4db6-bec6-337b69d8c57d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222941Z:c91b9d5e-70c3-4db6-bec6-337b69d8c57d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:40 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdFViZXJPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/offers/TestUberOffer' under resource group 'TestDelegatedOfferRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "168"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "17716d9a-6c98-4517-bf7d-40f153c99d50"
+ ],
+ "x-ms-correlation-request-id": [
+ "17716d9a-6c98-4517-bf7d-40f153c99d50"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222945Z:17716d9a-6c98-4517-bf7d-40f153c99d50"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:45 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestOfferDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyRGVsZWdhdGVkP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1184"
+ ],
+ "x-ms-request-id": [
+ "14fb5b7f-3e65-4ebb-9dc3-0ff90d30b21a"
+ ],
+ "x-ms-correlation-request-id": [
+ "14fb5b7f-3e65-4ebb-9dc3-0ff90d30b21a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222942Z:14fb5b7f-3e65-4ebb-9dc3-0ff90d30b21a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:42 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestPlanDelegated?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0UGxhbkRlbGVnYXRlZD9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1183"
+ ],
+ "x-ms-request-id": [
+ "892bfdca-64ff-4b3d-b0f6-b57dc4af2802"
+ ],
+ "x-ms-correlation-request-id": [
+ "892bfdca-64ff-4b3d-b0f6-b57dc4af2802"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222944Z:892bfdca-64ff-4b3d-b0f6-b57dc4af2802"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:43 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/offers/TestUberOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdFViZXJPZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1182"
+ ],
+ "x-ms-request-id": [
+ "cb868bb0-4ad6-4a07-adba-b8036baa2170"
+ ],
+ "x-ms-correlation-request-id": [
+ "cb868bb0-4ad6-4a07-adba-b8036baa2170"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222945Z:cb868bb0-4ad6-4a07-adba-b8036baa2170"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:45 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG/providers/Microsoft.Subscriptions/plans/TestUberPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0VWJlclBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "53eb0309-ab20-4db2-8574-3db53e743991"
+ ],
+ "x-ms-correlation-request-id": [
+ "53eb0309-ab20-4db2-8574-3db53e743991"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222945Z:53eb0309-ab20-4db2-8574-3db53e743991"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:45 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "1180"
+ ],
+ "x-ms-request-id": [
+ "a64a8556-9b82-4dfd-81da-c0792881d003"
+ ],
+ "x-ms-correlation-request-id": [
+ "a64a8556-9b82-4dfd-81da-c0792881d003"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222946Z:a64a8556-9b82-4dfd-81da-c0792881d003"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:46 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVJFVk1SVWRCVkVWRVQwWkdSVkpTUnkxU1JVUk5UMDVFSWl3aWFtOWlURzlqWVhScGIyNGlPaUp5WldSdGIyNWtJbjA/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": [
+ "12728"
+ ],
+ "x-ms-request-id": [
+ "3b4f5326-4321-46e1-9e3a-4e4a9222d60c"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b4f5326-4321-46e1-9e3a-4e4a9222d60c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T222946Z:3b4f5326-4321-46e1-9e3a-4e4a9222d60c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:29:46 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVJFVk1SVWRCVkVWRVQwWkdSVkpTUnkxU1JVUk5UMDVFSWl3aWFtOWlURzlqWVhScGIyNGlPaUp5WldSdGIyNWtJbjA/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": [
+ "12903"
+ ],
+ "x-ms-request-id": [
+ "52265097-c331-4e56-80d0-561a94f245f3"
+ ],
+ "x-ms-correlation-request-id": [
+ "52265097-c331-4e56-80d0-561a94f245f3"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223001Z:52265097-c331-4e56-80d0-561a94f245f3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:30:01 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVJFVk1SVWRCVkVWRVQwWkdSVkpTUnkxU1JVUk5UMDVFSWl3aWFtOWlURzlqWVhScGIyNGlPaUp5WldSdGIyNWtJbjA/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": [
+ "12878"
+ ],
+ "x-ms-request-id": [
+ "272c39ca-468e-4fdd-84be-41ea64d84373"
+ ],
+ "x-ms-correlation-request-id": [
+ "272c39ca-468e-4fdd-84be-41ea64d84373"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223017Z:272c39ca-468e-4fdd-84be-41ea64d84373"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:30:17 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUREVMRUdBVEVET0ZGRVJSRy1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVJFVk1SVWRCVkVWRVQwWkdSVkpTUnkxU1JVUk5UMDVFSWl3aWFtOWlURzlqWVhScGIyNGlPaUp5WldSdGIyNWtJbjA/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": [
+ "12877"
+ ],
+ "x-ms-request-id": [
+ "c7ca7303-306b-4979-ba4d-acf9271f2a10"
+ ],
+ "x-ms-correlation-request-id": [
+ "c7ca7303-306b-4979-ba4d-acf9271f2a10"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223032Z:c7ca7303-306b-4979-ba4d-acf9271f2a10"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:30:32 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestDelegatedOfferRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3REZWxlZ2F0ZWRPZmZlclJHP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'TestDelegatedOfferRG' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "112"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12876"
+ ],
+ "x-ms-request-id": [
+ "6946d999-64a3-4cba-90e1-c3e7d6d86ceb"
+ ],
+ "x-ms-correlation-request-id": [
+ "6946d999-64a3-4cba-90e1-c3e7d6d86ceb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T223032Z:6946d999-64a3-4cba-90e1-c3e7d6d86ceb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 22:30:32 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestGalleryItem.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestGalleryItem.json
new file mode 100644
index 000000000000..75221824d412
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestGalleryItem.json
@@ -0,0 +1,938 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1193"
+ ],
+ "x-ms-request-id": [
+ "59edc627-cc1e-4872-963c-bf00c5830d8f"
+ ],
+ "x-ms-correlation-request-id": [
+ "59edc627-cc1e-4872-963c-bf00c5830d8f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221702Z:59edc627-cc1e-4872-963c-bf00c5830d8f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1191"
+ ],
+ "x-ms-request-id": [
+ "7bb5270d-b364-48ab-90e5-7b3b36572392"
+ ],
+ "x-ms-correlation-request-id": [
+ "7bb5270d-b364-48ab-90e5-7b3b36572392"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221703Z:7bb5270d-b364-48ab-90e5-7b3b36572392"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1192"
+ ],
+ "x-ms-request-id": [
+ "1397c200-d3d6-48f2-be34-864a2891cf9f"
+ ],
+ "x-ms-correlation-request-id": [
+ "1397c200-d3d6-48f2-be34-864a2891cf9f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221702Z:1397c200-d3d6-48f2-be34-864a2891cf9f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "c377ff2d-dce7-4900-b210-83ba40287afd"
+ ],
+ "x-ms-correlation-request-id": [
+ "c377ff2d-dce7-4900-b210-83ba40287afd"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221703Z:c377ff2d-dce7-4900-b210-83ba40287afd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "104"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13636"
+ ],
+ "x-ms-request-id": [
+ "eb7a21ae-75ec-49f9-989c-7038742cf776"
+ ],
+ "x-ms-correlation-request-id": [
+ "eb7a21ae-75ec-49f9-989c-7038742cf776"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221704Z:eb7a21ae-75ec-49f9-989c-7038742cf776"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:03 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "13631"
+ ],
+ "x-ms-request-id": [
+ "2e467166-1d1f-4bfb-bca6-01c4128968af"
+ ],
+ "x-ms-correlation-request-id": [
+ "2e467166-1d1f-4bfb-bca6-01c4128968af"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221706Z:2e467166-1d1f-4bfb-bca6-01c4128968af"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:05 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/GalleryItems\",\r\n \"name\": \"GalleryItems\",\r\n \"location\": \"redmond\",\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": [
+ "1199"
+ ],
+ "x-ms-request-id": [
+ "19d5770e-1026-490c-9488-0151a235d0cb"
+ ],
+ "x-ms-correlation-request-id": [
+ "19d5770e-1026-490c-9488-0151a235d0cb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221704Z:19d5770e-1026-490c-9488-0151a235d0cb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:03 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/GalleryItems/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL0dhbGxlcnlJdGVtcy9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "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": [
+ "13635"
+ ],
+ "x-ms-request-id": [
+ "31f641bc-321b-4008-8ef0-f0f59fe491c5"
+ ],
+ "x-ms-correlation-request-id": [
+ "31f641bc-321b-4008-8ef0-f0f59fe491c5"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221704Z:31f641bc-321b-4008-8ef0-f0f59fe491c5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems/providers/Microsoft.Gallery/mypackages/1988820c-2bcc-4682-9991-bec44e6b8324?api-version=2015-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcy9wcm92aWRlcnMvTWljcm9zb2Z0LkdhbGxlcnkvbXlwYWNrYWdlcy8xOTg4ODIwYy0yYmNjLTQ2ODItOTk5MS1iZWM0NGU2YjgzMjQ/YXBpLXZlcnNpb249MjAxNS0wNC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H�7�`�\u0004\u0000\u0000�\u0004\u0000\u0000\r\u0000\u001c\u0000Manifest.json �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000{ \"$schema\": \"https://gallery.azure.com/schemas/2014-09-01/manifest.json#\",\r\n \"name\": \"SimpleVMTemplate\",\r\n \"publisher\": \"Microsoft\",\r\n \"version\": \"1.0.0\",\r\n \"displayName\": \"ms-resource:displayName\",\r\n \"publisherDisplayName\": \"ms-resource:publisherDisplayName\",\r\n \"publisherLegalName\": \"ms-resource:publisherDisplayName\",\r\n \"summary\": \"ms-resource:summary\",\r\n \"longSummary\": \"ms-resource:longSummary\",\r\n \"description\": \"ms-resource:description\",\r\n \"longDescription\": \"ms-resource:description\",\r\n \"links\": [\r\n { \"displayName\": \"ms-resource:documentationLink\", \"uri\": \"http://go.microsoft.com/fwlink/?LinkId=532898\" }\r\n ], \r\n \"artifacts\": [\r\n {\r\n \"name\": \"azuredeploy-101-simple-windows-vm\",\r\n \"type\": \"Template\",\r\n \"path\": \"DeploymentTemplates\\\\azuredeploy-101-simple-windows-vm.json\",\r\n \"isDefault\": true\r\n }\r\n ],\r\n \"icons\": {\r\n \"Small\": \"Icons\\\\Small.png\",\r\n \"Medium\": \"Icons\\\\Medium.png\",\r\n \"Large\": \"Icons\\\\Large.png\",\r\n \"Wide\": \"Icons\\\\Wide.png\"\r\n },\r\n \"categories\":[\r\n\t\"My Gallery Items\"\r\n ],\r\n \"uiDefinition\": {\r\n \"path\": \"UIDefinition.json\"\r\n }\r\n}\r\nPK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H\u0002a�9 \u0005\u0000\u0000 \u0005\u0000\u0000\u000b\u0000\u001c\u0000_rels/.rels �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H�� �'\u0003\u0000\u0000'\u0003\u0000\u0000\u000f\u0000\u001c\u0000Icons/Small.png �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�PNG\r\n\u001a\n\u0000\u0000\u0000\rIHDR\u0000\u0000\u0000(\u0000\u0000\u0000(\b\u0002\u0000\u0000\u0000\u0003�/:\u0000\u0000\u0000\u0019tEXtSoftware\u0000Adobe ImageReadyq�e<\u0000\u0000\u0002�IDATx��WOH�a\u0018�WJN�4O�<,�����hV�\u001d&�a\u001e�%�\nc$�C B\u001a��ʋ���0a�\f�C|��ET������\u0005\u0013��\b��%�����[���?�I��}\u0018c����~���q\u0001�#�q�\t�1\t#fČ�\u0011\u001fY��.Z�\u001b꼗*\u001d\u0015þp*�V���J\u001a�7�c.��{���B��g�+#���\u000fё9]��W*굧n��־f .D�S��\n�����\u0017�M<\b\u0004�+��'}�t\u0018�����\u001d)��5&n}�����u%+�:�7aVi���\u0014�*\u0002��F���vFʒC��\\|\u0004�U�\u0019{\\\\�\u0010j��<�\u0014vx���U�%�Cl�f�o�� �Z�B��(�?z\u0012\b�2b�R���G�+�C�\n%��\u001b4��s_��ȼ9�|d�_\b�\t��vz\u001a{\u0010\u0018��,�\u000e\b�\u0010O�\u0003�s�e\f\u0005�����#/to�V5��\u0016jҩ\u0004\u0002\u0005�W4�=�0ڔ\u0013Ƥ6\r�\u0013�����\b籅2[Y�\u0016�^���$�\u001b�tfk�\fp\f�Q��dl�\u0006\f�\u001aK\u0005���Z�S�Ƒ�\n\u000f����1\u0013��q����\u0003\r�(\u001b����|Ug�K�9�I�c��icČ�\u00113�B�\u0000\u0003\u0000��P�/'_\u0000\u0000\u0000\u0000IEND�B`�PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H�o�U�\u0005\u0000\u0000�\u0005\u0000\u0000\u0010\u0000\u001c\u0000Icons/Medium.png �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�PNG\r\n\u001a\n\u0000\u0000\u0000\rIHDR\u0000\u0000\u0000Z\u0000\u0000\u0000Z\b\u0002\u0000\u0000\u0000���U\u0000\u0000\u0000\u0019tEXtSoftware\u0000Adobe ImageReadyq�e<\u0000\u0000\u0005QIDATx��OH�A\u0014�ӊ4H�� �A!!;X\u0012dE\u001e\f\u000b�C`\u0012�!\b\u00164\b�H\u000f���KE�\u0011� \t�v����D\u000fA�B�v0(�C��\u0010��\f:��^M����μ�߮�7�����7���}o��(����\u0006i�Z� \u0010\u001c�Cp\b\u000e�!8\u0004��\u0010\u001c�Cp\b\u000e�!8\u0004��\u0010\u001c�CpH\u0013\u001c�Cp\b\u000eV��hGmsu��b<�_����**+����\u0005^�Gs��8�43�n��%\u001e2����\u0004X��\u0006P6t�.�)���ɏ�-Q�Lh��+G�q^E�2��H}�;����\u0013W���`��~~\u0013k;\u001c\u0019����2���+˫3c��\u001ds\u0018w���;0\u0019z�W\u000e�Gm�\u0014@\u001b:j� �\u0006\u0016 \u0002.�\u001eW�\\M\u001b�\u0006�q \u001c���V\u0016�i`{w7\u000eX�@���kX�d,h�\u0000\u0016v\n>l>2�G7\u0006�Xu��8\\��g��Z9vS���!\u0012N����ן��T�4}O�\u0006\u001eY�\u000b�n�'\u00136��\u0004�Ф@p�˄aC��8\fA\t\u001c���\u000fs�hh�5t\r�-\u0006�� �\u001a}\u001f�h҅\u0011�s]\u001c�h_��z�˄�\u0000aXp1������X���\u001b��cȂ\u0010w���Xs�\u0014K�J�Ԡ�E߁>�\u000f��:�\u000b�|��*4�4�|D7)\u0013�b�5p���{C�\u0011�,�\"h[�ݔR�s�v6\u000b.��_U\u0014\\��H.\u0010\u001a\u0011\blg��餗i\\A���E\t��cd�\u0003m~A>lB�Yy�b$2NQ\u00003�|@\u0004O\b1�6��\u0011H\u0003N��i´�\u000e�4I�\f�t0\u0004�\u001b�L���oCAI(\u0013�\u0000\u0016�)L�q(��d�\u0002�k\u000eԔab�}/\b\u001f\t�����撌-C�O\u0019\u0019�v`�+�bO���'\u000f\u0019:Nn긙LP0�κ�\u001e����axR�(rؠv\u0007\u0016\u0019_PYP��\u0013�U��&�\tc�T��\u0005\u0005�9\u0014\u001e�+\u0014��\u000eF��\u0014n�\u0012���OU88��J\u00021\r���#\u0019�\t�S[�\u0004%�'��\u0017z�\u0018\u0001ݩ��50��\t������\u0004�l;���h^AĤ\u0014���Ў�G�o_�o��\u001b��{U��᷿~��N�l���o\t3\u0007\u0017,�2F�C9��ܙ�S\u0005��\u0019�?�5k�A@sϿ�\u0014��Y�1Ä��Y��q���/\u001ac\u00050\u0019�\u00137�!`\u000e���\u001a�F-\u0006\tS��\u0005!P��']�O{S^\f#\u0019K唤��W��p(��%�N�p�&�Yir)�C�\u0001\u0015x\\����P��_\u0004�z[���b�5\u000e���!��v�n\u0012�Rk�c�&��U�����J�t\u000b��G��\u0002m����D\u0007����f�\u001a\u0006\u00168���)Ye�\n\"��c�p��\u001e�e�E�\f��BtڜE\"߬�\n|�U�\u0018�Y$,su]��o����MbH��-\u001c�pS:yw�\u0000f�\u0016�x\u0001�%�u�7�]$|S7��\u0016Y�M�\bG\u0005.�x�^\u0010��k�v�D&�Ѥx\u00033�z.��X�_b,\u0000G;�£�\u0003Gru*O������%x��^��\u0018���\u0014Z�ufDž���d���\u001c��\u0004�\u0019Y�F��\"��\u001c@P�\u0007]��w�\b�K�\u001dV\u0019-G�;\u00139�\u000b\u000e�!8\u0004��\u0010\u001c�Cp\b\u000e�!8\u0004��\u0010\u001c�Cp\b\u000e�!Mp\b\u000e�!8\u0004�{�-�\u0000�\b�w^���\u0000\u0000\u0000\u0000IEND�B`�PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H1����\u0007\u0000\u0000�\u0007\u0000\u0000\u000f\u0000\u001c\u0000Icons/Large.png �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�PNG\r\n\u001a\n\u0000\u0000\u0000\rIHDR\u0000\u0000\u0000s\u0000\u0000\u0000s\b\u0002\u0000\u0000\u0000$!��\u0000\u0000\u0000\u0019tEXtSoftware\u0000Adobe ImageReadyq�e<\u0000\u0000\u0007zIDATx��_H\\G\u0014��VIVP\u0012�\u0010��AK�n����M�\u0005E\u0002�@�\"�k1�]��R��<4�S�K-\u0011%P\u000bJH �\u0010�M\u000bE�AhcK\u0011$T�P}p�\u0004k\u0013LqS�C?3�2;w������9,a]�{g~s�s��5�����y`�\u0010\u0002\"KdɈ,�%�dD��\u0012Y2\"Kd�,\u0019�%�D���\u0012Y\"KFd�,�%#�D�Ȓ\u0011Y\"KdɈ,�%�d�$[YW�W`{��E�e�]?_o[�bǏ�YƷ��\u001a��8���jݣ\t�}j~m�����Y�\t\u0016�p���}��MQ�����XI��F�ɽ+?�M��>\\\u0001��s'p�=����@�\u0001�~5��\b+hv�I������C;>�h\"�\u0017�\u000bz�~�W�\u000f�T�Db�Le]��!&���S�f���\u0003�хS�\r�aL\u0005���\u001a��������<�`-\u0014�_\\Zt�����\u001e(b\t)>�\u0000߹8�\u0005��ԍ_�\u0006&\u0015'\u0014&fKW����.�v�s��r�����꿃�����Z>\u0000�N��IJ�\u0011�T����U\u0005���\u0000�\u000e~\u001fP6RO\u001f/���\u0011���X8\u0012-���c�\t�ξ�\u0019WayQ��m\rݑT�_T\u0013߱�)�~�\u001cua��f\u0010�c����\u001a���r�\u0012\"�{W�%�Hc����ʂL�0�!sZ�cv�cMQ9�����\u0004�����^j�\u001e?a���u����|�![��\u0001���z�\u0003�2\u000bC|�\u0010\u0007�3\u001d�c�Ȧ7�|g�|\u0005ᔢ��\u0015_�� �H|���\rR�\u0004O��w\r+\u001f\u001d\u000b�jV\u001f��\u000fd�`�$r�v\t�\u000f+\u0006�n#���v���r�\u0016*�]�hAāT-�,#Ñ���\u001a���\\w\"\u0005B˅~���H~�\u001f\u000b��\u000e�\b�C�����^0��5>0��(�\\��j\u0010�\u001e�\u0010;�\u0010\u000e?���\u0015�Hs��a��\r\u000bX�@YTⅤK]\r4dz��>�t�\u0015\u0016\u0010f���{P@\u0004�8�m^��@3y�g��7�\u0011���#k��|-��y�\u0002�xaI\u0011�\u000f�x1q��Ǡ-����$�\u0011�dR?��\"� \u0010x� �@X��Ԁ���''����D�9�^cQ5�I�f��\u0010���k�/��~�\u001f�\u000f7���U�/���4|z\u0002\u0013���ȗw-\n�\u0016d�vv\u0007�[�0<��\u0005\u00042:=�[qi\u0011�1x?\rM\u000b�7\\�l_��\u000b��k֍�E\u0016���Ͽ�OW\u0019���h8�\u0017�\toe���_�5�͛=I뒝�[nW$��9\u001er+��Q\u0017D\u0000#d\u000eN$NMhX��\u0003����R\u0000\u0016��ф9��\u001a���b\u0014�\u001b��Z�I�P��55�E#�N\r\n�{�fjlw k�\u000f�h�jԸ\u0005`�3��m\u0019��P�0�45&\u000e|gk3\r\u0010Z3��w\u0007�^\u0019QG�Ml-&\u001410��7����.�e:���\u001b�'J�2|����9\u0001�5Ȳ@B;V�B�z->���\u0014���X���\u001d�r\u0003�S��\u001f\f�R��U�\u0014�x��s����r��I\r'��\u001a��%�\u0007\u0003Z�\u001eЙ�,��,\u0018�<��>���\u001ei����:\f���\u0015��o��#�L�u�/\u0018�d\u000b3S�-�\u0003\u0010�ikf�\u000b�ϙ�����8�ZXۣd��\u000b��P\u0016Z�߫d�:a�w�\u0015��\"�\r�▫�j���[g���m���^#��X?}�w쵒]�\n\f<:��p�����m6�ɬ����}�d۰���p�\rL�2W�>\u001d�8ua��\u001c>�$mn��қL�<�̄�y9ûCs\u0010�[=IW�iZ��>�,�ֵ���g��M��:�T��cg���\u0003ٹ�\u0005�ǣMюl{�6Q�ݹ\r烴�B��h\u0010�@�\u000fj\u0000\u0016����\t��e� �9\u001e$�Cs\u0012��v�I�W\\-\u0010�<�)��4PY\r�\u001e���T�\u0016b\u0002iل�\u0010ϲ�8�O^�Cs��+-���\u0006}\t��Y�\u0002*��&\u0007|AK��ė�X�\u000bQ[�ϵ<\".�kea\r����hȻ�-\u0010�PX�_��'�k�\u0003\fRʳ\u0012��9X*�u/���v\u0018�,�%#�D�Ȓ\u0011Y\"KdɈ,�%�dD��\u0012Y2\"Kd�,\u0019�%�D���\u0012Y\"KFd�,�%#�D�Ȓ��\u0002\f\u0000C\u0018\u0001\u0003D'�+\u0000\u0000\u0000\u0000IEND�B`�PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H��\u0003\u000b�\b\u0000\u0000�\b\u0000\u0000\u000e\u0000\u001c\u0000Icons/Wide.png �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�PNG\r\n\u001a\n\u0000\u0000\u0000\rIHDR\u0000\u0000\u0000�\u0000\u0000\u0000s\b\u0002\u0000\u0000\u0000�\u0018C>\u0000\u0000\u0000\u0019tEXtSoftware\u0000Adobe ImageReadyq�e<\u0000\u0000\b>���3�,�\u001bU�6�M��,��}\u001e�?�`��8~麒�o����w~Y�B����\fG����s��/�݃9�\u0007������m��b�.Ǿ���qGt���c����}i�ݨ�m�'v�/�'\u0002�ǖŗϩi���Q�>��K��\u0013O\u001e�{\u0014�*���\u0015�25��z����\u0017���;�s�\nIs��IO�����bn�@�\r��\u0002r>Y}H0� �Q���ֺ\\�^��R\u001e�fb���\u0000��\\'�ω��A\u0004$�\"�\u001dV�EG��\u0010\t\u0016\f��\n�;��W�,{���s��H�Fj���cd\u0000�C\u0006���j�N��cO�F�R���s\u0019!���b#\u0013\u001fP�?�?g\u0017���4���h��\u0006\u0003\u001e��v�e�.� ��\f\u0016\u001f\u0018-����s^��S�\u001d�i����\u0015.�\u0005�?\rF�gm��l�e�+��*\u0007���\u000ft߸�m��(9C]�߃�'穤܃u\u001e\u001b\u001e?V{*X^�/\u0012}g�Y/��(�q]��O��?��,.-��EyqIS1�lI>\n�xw�{���h���u\u0001mv�S\u001eY�b���.j��\u0003�\u001f\bwN��t�=ѵ�א��Z��6��.·��7E����Ƃ\u0017\u0013��\u001e�fז�K��\u001b\"�\u001d{��qpZ|u)��v��Ԙ����\u001d\u0002��Q�\u000f��}�T*�Ca��Q�\n=,#\u0014l�W>J�u��\u0001�Ԃ\rZ���Hq�o�6��I�=F*F�j�s�q0�\u001fxL-�\u0015��e��Y�>WL\r����d\u001d81`\u0017�:\u0004�v\u0019\u0018Ձ�]�Z����\u0000�撝��ӱڝ��\u0013F#�w��t��\u0017W5p\f6M)\u0018���R�����w6�uJ_E�\u001cj�;�vw~ב�Y\u0018�\u0014V��ڍ��$�\fE�<�z%Ӈ��3�WE�L�]�r�\f�}e��{��\t\u0014\u0016\u0014�\u0003��.�\u0010zZ.�_c\u0019�,~Kϧ�\u000elsY\u00193�\u0018I�͜�|\\\u001b۞��\u001fV�1tw��?�ʨߌ#wD߯�l�̉]g羾���E�\u0005/WiU7mR\u0015��\u001ft��\u000f��Z��Du@}�*�O=CFZF]ǡ�я�����\u000b�I��H\u000f���z�Tyjc�^,�z����\u0012��&��^�Ӈ\\hO�O'v~�o\u0014+7��E����\u0019O\u0019\u001e�\"g�)�]��z�\u0014Ʉ}�\\��C\nv����\ff�,�t��(�\u001dU�ӱ�-=\u0007B<&�_�H('���Rs�[��lk�V��+٤���Зb���i�\u0005�_\"�<\u0014�\u0014Y�)�L���ٙ9�5�\u0013�Vi)�Me��n@\u0012\nƤ#U9�?�IsO���S���o�I�8�;�I=z'�i\u0002�[�\t��o%�B�(]�!�ӱ^���!�?\u000f�C��]@[\u0016m��ޏ\t]\u0017�G���D���;Jj����ߛ\u0011��O^��'yh�Q��e�)3�Q�7��\u000eP�i�����(Կ�0��ߋv>�1ǓIΨ?;����.�M���\u0017s�\u0016���\"ϻk�Ģ]\u0013h�ܸ.@�i0�C�_��Bc\u000e3��B��}��4�\u0005\u0012\u0010g���ؚ\u0005ߏ��\t�MߝMgÝ\u0003痱[��w�\"a��sP��[�'O{Wy��]�ޮ�Y�\u000fu/?0�3\f!��M�}:ߧS���\u001e��\u001cԿ,�>Djmd��{�T�xQ���u�\b\u0016�O\u0011��F�2W\u0017�\u0013�|�#|gE\u000b��C+n��s\u0017\u001d+\u0018P@\u001cV0���;��\u0019�t]���p��������t{\"��u�*�\u0015)\u0019U�\u0014�u�/��\u0018�\u00058��m�܋}����j�%k�\u0015)�F�~-�h�\u001c�d�u4����\u0013jq+6�\u0019�9p\u0004�w#�\u0000\u0016߽���ݜ\u0002糴\u0003��\u0002�\u0010�\u0002Z\u001b�f\r\u0006\u0002[|��G��������*�^USY\u0013ݪ65�D�\u0015\fXw��O���yfݥ\"�\u0016Z�?:�c���\u0005v2�Pq�\u0005�This is just a sample of the type of description you could create for your gallery item!
This is a second paragraph.
\",\r\n \"documentationLink\": \"Documentation\"\r\n}PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&HC\u001f���\u0000\u0000\u0000�\u0000\u0000\u0000\u0011\u0000\u001c\u0000UIDefinition.json �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000{\r\n \"$schema\": \"https://gallery.azure.com/schemas/2015-02-12/UIDefinition.json#\",\r\n \"createDefinition\": {\r\n \"createBlade\": {\r\n \"name\": \"DeployFromTemplateBlade\",\r\n \"extension\": \"HubsExtension\"\r\n }\r\n }\r\n}\r\nPK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H�\u0000��b\u001a\u0000\u0000b\u001a\u0000\u0000:\u0000\u001c\u0000DeploymentTemplates/azuredeploy-101-simple-windows-vm.json �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000{\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"newStorageAccountName\": {\r\n \"type\": \"string\",\r\n \"metadata\": {\r\n \"description\": \"Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed.\"\r\n }\r\n },\r\n\r\n \"blobStorageEndpoint\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"blob.azurestack.local\",\r\n \"allowedValues\": [\r\n \"blob.azurestack.local\",\r\n \"blob.core.windows.net\"\r\n ],\r\n \"metadata\": {\r\n \"description\": \"Blob storage endpoint\"\r\n }\r\n },\r\n\r\n\r\n \"deploymentLocation\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"local\",\r\n \"allowedValues\": [\r\n \"local\",\r\n \"westus\",\r\n \"eastus\"\r\n ],\r\n \"metadata\": {\r\n \"description\": \"Blob storage endpoint\"\r\n }\r\n },\r\n\r\n\r\n \"adminUsername\": {\r\n \"type\": \"string\",\r\n \"metadata\": {\r\n \"description\": \"Username for the Virtual Machine.\"\r\n }\r\n },\r\n \"adminPassword\": {\r\n \"type\": \"securestring\",\r\n \"metadata\": {\r\n \"description\": \"Password for the Virtual Machine.\"\r\n }\r\n },\r\n \"dnsNameForPublicIP\": {\r\n \"type\": \"string\",\r\n \"metadata\": {\r\n \"description\": \"Unique DNS Name for the Public IP used to access the Virtual Machine.\"\r\n }\r\n },\r\n \"windowsOSVersion\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"2012-R2-Datacenter\",\r\n \"allowedValues\": [\r\n \"2008-R2-SP1\",\r\n \"2012-Datacenter\",\r\n \"2012-R2-Datacenter\"\r\n ],\r\n \"metadata\": {\r\n \"description\": \"The Windows version for the VM. This will pick a fully patched image of this given Windows version. Allowed values: 2008-R2-SP1, 2012-Datacenter, 2012-R2-Datacenter.\"\r\n }\r\n }\r\n },\r\n \"variables\": {\r\n \"location\": \"[parameters('deploymentLocation')]\",\r\n \"imagePublisher\": \"MicrosoftWindowsServer\",\r\n \"imageOffer\": \"WindowsServer\",\r\n \"OSDiskName\": \"osdiskforwindowssimple\",\r\n \"nicName\": \"myVMNic\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n \"subnetName\": \"Subnet\",\r\n \"subnetPrefix\": \"10.0.0.0/24\",\r\n \"storageAccountType\": \"Standard_LRS\",\r\n \"publicIPAddressName\": \"myPublicIP\",\r\n \"publicIPAddressType\": \"Dynamic\",\r\n \"vmStorageAccountContainerName\": \"vhds\",\r\n \"vmName\": \"myVM0007\",\r\n \"vmSize\": \"Standard_A1\",\r\n \"virtualNetworkName\": \"MyVNET\",\r\n \"vnetID\": \"[resourceId('Microsoft.Network/virtualNetworks',variables('virtualNetworkName'))]\",\r\n \"subnetRef\": \"[concat(variables('vnetID'),'/subnets/',variables('subnetName'))]\"\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('newStorageAccountName')]\",\r\n \"apiVersion\": \"2015-05-01-preview\",\r\n \"location\": \"[variables('location')]\",\r\n \"properties\": {\r\n \"accountType\": \"[variables('storageAccountType')]\"\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2015-05-01-preview\",\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"name\": \"[variables('publicIPAddressName')]\",\r\n \"location\": \"[variables('location')]\",\r\n \"properties\": {\r\n \"publicIPAllocationMethod\": \"[variables('publicIPAddressType')]\",\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"[parameters('dnsNameForPublicIP')]\"\r\n }\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2015-05-01-preview\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"name\": \"[variables('virtualNetworkName')]\",\r\n \"location\": \"[variables('location')]\",\r\n \"properties\": {\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"[variables('addressPrefix')]\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"[variables('subnetName')]\",\r\n \"properties\": {\r\n \"addressPrefix\": \"[variables('subnetPrefix')]\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2015-05-01-preview\",\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n \"name\": \"[variables('nicName')]\",\r\n \"location\": \"[variables('location')]\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]\",\r\n \"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]\"\r\n ],\r\n \"properties\": {\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"ipconfig1\",\r\n \"properties\": {\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]\"\r\n },\r\n \"subnet\": {\r\n \"id\": \"[variables('subnetRef')]\"\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"apiVersion\": \"2015-06-15\",\r\n \"type\": \"Microsoft.Compute/virtualMachines\",\r\n \"name\": \"[variables('vmName')]\",\r\n \"location\": \"[variables('location')]\",\r\n \"dependsOn\": [\r\n \"[concat('Microsoft.Storage/storageAccounts/', parameters('newStorageAccountName'))]\",\r\n \"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]\"\r\n ],\r\n \"properties\": {\r\n \"hardwareProfile\": {\r\n \"vmSize\": \"[variables('vmSize')]\"\r\n },\r\n \"osProfile\": {\r\n \"computerName\": \"[variables('vmName')]\",\r\n \"adminUsername\": \"[parameters('adminUsername')]\",\r\n \"adminPassword\": \"[parameters('adminPassword')]\"\r\n },\r\n \"storageProfile\": {\r\n \"imageReference\": {\r\n \"publisher\": \"[variables('imagePublisher')]\",\r\n \"offer\": \"[variables('imageOffer')]\",\r\n \"sku\": \"[parameters('windowsOSVersion')]\",\r\n \"version\": \"latest\"\r\n },\r\n \"osDisk\": {\r\n \"name\": \"osdisk\",\r\n \"vhd\": {\r\n \"uri\": \"[concat('http://',parameters('newStorageAccountName'),'.', parameters('blobStorageEndpoint'), '/', variables('vmStorageAccountContainerName'),'/',variables('OSDiskName'),'.vhd')]\"\r\n },\r\n \"caching\": \"ReadWrite\",\r\n \"createOption\": \"FromImage\"\r\n }\r\n },\r\n \"networkProfile\": {\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]\"\r\n }\r\n ]\r\n },\r\n \"diagnosticsProfile\": {\r\n \"bootDiagnostics\": {\r\n \"enabled\": \"true\",\r\n \"storageUri\": \"[concat('http://',parameters('newStorageAccountName'),'.', parameters('blobStorageEndpoint'))]\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n}PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&HV�f�7\u0001\u0000\u00007\u0001\u0000\u0000E\u0000\u001c\u0000DeploymentTemplates/_rels/azuredeploy-101-simple-windows-vm.json.rels �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000PK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&H�9�bF\u0001\u0000\u0000F\u0001\u0000\u0000)\u0000\u001c\u0000dfbc848bf3784b1885cc44224ecbd0e9/Artifact �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\r\n\r\n azuredeploy-101-simple-windows-vm\r\n Template\r\n DeploymentTemplates\\azuredeploy-101-simple-windows-vm.json\r\n true\r\nPK\u0003\u0004\n\u0000\u0000\u0000\u0000\u0000Tx&HC\\���\u0002\u0000\u0000�\u0002\u0000\u0000\u0013\u0000\u001c\u0000[Content_Types].xml �\u0018\u0000(�\u0014\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000PK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H�7�`�\u0004\u0000\u0000�\u0004\u0000\u0000\r\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000Manifest.jsonPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H\u0002a�9 \u0005\u0000\u0000 \u0005\u0000\u0000\u000b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0004\u0000\u0000_rels/.relsPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H�� �'\u0003\u0000\u0000'\u0003\u0000\u0000\u000f\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000d\n\u0000\u0000Icons/Small.pngPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H�o�U�\u0005\u0000\u0000�\u0005\u0000\u0000\u0010\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\r\u0000\u0000Icons/Medium.pngPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H1����\u0007\u0000\u0000�\u0007\u0000\u0000\u000f\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u0013\u0000\u0000Icons/Large.pngPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H��\u0003\u000b�\b\u0000\u0000�\b\u0000\u0000\u000e\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�\u001b\u0000\u0000Icons/Wide.pngPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H\u0018\u0006\u0001�a\u0001\u0000\u0000a\u0001\u0000\u0000\u0019\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�$\u0000\u0000strings/resources.resjsonPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&HC\u001f���\u0000\u0000\u0000�\u0000\u0000\u0000\u0011\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�&\u0000\u0000UIDefinition.jsonPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H�\u0000��b\u001a\u0000\u0000b\u001a\u0000\u0000:\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�'\u0000\u0000DeploymentTemplates/azuredeploy-101-simple-windows-vm.jsonPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&HV�f�7\u0001\u0000\u00007\u0001\u0000\u0000E\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�B\u0000\u0000DeploymentTemplates/_rels/azuredeploy-101-simple-windows-vm.json.relsPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&H�9�bF\u0001\u0000\u0000F\u0001\u0000\u0000)\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000UD\u0000\u0000dfbc848bf3784b1885cc44224ecbd0e9/ArtifactPK\u0001\u0002-\u0000\n\u0000\u0000\u0000\u0000\u0000Tx&HC\\���\u0002\u0000\u0000�\u0002\u0000\u0000\u0013\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�E\u0000\u0000[Content_Types].xmlPK\u0005\u0006\u0000\u0000\u0000\u0000\f\u0000\f\u0000a\u0003\u0000\u0000�H\u0000\u0000\u0000\u0000",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "19533"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"default\": {\r\n \"products\": [],\r\n \"uiDefinitionUri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/UIDefinition.json?api-version=2015-04-01\",\r\n \"artifacts\": [\r\n {\r\n \"name\": \"azuredeploy-101-simple-windows-vm\",\r\n \"uri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/DeploymentTemplates/azuredeploy-101-simple-windows-vm.json?api-version=2015-04-01\",\r\n \"type\": \"template\"\r\n }\r\n ],\r\n \"metadata\": {},\r\n \"properties\": {},\r\n \"identity\": \"Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"publisher\": \"Microsoft\",\r\n \"publisherDisplayName\": \"Microsoft\",\r\n \"itemName\": \"SimpleVMTemplate\",\r\n \"itemDisplayName\": \"Simple VM\",\r\n \"version\": \"1.0.0\",\r\n \"summary\": \"Create a simple VM\",\r\n \"description\": \"This is just a sample of the type of description you could create for your gallery item!
This is a second paragraph.
\",\r\n \"categoryIds\": [\r\n \"My Gallery Items\"\r\n ],\r\n \"screenshotUris\": [],\r\n \"links\": [\r\n {\r\n \"displayName\": \"Documentation\",\r\n \"uri\": \"http://go.microsoft.com/fwlink/?LinkId=532898\"\r\n }\r\n ],\r\n \"filters\": [],\r\n \"iconFileUris\": {\r\n \"small\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Small.png?api-version=2015-04-01\",\r\n \"medium\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Medium.png?api-version=2015-04-01\",\r\n \"large\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Large.png?api-version=2015-04-01\",\r\n \"wide\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Wide.png?api-version=2015-04-01\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1454"
+ ],
+ "Content-Type": [
+ "text/plain; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Vary": [
+ "Accept-Encoding"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1198"
+ ],
+ "x-ms-request-id": [
+ "e062357e-d498-4cd7-9f49-e2f6c1fd28ca"
+ ],
+ "x-ms-correlation-request-id": [
+ "e062357e-d498-4cd7-9f49-e2f6c1fd28ca"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221705Z:e062357e-d498-4cd7-9f49-e2f6c1fd28ca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:04 GMT"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems/providers/Microsoft.Gallery/mygalleryitems/Microsoft.SimpleVMTemplate.1.0.0?api-version=2015-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcy9wcm92aWRlcnMvTWljcm9zb2Z0LkdhbGxlcnkvbXlnYWxsZXJ5aXRlbXMvTWljcm9zb2Z0LlNpbXBsZVZNVGVtcGxhdGUuMS4wLjA/YXBpLXZlcnNpb249MjAxNS0wNC0wMQ==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"default\": {\r\n \"products\": [],\r\n \"uiDefinitionUri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/UIDefinition.json?api-version=2015-04-01\",\r\n \"artifacts\": [\r\n {\r\n \"name\": \"azuredeploy-101-simple-windows-vm\",\r\n \"uri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/DeploymentTemplates/azuredeploy-101-simple-windows-vm.json?api-version=2015-04-01\",\r\n \"type\": \"template\"\r\n }\r\n ],\r\n \"metadata\": {},\r\n \"properties\": {},\r\n \"identity\": \"Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"publisher\": \"Microsoft\",\r\n \"publisherDisplayName\": \"Microsoft\",\r\n \"itemName\": \"SimpleVMTemplate\",\r\n \"itemDisplayName\": \"Simple VM\",\r\n \"version\": \"1.0.0\",\r\n \"summary\": \"Create a simple VM\",\r\n \"description\": \"This is just a sample of the type of description you could create for your gallery item!
This is a second paragraph.
\",\r\n \"categoryIds\": [\r\n \"My Gallery Items\"\r\n ],\r\n \"screenshotUris\": [],\r\n \"links\": [\r\n {\r\n \"displayName\": \"Documentation\",\r\n \"uri\": \"http://go.microsoft.com/fwlink/?LinkId=532898\"\r\n }\r\n ],\r\n \"filters\": [],\r\n \"iconFileUris\": {\r\n \"small\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Small.png?api-version=2015-04-01\",\r\n \"medium\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Medium.png?api-version=2015-04-01\",\r\n \"large\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Large.png?api-version=2015-04-01\",\r\n \"wide\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Wide.png?api-version=2015-04-01\"\r\n }\r\n }\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "1454"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/GalleryItems/providers/Microsoft.Gallery/myGalleryItems/Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"name\": \"Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"type\": \"Microsoft.Gallery/myGalleryItems\",\r\n \"properties\": {\r\n \"default\": {\r\n \"products\": [],\r\n \"uiDefinitionUri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/UIDefinition.json?api-version=2015-04-01\",\r\n \"artifacts\": [\r\n {\r\n \"name\": \"azuredeploy-101-simple-windows-vm\",\r\n \"uri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/DeploymentTemplates/azuredeploy-101-simple-windows-vm.json?api-version=2015-04-01\",\r\n \"type\": \"template\"\r\n }\r\n ],\r\n \"metadata\": {},\r\n \"properties\": {},\r\n \"identity\": \"Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"publisher\": \"Microsoft\",\r\n \"publisherDisplayName\": \"Microsoft\",\r\n \"itemName\": \"SimpleVMTemplate\",\r\n \"itemDisplayName\": \"Simple VM\",\r\n \"version\": \"1.0.0\",\r\n \"summary\": \"Create a simple VM\",\r\n \"description\": \"This is just a sample of the type of description you could create for your gallery item!
This is a second paragraph.
\",\r\n \"categoryIds\": [\r\n \"My Gallery Items\"\r\n ],\r\n \"screenshotUris\": [],\r\n \"links\": [\r\n {\r\n \"displayName\": \"Documentation\",\r\n \"uri\": \"http://go.microsoft.com/fwlink/?LinkId=532898\"\r\n }\r\n ],\r\n \"filters\": [],\r\n \"iconFileUris\": {\r\n \"small\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Small.png?api-version=2015-04-01\",\r\n \"medium\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Medium.png?api-version=2015-04-01\",\r\n \"large\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Large.png?api-version=2015-04-01\",\r\n \"wide\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Wide.png?api-version=2015-04-01\"\r\n }\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1716"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1197"
+ ],
+ "x-ms-request-id": [
+ "4cd8de36-0e8d-40eb-b0b3-e13da842bdd8"
+ ],
+ "x-ms-correlation-request-id": [
+ "4cd8de36-0e8d-40eb-b0b3-e13da842bdd8"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221705Z:4cd8de36-0e8d-40eb-b0b3-e13da842bdd8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:04 GMT"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems/providers/Microsoft.Gallery/mygalleryitems/Microsoft.SimpleVMTemplate.1.0.0?api-version=2015-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcy9wcm92aWRlcnMvTWljcm9zb2Z0LkdhbGxlcnkvbXlnYWxsZXJ5aXRlbXMvTWljcm9zb2Z0LlNpbXBsZVZNVGVtcGxhdGUuMS4wLjA/YXBpLXZlcnNpb249MjAxNS0wNC0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/GalleryItems/providers/Microsoft.Gallery/myGalleryItems/Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"name\": \"Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"type\": \"Microsoft.Gallery/myGalleryItems\",\r\n \"properties\": {\r\n \"products\": [],\r\n \"uiDefinitionUri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/UIDefinition.json?api-version=2015-04-01\",\r\n \"artifacts\": [\r\n {\r\n \"name\": \"azuredeploy-101-simple-windows-vm\",\r\n \"uri\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/DeploymentTemplates/azuredeploy-101-simple-windows-vm.json?api-version=2015-04-01\",\r\n \"type\": \"template\"\r\n }\r\n ],\r\n \"metadata\": {},\r\n \"properties\": {},\r\n \"identity\": \"Microsoft.SimpleVMTemplate.1.0.0\",\r\n \"publisher\": \"Microsoft\",\r\n \"publisherDisplayName\": \"Microsoft\",\r\n \"itemName\": \"SimpleVMTemplate\",\r\n \"itemDisplayName\": \"Simple VM\",\r\n \"version\": \"1.0.0\",\r\n \"summary\": \"Create a simple VM\",\r\n \"description\": \"This is just a sample of the type of description you could create for your gallery item!
This is a second paragraph.
\",\r\n \"categoryIds\": [\r\n \"My Gallery Items\"\r\n ],\r\n \"screenshotUris\": [],\r\n \"links\": [\r\n {\r\n \"displayName\": \"Documentation\",\r\n \"uri\": \"http://go.microsoft.com/fwlink/?LinkId=532898\"\r\n }\r\n ],\r\n \"filters\": [],\r\n \"iconFileUris\": {\r\n \"small\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Small.png?api-version=2015-04-01\",\r\n \"medium\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Medium.png?api-version=2015-04-01\",\r\n \"large\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Large.png?api-version=2015-04-01\",\r\n \"wide\": \"https://pt-test04:30016//artifacts/1988820c-2bcc-4682-9991-bec44e6b8324/Icons/Wide.png?api-version=2015-04-01\"\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13633"
+ ],
+ "x-ms-request-id": [
+ "920d7142-35ee-41b7-a959-074d06c9890f"
+ ],
+ "x-ms-correlation-request-id": [
+ "920d7142-35ee-41b7-a959-074d06c9890f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221705Z:920d7142-35ee-41b7-a959-074d06c9890f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:04 GMT"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems/providers/Microsoft.Gallery/mygalleryitems/Microsoft.SimpleVMTemplate.1.0.0?api-version=2015-04-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcy9wcm92aWRlcnMvTWljcm9zb2Z0LkdhbGxlcnkvbXlnYWxsZXJ5aXRlbXMvTWljcm9zb2Z0LlNpbXBsZVZNVGVtcGxhdGUuMS4wLjA/YXBpLXZlcnNpb249MjAxNS0wNC0wMQ==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1196"
+ ],
+ "x-ms-request-id": [
+ "dc91b0f4-494e-4542-af56-a0c9ce1fc00c"
+ ],
+ "x-ms-correlation-request-id": [
+ "dc91b0f4-494e-4542-af56-a0c9ce1fc00c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221706Z:dc91b0f4-494e-4542-af56-a0c9ce1fc00c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:05 GMT"
+ ],
+ "X-AspNet-Version": [
+ "4.0.30319"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "1195"
+ ],
+ "x-ms-request-id": [
+ "7b49794e-2d7d-44bc-875f-bd0dd8ea580a"
+ ],
+ "x-ms-correlation-request-id": [
+ "7b49794e-2d7d-44bc-875f-bd0dd8ea580a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221706Z:7b49794e-2d7d-44bc-875f-bd0dd8ea580a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:05 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFIUVV4TVJWSlpTVlJGVFZNdFVrVkVUVTlPUkNJc0ltcHZZa3h2WTJGMGFXOXVJam9pY21Wa2JXOXVaQ0o5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "13629"
+ ],
+ "x-ms-request-id": [
+ "a2d5d5f4-ba92-433a-bcb4-de35184dbbf1"
+ ],
+ "x-ms-correlation-request-id": [
+ "a2d5d5f4-ba92-433a-bcb4-de35184dbbf1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221706Z:a2d5d5f4-ba92-433a-bcb4-de35184dbbf1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:06 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFIUVV4TVJWSlpTVlJGVFZNdFVrVkVUVTlPUkNJc0ltcHZZa3h2WTJGMGFXOXVJam9pY21Wa2JXOXVaQ0o5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "13617"
+ ],
+ "x-ms-request-id": [
+ "fecaa103-0763-4527-b4d5-2ad2223a0692"
+ ],
+ "x-ms-correlation-request-id": [
+ "fecaa103-0763-4527-b4d5-2ad2223a0692"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221722Z:fecaa103-0763-4527-b4d5-2ad2223a0692"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:21 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFIUVV4TVJWSlpTVlJGVFZNdFVrVkVUVTlPUkNJc0ltcHZZa3h2WTJGMGFXOXVJam9pY21Wa2JXOXVaQ0o5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "13606"
+ ],
+ "x-ms-request-id": [
+ "14940ffa-85fc-4c06-b029-3ccf10f30e52"
+ ],
+ "x-ms-correlation-request-id": [
+ "14940ffa-85fc-4c06-b029-3ccf10f30e52"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221737Z:14940ffa-85fc-4c06-b029-3ccf10f30e52"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:37 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1HQUxMRVJZSVRFTVMtUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFIUVV4TVJWSlpTVlJGVFZNdFVrVkVUVTlPUkNJc0ltcHZZa3h2WTJGMGFXOXVJam9pY21Wa2JXOXVaQ0o5P2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "13604"
+ ],
+ "x-ms-request-id": [
+ "741eedab-c816-4dc9-987d-6104cedce807"
+ ],
+ "x-ms-correlation-request-id": [
+ "741eedab-c816-4dc9-987d-6104cedce807"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221752Z:741eedab-c816-4dc9-987d-6104cedce807"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:52 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/GalleryItems?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL0dhbGxlcnlJdGVtcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'GalleryItems' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "104"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13603"
+ ],
+ "x-ms-request-id": [
+ "8d4beef9-26c9-4d1e-900b-7b3bd3d4a207"
+ ],
+ "x-ms-correlation-request-id": [
+ "8d4beef9-26c9-4d1e-900b-7b3bd3d4a207"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160216T221752Z:8d4beef9-26c9-4d1e-900b-7b3bd3d4a207"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Tue, 16 Feb 2016 22:17:52 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestManagedLocation.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestManagedLocation.json
new file mode 100644
index 000000000000..89b2a94b2e74
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestManagedLocation.json
@@ -0,0 +1,593 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1183"
+ ],
+ "x-ms-request-id": [
+ "e70e153c-757c-4412-a00b-2ae4db01f1f9"
+ ],
+ "x-ms-correlation-request-id": [
+ "e70e153c-757c-4412-a00b-2ae4db01f1f9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004637Z:e70e153c-757c-4412-a00b-2ae4db01f1f9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:37 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "518b7465-5474-49b0-a4eb-42bc0e43106f"
+ ],
+ "x-ms-correlation-request-id": [
+ "518b7465-5474-49b0-a4eb-42bc0e43106f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004637Z:518b7465-5474-49b0-a4eb-42bc0e43106f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:37 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1182"
+ ],
+ "x-ms-request-id": [
+ "718e9b2a-a17e-4f29-97f5-18f5c9f5e3a7"
+ ],
+ "x-ms-correlation-request-id": [
+ "718e9b2a-a17e-4f29-97f5-18f5c9f5e3a7"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004637Z:718e9b2a-a17e-4f29-97f5-18f5c9f5e3a7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:37 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1180"
+ ],
+ "x-ms-request-id": [
+ "0b3a8a08-0096-42a3-9d3f-31d00da81b99"
+ ],
+ "x-ms-correlation-request-id": [
+ "0b3a8a08-0096-42a3-9d3f-31d00da81b99"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004638Z:0b3a8a08-0096-42a3-9d3f-31d00da81b99"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:37 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago2\",\r\n \"name\": \"chicago2\",\r\n \"displayName\": \"chicago2\",\r\n \"latitude\": \"80.5\",\r\n \"longitude\": \"-45.5\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago3\",\r\n \"name\": \"chicago3\",\r\n \"displayName\": \"chicago3\",\r\n \"latitude\": \"80.5\",\r\n \"longitude\": \"-45.5\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "602"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12762"
+ ],
+ "x-ms-request-id": [
+ "22fc0b3f-dfda-4d45-be21-0dda1db83d1a"
+ ],
+ "x-ms-correlation-request-id": [
+ "22fc0b3f-dfda-4d45-be21-0dda1db83d1a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004638Z:22fc0b3f-dfda-4d45-be21-0dda1db83d1a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago2\",\r\n \"name\": \"chicago2\",\r\n \"displayName\": \"chicago2\",\r\n \"latitude\": \"80.5\",\r\n \"longitude\": \"-45.5\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago3\",\r\n \"name\": \"chicago3\",\r\n \"displayName\": \"chicago3\",\r\n \"latitude\": \"80.5\",\r\n \"longitude\": \"-45.5\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "602"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12761"
+ ],
+ "x-ms-request-id": [
+ "c627e94d-53de-4b96-9bd3-61b6021f9823"
+ ],
+ "x-ms-correlation-request-id": [
+ "c627e94d-53de-4b96-9bd3-61b6021f9823"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004638Z:c627e94d-53de-4b96-9bd3-61b6021f9823"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnMvY2hpY2Fnbz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"chicago\",\r\n \"displayName\": \"chicago\",\r\n \"latitude\": \"80.5\",\r\n \"longitude\": \"-45.5\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "102"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"chicago\",\r\n \"displayName\": \"chicago\",\r\n \"latitude\": \"80.5\",\r\n \"longitude\": \"-45.5\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "80"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1160"
+ ],
+ "x-ms-request-id": [
+ "b24fac22-1ada-4049-abaa-91431da5f197"
+ ],
+ "x-ms-correlation-request-id": [
+ "b24fac22-1ada-4049-abaa-91431da5f197"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004639Z:b24fac22-1ada-4049-abaa-91431da5f197"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:38 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnMvY2hpY2Fnbz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago\",\r\n \"name\": \"chicago\",\r\n \"displayName\": \"chicago\",\r\n \"latitude\": \"90\",\r\n \"longitude\": \"-45.5\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "222"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"name\": \"chicago\",\r\n \"displayName\": \"chicago\",\r\n \"latitude\": \"90\",\r\n \"longitude\": \"-45.5\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "78"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1159"
+ ],
+ "x-ms-request-id": [
+ "7c12982a-d295-45d0-b7ef-ef6875f47a76"
+ ],
+ "x-ms-correlation-request-id": [
+ "7c12982a-d295-45d0-b7ef-ef6875f47a76"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004640Z:7c12982a-d295-45d0-b7ef-ef6875f47a76"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:40 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnMvY2hpY2Fnbz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago\",\r\n \"name\": \"chicago\",\r\n \"displayName\": \"chicago\",\r\n \"latitude\": \"80.5\",\r\n \"longitude\": \"-45.5\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "197"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12760"
+ ],
+ "x-ms-request-id": [
+ "210a75c0-7bcb-4dd0-9351-ff168d30ac63"
+ ],
+ "x-ms-correlation-request-id": [
+ "210a75c0-7bcb-4dd0-9351-ff168d30ac63"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004639Z:210a75c0-7bcb-4dd0-9351-ff168d30ac63"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnMvY2hpY2Fnbz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago\",\r\n \"name\": \"chicago\",\r\n \"displayName\": \"chicago\",\r\n \"latitude\": \"90\",\r\n \"longitude\": \"-45.5\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "195"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12759"
+ ],
+ "x-ms-request-id": [
+ "9c9de276-83ce-491c-8625-a8ac07d05ffe"
+ ],
+ "x-ms-correlation-request-id": [
+ "9c9de276-83ce-491c-8625-a8ac07d05ffe"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004640Z:9c9de276-83ce-491c-8625-a8ac07d05ffe"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:40 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnMvY2hpY2Fnbz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"LocationNotFound\",\r\n \"message\": \"The location name 'chicago' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "97"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12758"
+ ],
+ "x-ms-request-id": [
+ "2e70aba8-371c-4f22-8fed-ead4144c9fa1"
+ ],
+ "x-ms-correlation-request-id": [
+ "2e70aba8-371c-4f22-8fed-ead4144c9fa1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004641Z:2e70aba8-371c-4f22-8fed-ead4144c9fa1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:40 GMT"
+ ]
+ },
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/chicago?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnMvY2hpY2Fnbz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1158"
+ ],
+ "x-ms-request-id": [
+ "25f7d88c-bc25-4a9e-a987-10e35e123d97"
+ ],
+ "x-ms-correlation-request-id": [
+ "25f7d88c-bc25-4a9e-a987-10e35e123d97"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160213T004641Z:25f7d88c-bc25-4a9e-a987-10e35e123d97"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Sat, 13 Feb 2016 00:46:40 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestOffer.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestOffer.json
new file mode 100644
index 000000000000..d40598353cc9
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestOffer.json
@@ -0,0 +1,1613 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1161"
+ ],
+ "x-ms-request-id": [
+ "49eb330c-6601-46d0-aeee-49ae68c1ddef"
+ ],
+ "x-ms-correlation-request-id": [
+ "49eb330c-6601-46d0-aeee-49ae68c1ddef"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204755Z:49eb330c-6601-46d0-aeee-49ae68c1ddef"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:55 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1159"
+ ],
+ "x-ms-request-id": [
+ "1a37f833-5dd3-4764-a76b-ff3082ae281f"
+ ],
+ "x-ms-correlation-request-id": [
+ "1a37f833-5dd3-4764-a76b-ff3082ae281f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204756Z:1a37f833-5dd3-4764-a76b-ff3082ae281f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:55 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1160"
+ ],
+ "x-ms-request-id": [
+ "f02cf877-ff98-4083-9f91-6fdc8f027741"
+ ],
+ "x-ms-correlation-request-id": [
+ "f02cf877-ff98-4083-9f91-6fdc8f027741"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204755Z:f02cf877-ff98-4083-9f91-6fdc8f027741"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:55 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1158"
+ ],
+ "x-ms-request-id": [
+ "ff138264-8f34-4e04-bd62-f45e7297e40e"
+ ],
+ "x-ms-correlation-request-id": [
+ "ff138264-8f34-4e04-bd62-f45e7297e40e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204756Z:ff138264-8f34-4e04-bd62-f45e7297e40e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:56 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12753"
+ ],
+ "x-ms-request-id": [
+ "f5a9c1c9-954c-4bab-85b2-0d7d4387c974"
+ ],
+ "x-ms-correlation-request-id": [
+ "f5a9c1c9-954c-4bab-85b2-0d7d4387c974"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204756Z:f5a9c1c9-954c-4bab-85b2-0d7d4387c974"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:56 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "100"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12752"
+ ],
+ "x-ms-request-id": [
+ "1a46567c-f0d5-4c4a-9d1e-8d95d94faf4d"
+ ],
+ "x-ms-correlation-request-id": [
+ "1a46567c-f0d5-4c4a-9d1e-8d95d94faf4d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204757Z:1a46567c-f0d5-4c4a-9d1e-8d95d94faf4d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:57 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12738"
+ ],
+ "x-ms-request-id": [
+ "f266be8f-3160-4767-81ba-7ec0aedcabf5"
+ ],
+ "x-ms-correlation-request-id": [
+ "f266be8f-3160-4767-81ba-7ec0aedcabf5"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204805Z:f266be8f-3160-4767-81ba-7ec0aedcabf5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:04 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01\",\r\n \"name\": \"TestRG01\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "170"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1167"
+ ],
+ "x-ms-request-id": [
+ "407ec5b2-467f-4bab-8171-4da6584e6cc1"
+ ],
+ "x-ms-correlation-request-id": [
+ "407ec5b2-467f-4bab-8171-4da6584e6cc1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204757Z:407ec5b2-467f-4bab-8171-4da6584e6cc1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:57 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL1Rlc3RSRzAxL3Jlc291cmNlcz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12751"
+ ],
+ "x-ms-request-id": [
+ "ef733e76-1683-4349-82a4-8cd98f7d4728"
+ ],
+ "x-ms-correlation-request-id": [
+ "ef733e76-1683-4349-82a4-8cd98f7d4728"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204757Z:ef733e76-1683-4349-82a4-8cd98f7d4728"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:57 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestRG01\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "52"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01\",\r\n \"name\": \"TestRG01\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "170"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1166"
+ ],
+ "x-ms-request-id": [
+ "3eb8419d-f58f-467e-84f8-735ec1aef922"
+ ],
+ "x-ms-correlation-request-id": [
+ "3eb8419d-f58f-467e-84f8-735ec1aef922"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204758Z:3eb8419d-f58f-467e-84f8-735ec1aef922"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:57 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestRG01\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "52"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01\",\r\n \"name\": \"TestRG01\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "170"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1162"
+ ],
+ "x-ms-request-id": [
+ "99bfc613-1c83-4658-8bfe-44b265def86a"
+ ],
+ "x-ms-correlation-request-id": [
+ "99bfc613-1c83-4658-8bfe-44b265def86a"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204801Z:99bfc613-1c83-4658-8bfe-44b265def86a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:01 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucz9hcGktdmVyc2lvbj0xLjAmaW5jbHVkZURldGFpbHM9ZmFsc2U=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12750"
+ ],
+ "x-ms-request-id": [
+ "58fd94b4-ad71-4585-b277-78c9b490bf19"
+ ],
+ "x-ms-correlation-request-id": [
+ "58fd94b4-ad71-4585-b277-78c9b490bf19"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204758Z:58fd94b4-ad71-4585-b277-78c9b490bf19"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:57 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0QmFzZVBsYW4wMT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestBasePlan01\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "250"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01\",\r\n \"name\": \"TestBasePlan01\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "405"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1165"
+ ],
+ "x-ms-request-id": [
+ "1f6486f7-85ac-483c-b370-a7a5ed1bf849"
+ ],
+ "x-ms-correlation-request-id": [
+ "1f6486f7-85ac-483c-b370-a7a5ed1bf849"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204758Z:1f6486f7-85ac-483c-b370-a7a5ed1bf849"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:58 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0QmFzZVBsYW4wMT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01\",\r\n \"name\": \"TestBasePlan01\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1033"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01\",\r\n \"name\": \"TestBasePlan01\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestBasePlan01\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "801"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1164"
+ ],
+ "x-ms-request-id": [
+ "9c3cc4b6-fb76-406b-a79e-a7df5820fd82"
+ ],
+ "x-ms-correlation-request-id": [
+ "9c3cc4b6-fb76-406b-a79e-a7df5820fd82"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204759Z:9c3cc4b6-fb76-406b-a79e-a7df5820fd82"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0QmFzZVBsYW4wMT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01\",\r\n \"name\": \"TestBasePlan01\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1045"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01\",\r\n \"name\": \"TestBasePlan01\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestBasePlan01\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "800"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1163"
+ ],
+ "x-ms-request-id": [
+ "b933ff2d-1c71-45d7-90e8-4e6de70fcfbb"
+ ],
+ "x-ms-correlation-request-id": [
+ "b933ff2d-1c71-45d7-90e8-4e6de70fcfbb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204801Z:b933ff2d-1c71-45d7-90e8-4e6de70fcfbb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:01 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12749"
+ ],
+ "x-ms-request-id": [
+ "d5d4d023-5371-4b87-a31d-c22a74d41ba8"
+ ],
+ "x-ms-correlation-request-id": [
+ "d5d4d023-5371-4b87-a31d-c22a74d41ba8"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204759Z:d5d4d023-5371-4b87-a31d-c22a74d41ba8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:58 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0QmFzZVBsYW4wMT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01\",\r\n \"name\": \"TestBasePlan01\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestBasePlan01\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "801"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12748"
+ ],
+ "x-ms-request-id": [
+ "5321bc87-91d4-4b85-827c-2e008b0cf851"
+ ],
+ "x-ms-correlation-request-id": [
+ "5321bc87-91d4-4b85-827c-2e008b0cf851"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204800Z:5321bc87-91d4-4b85-827c-2e008b0cf851"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0QmFzZVBsYW4wMT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01\",\r\n \"name\": \"TestBasePlan01\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestBasePlan01\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "801"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12747"
+ ],
+ "x-ms-request-id": [
+ "30887cfb-1c1d-4281-a4bc-f9fbdc1732ee"
+ ],
+ "x-ms-correlation-request-id": [
+ "30887cfb-1c1d-4281-a4bc-f9fbdc1732ee"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204800Z:30887cfb-1c1d-4281-a4bc-f9fbdc1732ee"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:47:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0QmFzZVBsYW4wMT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestBasePlan01' under resource group 'TestRG01' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "156"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "8497e5aa-d8b8-4425-bf71-f92da63de4bf"
+ ],
+ "x-ms-correlation-request-id": [
+ "8497e5aa-d8b8-4425-bf71-f92da63de4bf"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204805Z:8497e5aa-d8b8-4425-bf71-f92da63de4bf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:04 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/offers?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12746"
+ ],
+ "x-ms-request-id": [
+ "2847ab64-0a81-4c94-9894-ec8c740b8ed1"
+ ],
+ "x-ms-correlation-request-id": [
+ "2847ab64-0a81-4c94-9894-ec8c740b8ed1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204801Z:2847ab64-0a81-4c94-9894-ec8c740b8ed1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:01 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyMDE/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestOffer01\",\r\n \"displayName\": \"TestOffer01\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"name\": \"TestOffer01\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1113"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01\",\r\n \"name\": \"TestOffer01\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestOffer01\",\r\n \"displayName\": \"TestOffer01\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestBasePlan01\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "948"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1161"
+ ],
+ "x-ms-request-id": [
+ "83016179-a3f8-4179-876f-df0fec69bc53"
+ ],
+ "x-ms-correlation-request-id": [
+ "83016179-a3f8-4179-876f-df0fec69bc53"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204802Z:83016179-a3f8-4179-876f-df0fec69bc53"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:02 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyMDE/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestOffer01\",\r\n \"displayName\": \"TestOffer01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01\",\r\n \"name\": \"TestOffer01\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1365"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01\",\r\n \"name\": \"TestOffer01\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestOffer01\",\r\n \"displayName\": \"TestOffer01\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestBasePlan01\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "947"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1160"
+ ],
+ "x-ms-request-id": [
+ "29e79456-f54f-4dbf-a5d1-145625b31de9"
+ ],
+ "x-ms-correlation-request-id": [
+ "29e79456-f54f-4dbf-a5d1-145625b31de9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204803Z:29e79456-f54f-4dbf-a5d1-145625b31de9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyMDE/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01\",\r\n \"name\": \"TestOffer01\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestOffer01\",\r\n \"displayName\": \"TestOffer01\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestBasePlan01\",\r\n \"displayName\": \"TestBasePlan01\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestBasePlan01\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "948"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12741"
+ ],
+ "x-ms-request-id": [
+ "89e66bb9-2ed7-4d6e-8b54-484d0cabf613"
+ ],
+ "x-ms-correlation-request-id": [
+ "89e66bb9-2ed7-4d6e-8b54-484d0cabf613"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204802Z:89e66bb9-2ed7-4d6e-8b54-484d0cabf613"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyMDE/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/offers/TestOffer01' under resource group 'TestRG01' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "154"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "39d0ff5e-747d-423f-ad57-1722cdfdbeb0"
+ ],
+ "x-ms-correlation-request-id": [
+ "39d0ff5e-747d-423f-ad57-1722cdfdbeb0"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204804Z:39d0ff5e-747d-423f-ad57-1722cdfdbeb0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:04 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/offers/TestOffer01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9vZmZlcnMvVGVzdE9mZmVyMDE/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1159"
+ ],
+ "x-ms-request-id": [
+ "8e3c6439-92f5-4098-afa2-9c41a22e3c49"
+ ],
+ "x-ms-correlation-request-id": [
+ "8e3c6439-92f5-4098-afa2-9c41a22e3c49"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204804Z:8e3c6439-92f5-4098-afa2-9c41a22e3c49"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01/providers/Microsoft.Subscriptions/plans/TestBasePlan01?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9wbGFucy9UZXN0QmFzZVBsYW4wMT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1158"
+ ],
+ "x-ms-request-id": [
+ "3a0f0f86-b630-4e57-bb83-cea34293a0fa"
+ ],
+ "x-ms-correlation-request-id": [
+ "3a0f0f86-b630-4e57-bb83-cea34293a0fa"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204805Z:3a0f0f86-b630-4e57-bb83-cea34293a0fa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:04 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "1157"
+ ],
+ "x-ms-request-id": [
+ "4c639d7f-c12c-4e26-9a00-b3c3a327f5ed"
+ ],
+ "x-ms-correlation-request-id": [
+ "4c639d7f-c12c-4e26-9a00-b3c3a327f5ed"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204805Z:4c639d7f-c12c-4e26-9a00-b3c3a327f5ed"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:05 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3dNUzFTUlVSTlQwNUVJaXdpYW05aVRHOWpZWFJwYjI0aU9pSnlaV1J0YjI1a0luMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12737"
+ ],
+ "x-ms-request-id": [
+ "7b341654-3d4b-4f92-b621-6c2a8e8a132f"
+ ],
+ "x-ms-correlation-request-id": [
+ "7b341654-3d4b-4f92-b621-6c2a8e8a132f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204805Z:7b341654-3d4b-4f92-b621-6c2a8e8a132f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:05 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3dNUzFTUlVSTlQwNUVJaXdpYW05aVRHOWpZWFJwYjI0aU9pSnlaV1J0YjI1a0luMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12723"
+ ],
+ "x-ms-request-id": [
+ "5dcfa0e6-fca0-43c8-a875-6d6357ec73cf"
+ ],
+ "x-ms-correlation-request-id": [
+ "5dcfa0e6-fca0-43c8-a875-6d6357ec73cf"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204821Z:5dcfa0e6-fca0-43c8-a875-6d6357ec73cf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:21 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3dNUzFTUlVSTlQwNUVJaXdpYW05aVRHOWpZWFJwYjI0aU9pSnlaV1J0YjI1a0luMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12703"
+ ],
+ "x-ms-request-id": [
+ "187274ca-7fad-4e97-9986-6e9a79f1c554"
+ ],
+ "x-ms-correlation-request-id": [
+ "187274ca-7fad-4e97-9986-6e9a79f1c554"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204836Z:187274ca-7fad-4e97-9986-6e9a79f1c554"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:36 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcwMS1SRURNT05EIiwiam9iTG9jYXRpb24iOiJyZWRtb25kIn0?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3dNUzFTUlVSTlQwNUVJaXdpYW05aVRHOWpZWFJwYjI0aU9pSnlaV1J0YjI1a0luMD9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12702"
+ ],
+ "x-ms-request-id": [
+ "92960134-d35f-4e40-bdd6-b24da8e6ae8c"
+ ],
+ "x-ms-correlation-request-id": [
+ "92960134-d35f-4e40-bdd6-b24da8e6ae8c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204851Z:92960134-d35f-4e40-bdd6-b24da8e6ae8c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:51 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG01?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzAxP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'TestRG01' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "100"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12701"
+ ],
+ "x-ms-request-id": [
+ "27d67a19-b140-4535-9fb9-7bb2c51f3764"
+ ],
+ "x-ms-correlation-request-id": [
+ "27d67a19-b140-4535-9fb9-7bb2c51f3764"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204851Z:27d67a19-b140-4535-9fb9-7bb2c51f3764"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:48:51 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestPlan.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestPlan.json
new file mode 100644
index 000000000000..83bd4e8d9ea9
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestPlan.json
@@ -0,0 +1,1205 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1151"
+ ],
+ "x-ms-request-id": [
+ "c3233554-a69b-496d-96fb-1832f126186b"
+ ],
+ "x-ms-correlation-request-id": [
+ "c3233554-a69b-496d-96fb-1832f126186b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205007Z:c3233554-a69b-496d-96fb-1832f126186b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1149"
+ ],
+ "x-ms-request-id": [
+ "f4fa2dd7-679a-4715-b2da-7e5a2472dc9e"
+ ],
+ "x-ms-correlation-request-id": [
+ "f4fa2dd7-679a-4715-b2da-7e5a2472dc9e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205008Z:f4fa2dd7-679a-4715-b2da-7e5a2472dc9e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1150"
+ ],
+ "x-ms-request-id": [
+ "ea2428b9-fa80-4e3a-a089-95dfeed0b324"
+ ],
+ "x-ms-correlation-request-id": [
+ "ea2428b9-fa80-4e3a-a089-95dfeed0b324"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205008Z:ea2428b9-fa80-4e3a-a089-95dfeed0b324"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1148"
+ ],
+ "x-ms-request-id": [
+ "d85f286a-c20a-42a0-b6bd-2d88ae54990f"
+ ],
+ "x-ms-correlation-request-id": [
+ "d85f286a-c20a-42a0-b6bd-2d88ae54990f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205009Z:d85f286a-c20a-42a0-b6bd-2d88ae54990f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:09 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12836"
+ ],
+ "x-ms-request-id": [
+ "b2073222-39a0-405a-b6e0-dbfc0e3b6a07"
+ ],
+ "x-ms-correlation-request-id": [
+ "b2073222-39a0-405a-b6e0-dbfc0e3b6a07"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205009Z:b2073222-39a0-405a-b6e0-dbfc0e3b6a07"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:09 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkc/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-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12835"
+ ],
+ "x-ms-request-id": [
+ "a702f641-4a62-404b-bac4-7b3a74d65dab"
+ ],
+ "x-ms-correlation-request-id": [
+ "a702f641-4a62-404b-bac4-7b3a74d65dab"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205010Z:a702f641-4a62-404b-bac4-7b3a74d65dab"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:10 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkc/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": [
+ "12821"
+ ],
+ "x-ms-request-id": [
+ "98cc5f2e-c060-4601-b9fd-0e6a9e9f086f"
+ ],
+ "x-ms-correlation-request-id": [
+ "98cc5f2e-c060-4601-b9fd-0e6a9e9f086f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205015Z:98cc5f2e-c060-4601-b9fd-0e6a9e9f086f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:15 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG\",\r\n \"name\": \"TestPlanRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "174"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1155"
+ ],
+ "x-ms-request-id": [
+ "f42d2f2c-1ebf-4979-8fbb-899983257cf5"
+ ],
+ "x-ms-correlation-request-id": [
+ "f42d2f2c-1ebf-4979-8fbb-899983257cf5"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205010Z:f42d2f2c-1ebf-4979-8fbb-899983257cf5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:10 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL1Rlc3RQbGFuUkcvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12834"
+ ],
+ "x-ms-request-id": [
+ "b7f5742b-f3fd-40e0-a95b-4952816f9f10"
+ ],
+ "x-ms-correlation-request-id": [
+ "b7f5742b-f3fd-40e0-a95b-4952816f9f10"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205010Z:b7f5742b-f3fd-40e0-a95b-4952816f9f10"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:10 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkc/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestPlanRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "54"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG\",\r\n \"name\": \"TestPlanRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "174"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1154"
+ ],
+ "x-ms-request-id": [
+ "9fee009b-28a2-438f-9822-523579b9054f"
+ ],
+ "x-ms-correlation-request-id": [
+ "9fee009b-28a2-438f-9822-523579b9054f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205010Z:9fee009b-28a2-438f-9822-523579b9054f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:10 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zP2FwaS12ZXJzaW9uPTEuMCZpbmNsdWRlRGV0YWlscz1mYWxzZQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12831"
+ ],
+ "x-ms-request-id": [
+ "d0f73f22-2561-4a4e-9383-1e793fde8e88"
+ ],
+ "x-ms-correlation-request-id": [
+ "d0f73f22-2561-4a4e-9383-1e793fde8e88"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205011Z:d0f73f22-2561-4a4e-9383-1e793fde8e88"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:11 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zL1Rlc3RQbGFuUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestPlanPlan\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "244"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan\",\r\n \"name\": \"TestPlanPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "399"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1153"
+ ],
+ "x-ms-request-id": [
+ "4c895ed3-2823-489f-adb5-f8b24dac8043"
+ ],
+ "x-ms-correlation-request-id": [
+ "4c895ed3-2823-489f-adb5-f8b24dac8043"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205011Z:4c895ed3-2823-489f-adb5-f8b24dac8043"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:11 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zL1Rlc3RQbGFuUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan\",\r\n \"name\": \"TestPlanPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1027"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan\",\r\n \"name\": \"TestPlanPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "793"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1152"
+ ],
+ "x-ms-request-id": [
+ "1caf446f-b040-4f66-a30c-b7292d71eeb9"
+ ],
+ "x-ms-correlation-request-id": [
+ "1caf446f-b040-4f66-a30c-b7292d71eeb9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205012Z:1caf446f-b040-4f66-a30c-b7292d71eeb9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:12 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zL1Rlc3RQbGFuUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan\",\r\n \"name\": \"TestPlanPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1039"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan\",\r\n \"name\": \"TestPlanPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "792"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1151"
+ ],
+ "x-ms-request-id": [
+ "cb700b4f-d170-4240-a606-b1e8d76d8021"
+ ],
+ "x-ms-correlation-request-id": [
+ "cb700b4f-d170-4240-a606-b1e8d76d8021"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205014Z:cb700b4f-d170-4240-a606-b1e8d76d8021"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12829"
+ ],
+ "x-ms-request-id": [
+ "3d67a862-7353-4644-bf4c-cebcc3a10d1c"
+ ],
+ "x-ms-correlation-request-id": [
+ "3d67a862-7353-4644-bf4c-cebcc3a10d1c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205012Z:3d67a862-7353-4644-bf4c-cebcc3a10d1c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:11 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zL1Rlc3RQbGFuUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan\",\r\n \"name\": \"TestPlanPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "793"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12827"
+ ],
+ "x-ms-request-id": [
+ "a5004238-eff1-4f55-8b67-c5a4b539f1fe"
+ ],
+ "x-ms-correlation-request-id": [
+ "a5004238-eff1-4f55-8b67-c5a4b539f1fe"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205013Z:a5004238-eff1-4f55-8b67-c5a4b539f1fe"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:12 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zL1Rlc3RQbGFuUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan\",\r\n \"name\": \"TestPlanPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestPlanPlan\",\r\n \"displayName\": \"TestPlanPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestPlanPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "793"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12825"
+ ],
+ "x-ms-request-id": [
+ "1132628f-18ae-4abb-bbd5-c2addfe29abc"
+ ],
+ "x-ms-correlation-request-id": [
+ "1132628f-18ae-4abb-bbd5-c2addfe29abc"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205013Z:1132628f-18ae-4abb-bbd5-c2addfe29abc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zL1Rlc3RQbGFuUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestPlanPlan' under resource group 'TestPlanRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "156"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "ec8a4207-baa6-4348-91fa-bbfcf1879afb"
+ ],
+ "x-ms-correlation-request-id": [
+ "ec8a4207-baa6-4348-91fa-bbfcf1879afb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205015Z:ec8a4207-baa6-4348-91fa-bbfcf1879afb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:15 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG/providers/Microsoft.Subscriptions/plans/TestPlanPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkcvcHJvdmlkZXJzL01pY3Jvc29mdC5TdWJzY3JpcHRpb25zL3BsYW5zL1Rlc3RQbGFuUGxhbj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1150"
+ ],
+ "x-ms-request-id": [
+ "c752320d-2783-44f3-b41b-4313cb60fb11"
+ ],
+ "x-ms-correlation-request-id": [
+ "c752320d-2783-44f3-b41b-4313cb60fb11"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205014Z:c752320d-2783-44f3-b41b-4313cb60fb11"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:14 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkc/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": [
+ "1149"
+ ],
+ "x-ms-request-id": [
+ "66bf89c6-1646-452c-8035-313a4b3b19b0"
+ ],
+ "x-ms-correlation-request-id": [
+ "66bf89c6-1646-452c-8035-313a4b3b19b0"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205016Z:66bf89c6-1646-452c-8035-313a4b3b19b0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:15 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUExBTlJHLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUExBTlJHLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVFeEJUbEpITFZKRlJFMVBUa1FpTENKcWIySk1iMk5oZEdsdmJpSTZJbkpsWkcxdmJtUWlmUT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12820"
+ ],
+ "x-ms-request-id": [
+ "de806a49-39d8-4fa6-9abe-a96323f483a2"
+ ],
+ "x-ms-correlation-request-id": [
+ "de806a49-39d8-4fa6-9abe-a96323f483a2"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205016Z:de806a49-39d8-4fa6-9abe-a96323f483a2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:15 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUExBTlJHLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUExBTlJHLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVFeEJUbEpITFZKRlJFMVBUa1FpTENKcWIySk1iMk5oZEdsdmJpSTZJbkpsWkcxdmJtUWlmUT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12804"
+ ],
+ "x-ms-request-id": [
+ "68150b83-af82-49af-ad5f-5822dbc36130"
+ ],
+ "x-ms-correlation-request-id": [
+ "68150b83-af82-49af-ad5f-5822dbc36130"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205031Z:68150b83-af82-49af-ad5f-5822dbc36130"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:31 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUExBTlJHLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUExBTlJHLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVFeEJUbEpITFZKRlJFMVBUa1FpTENKcWIySk1iMk5oZEdsdmJpSTZJbkpsWkcxdmJtUWlmUT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12795"
+ ],
+ "x-ms-request-id": [
+ "936622e8-53a4-48c1-ada6-82fe2053b7e9"
+ ],
+ "x-ms-correlation-request-id": [
+ "936622e8-53a4-48c1-ada6-82fe2053b7e9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205046Z:936622e8-53a4-48c1-ada6-82fe2053b7e9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:46 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestPlanRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RQbGFuUkc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'TestPlanRG' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "102"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12794"
+ ],
+ "x-ms-request-id": [
+ "19b0d0e1-ad91-4c1f-b611-588987ea10f7"
+ ],
+ "x-ms-correlation-request-id": [
+ "19b0d0e1-ad91-4c1f-b611-588987ea10f7"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T205046Z:19b0d0e1-ad91-4c1f-b611-588987ea10f7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:50:46 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestResourceGroup.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestResourceGroup.json
new file mode 100644
index 000000000000..3ff9b5e1b3a0
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestResourceGroup.json
@@ -0,0 +1,755 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1132"
+ ],
+ "x-ms-request-id": [
+ "6725fce9-5ce2-48e4-aaf2-75a7d46e3997"
+ ],
+ "x-ms-correlation-request-id": [
+ "6725fce9-5ce2-48e4-aaf2-75a7d46e3997"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231429Z:6725fce9-5ce2-48e4-aaf2-75a7d46e3997"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1130"
+ ],
+ "x-ms-request-id": [
+ "af18f0fb-485a-436a-b096-c2156728a52d"
+ ],
+ "x-ms-correlation-request-id": [
+ "af18f0fb-485a-436a-b096-c2156728a52d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231429Z:af18f0fb-485a-436a-b096-c2156728a52d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1131"
+ ],
+ "x-ms-request-id": [
+ "d1ac00f9-0912-4caa-8065-b7b92f3fae29"
+ ],
+ "x-ms-correlation-request-id": [
+ "d1ac00f9-0912-4caa-8065-b7b92f3fae29"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231429Z:d1ac00f9-0912-4caa-8065-b7b92f3fae29"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1129"
+ ],
+ "x-ms-request-id": [
+ "a3eff00e-0a92-4c8a-9c43-4802407c4fd6"
+ ],
+ "x-ms-correlation-request-id": [
+ "a3eff00e-0a92-4c8a-9c43-4802407c4fd6"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231430Z:a3eff00e-0a92-4c8a-9c43-4802407c4fd6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12651"
+ ],
+ "x-ms-request-id": [
+ "9ee4943c-a25a-42c4-b70b-f073f950d45c"
+ ],
+ "x-ms-correlation-request-id": [
+ "9ee4943c-a25a-42c4-b70b-f073f950d45c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231430Z:9ee4943c-a25a-42c4-b70b-f073f950d45c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:30 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG1?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "99"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12649"
+ ],
+ "x-ms-request-id": [
+ "a956fc1b-8bc8-42bb-8267-ded6be5d7c90"
+ ],
+ "x-ms-correlation-request-id": [
+ "a956fc1b-8bc8-42bb-8267-ded6be5d7c90"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231431Z:a956fc1b-8bc8-42bb-8267-ded6be5d7c90"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:30 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG1?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzE/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": [
+ "12645"
+ ],
+ "x-ms-request-id": [
+ "65447f99-5054-40c3-93bb-96e08c73d849"
+ ],
+ "x-ms-correlation-request-id": [
+ "65447f99-5054-40c3-93bb-96e08c73d849"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231432Z:65447f99-5054-40c3-93bb-96e08c73d849"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:31 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG1?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG1\",\r\n \"name\": \"TestRG1\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "168"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1133"
+ ],
+ "x-ms-request-id": [
+ "486f79bc-1f1d-46e2-b80c-53159b070251"
+ ],
+ "x-ms-correlation-request-id": [
+ "486f79bc-1f1d-46e2-b80c-53159b070251"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231431Z:486f79bc-1f1d-46e2-b80c-53159b070251"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:30 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG1/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL1Rlc3RSRzEvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12648"
+ ],
+ "x-ms-request-id": [
+ "6e21e16d-38a2-4998-b36b-259fc81e500b"
+ ],
+ "x-ms-correlation-request-id": [
+ "6e21e16d-38a2-4998-b36b-259fc81e500b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231431Z:6e21e16d-38a2-4998-b36b-259fc81e500b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:30 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG1?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzE/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestRG1\",\r\n \"name\": \"TestRG1\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "168"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12647"
+ ],
+ "x-ms-request-id": [
+ "47deca01-c716-4ae1-9838-9fbda0087d78"
+ ],
+ "x-ms-correlation-request-id": [
+ "47deca01-c716-4ae1-9838-9fbda0087d78"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231431Z:47deca01-c716-4ae1-9838-9fbda0087d78"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:31 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestRG1?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RSRzE/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": [
+ "1132"
+ ],
+ "x-ms-request-id": [
+ "e0b61d04-ce7e-4fca-9602-bcb81cf15ea1"
+ ],
+ "x-ms-correlation-request-id": [
+ "e0b61d04-ce7e-4fca-9602-bcb81cf15ea1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231432Z:e0b61d04-ce7e-4fca-9602-bcb81cf15ea1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:31 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3hMVkpGUkUxUFRrUWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkluSmxaRzF2Ym1RaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12644"
+ ],
+ "x-ms-request-id": [
+ "95b7243c-1f22-478a-80d2-775f2cb767f7"
+ ],
+ "x-ms-correlation-request-id": [
+ "95b7243c-1f22-478a-80d2-775f2cb767f7"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231432Z:95b7243c-1f22-478a-80d2-775f2cb767f7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:31 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3hMVkpGUkUxUFRrUWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkluSmxaRzF2Ym1RaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12632"
+ ],
+ "x-ms-request-id": [
+ "e3a1271d-7145-4eb4-80c2-dae028beb581"
+ ],
+ "x-ms-correlation-request-id": [
+ "e3a1271d-7145-4eb4-80c2-dae028beb581"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231447Z:e3a1271d-7145-4eb4-80c2-dae028beb581"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:14:47 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3hMVkpGUkUxUFRrUWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkluSmxaRzF2Ym1RaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12800"
+ ],
+ "x-ms-request-id": [
+ "414c0f56-796d-4355-8b5c-407ffab3bc66"
+ ],
+ "x-ms-correlation-request-id": [
+ "414c0f56-796d-4355-8b5c-407ffab3bc66"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231502Z:414c0f56-796d-4355-8b5c-407ffab3bc66"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:15:02 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUUkcxLVJFRE1PTkQiLCJqb2JMb2NhdGlvbiI6InJlZG1vbmQifQ?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVVrY3hMVkpGUkUxUFRrUWlMQ0pxYjJKTWIyTmhkR2x2YmlJNkluSmxaRzF2Ym1RaWZRP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==",
+ "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": [
+ "12794"
+ ],
+ "x-ms-request-id": [
+ "07a80eb8-f652-4e4d-b555-6b373e642a78"
+ ],
+ "x-ms-correlation-request-id": [
+ "07a80eb8-f652-4e4d-b555-6b373e642a78"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T231517Z:07a80eb8-f652-4e4d-b555-6b373e642a78"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 23:15:17 GMT"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestTenantSubscription.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestTenantSubscription.json
new file mode 100644
index 000000000000..933ba01d2b1d
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestTenantSubscription.json
@@ -0,0 +1,2252 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1172"
+ ],
+ "x-ms-request-id": [
+ "d98d89c2-f3b4-428e-8762-410e71bf866d"
+ ],
+ "x-ms-correlation-request-id": [
+ "d98d89c2-f3b4-428e-8762-410e71bf866d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204107Z:d98d89c2-f3b4-428e-8762-410e71bf866d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1170"
+ ],
+ "x-ms-request-id": [
+ "861d3910-958e-4e4f-81ba-16e6128fe8dd"
+ ],
+ "x-ms-correlation-request-id": [
+ "861d3910-958e-4e4f-81ba-16e6128fe8dd"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204107Z:861d3910-958e-4e4f-81ba-16e6128fe8dd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1171"
+ ],
+ "x-ms-request-id": [
+ "996d8c3d-aa89-4bbe-9b58-79e4048189f8"
+ ],
+ "x-ms-correlation-request-id": [
+ "996d8c3d-aa89-4bbe-9b58-79e4048189f8"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204107Z:996d8c3d-aa89-4bbe-9b58-79e4048189f8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1169"
+ ],
+ "x-ms-request-id": [
+ "a4db64fd-6cd1-4d6b-892b-e529eeb794b1"
+ ],
+ "x-ms-correlation-request-id": [
+ "a4db64fd-6cd1-4d6b-892b-e529eeb794b1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204107Z:a4db64fd-6cd1-4d6b-892b-e529eeb794b1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:07 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12847"
+ ],
+ "x-ms-request-id": [
+ "fe3a53c2-01cb-494f-b838-705b13ca16f8"
+ ],
+ "x-ms-correlation-request-id": [
+ "fe3a53c2-01cb-494f-b838-705b13ca16f8"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204108Z:fe3a53c2-01cb-494f-b838-705b13ca16f8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:08 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12846"
+ ],
+ "x-ms-request-id": [
+ "86409608-f019-4dea-9ae9-e9ff9673b912"
+ ],
+ "x-ms-correlation-request-id": [
+ "86409608-f019-4dea-9ae9-e9ff9673b912"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204109Z:86409608-f019-4dea-9ae9-e9ff9673b912"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:08 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12797"
+ ],
+ "x-ms-request-id": [
+ "304e69d6-6fd9-481a-9200-8eb209e53656"
+ ],
+ "x-ms-correlation-request-id": [
+ "304e69d6-6fd9-481a-9200-8eb209e53656"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204152Z:304e69d6-6fd9-481a-9200-8eb209e53656"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:52 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG\",\r\n \"name\": \"TestTenantSubscriptionRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "202"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1183"
+ ],
+ "x-ms-request-id": [
+ "eb67ff05-3370-4cb0-a4fd-545312f3acf2"
+ ],
+ "x-ms-correlation-request-id": [
+ "eb67ff05-3370-4cb0-a4fd-545312f3acf2"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204109Z:eb67ff05-3370-4cb0-a4fd-545312f3acf2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:08 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "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": [
+ "12845"
+ ],
+ "x-ms-request-id": [
+ "1ba3830a-b68b-4ca6-ba9f-9ad7bae1d054"
+ ],
+ "x-ms-correlation-request-id": [
+ "1ba3830a-b68b-4ca6-ba9f-9ad7bae1d054"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204109Z:1ba3830a-b68b-4ca6-ba9f-9ad7bae1d054"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:08 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestTenantSubscriptionRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "68"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG\",\r\n \"name\": \"TestTenantSubscriptionRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "202"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1182"
+ ],
+ "x-ms-request-id": [
+ "60e58d43-cf38-445e-8cc9-3fed55b76026"
+ ],
+ "x-ms-correlation-request-id": [
+ "60e58d43-cf38-445e-8cc9-3fed55b76026"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204110Z:60e58d43-cf38-445e-8cc9-3fed55b76026"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:10 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestTenantSubscriptionRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "68"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG\",\r\n \"name\": \"TestTenantSubscriptionRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "202"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1178"
+ ],
+ "x-ms-request-id": [
+ "bb3331cc-0d00-44ec-8d13-37721656c86f"
+ ],
+ "x-ms-correlation-request-id": [
+ "bb3331cc-0d00-44ec-8d13-37721656c86f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204114Z:bb3331cc-0d00-44ec-8d13-37721656c86f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12843"
+ ],
+ "x-ms-request-id": [
+ "c0e5f31f-f706-49d4-a161-9264d14b0181"
+ ],
+ "x-ms-correlation-request-id": [
+ "c0e5f31f-f706-49d4-a161-9264d14b0181"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204110Z:c0e5f31f-f706-49d4-a161-9264d14b0181"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:10 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFRlbmFudFN1YnNjcmlwdGlvblBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "286"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan\",\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "469"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1181"
+ ],
+ "x-ms-request-id": [
+ "014e4853-3357-40a0-8cb8-f311eae61996"
+ ],
+ "x-ms-correlation-request-id": [
+ "014e4853-3357-40a0-8cb8-f311eae61996"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204110Z:014e4853-3357-40a0-8cb8-f311eae61996"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:10 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFRlbmFudFN1YnNjcmlwdGlvblBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan\",\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1627"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan\",\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1222"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1180"
+ ],
+ "x-ms-request-id": [
+ "0e81a954-529e-44b2-9322-58c01722cbe3"
+ ],
+ "x-ms-correlation-request-id": [
+ "0e81a954-529e-44b2-9322-58c01722cbe3"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204112Z:0e81a954-529e-44b2-9322-58c01722cbe3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:12 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFRlbmFudFN1YnNjcmlwdGlvblBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan\",\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1639"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan\",\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1221"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1179"
+ ],
+ "x-ms-request-id": [
+ "4cd8e729-cfbe-411e-b84e-4d1011df0db1"
+ ],
+ "x-ms-correlation-request-id": [
+ "4cd8e729-cfbe-411e-b84e-4d1011df0db1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204113Z:4cd8e729-cfbe-411e-b84e-4d1011df0db1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12840"
+ ],
+ "x-ms-request-id": [
+ "98955957-9775-49c3-a694-4a9fa39f01c1"
+ ],
+ "x-ms-correlation-request-id": [
+ "98955957-9775-49c3-a694-4a9fa39f01c1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204111Z:98955957-9775-49c3-a694-4a9fa39f01c1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:11 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12838"
+ ],
+ "x-ms-request-id": [
+ "9a45c07d-c45d-40b0-a0fe-6951d6fdbb48"
+ ],
+ "x-ms-correlation-request-id": [
+ "9a45c07d-c45d-40b0-a0fe-6951d6fdbb48"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204112Z:9a45c07d-c45d-40b0-a0fe-6951d6fdbb48"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:11 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFRlbmFudFN1YnNjcmlwdGlvblBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan\",\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1222"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12836"
+ ],
+ "x-ms-request-id": [
+ "87bb0120-429d-4e35-9af8-9cb478a0d72c"
+ ],
+ "x-ms-correlation-request-id": [
+ "87bb0120-429d-4e35-9af8-9cb478a0d72c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204113Z:87bb0120-429d-4e35-9af8-9cb478a0d72c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:12 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFRlbmFudFN1YnNjcmlwdGlvblBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan\",\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1222"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12835"
+ ],
+ "x-ms-request-id": [
+ "b71145f9-d352-41d5-8925-df966e219a9d"
+ ],
+ "x-ms-correlation-request-id": [
+ "b71145f9-d352-41d5-8925-df966e219a9d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204113Z:b71145f9-d352-41d5-8925-df966e219a9d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:12 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFRlbmFudFN1YnNjcmlwdGlvblBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan' under resource group 'TestTenantSubscriptionRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "184"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "a48cb9b1-3db6-403b-9c2e-ede7425c9f92"
+ ],
+ "x-ms-correlation-request-id": [
+ "a48cb9b1-3db6-403b-9c2e-ede7425c9f92"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204152Z:a48cb9b1-3db6-403b-9c2e-ede7425c9f92"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:52 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzP2FwaS12ZXJzaW9uPTEuMCZpbmNsdWRlRGV0YWlscz1mYWxzZQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "12833"
+ ],
+ "x-ms-request-id": [
+ "c21d9a13-da68-4813-8646-4493d00592c3"
+ ],
+ "x-ms-correlation-request-id": [
+ "c21d9a13-da68-4813-8646-4493d00592c3"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204114Z:c21d9a13-da68-4813-8646-4493d00592c3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:13 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25PZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1787"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer\",\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1409"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1177"
+ ],
+ "x-ms-request-id": [
+ "efed30c2-3553-4e07-a674-de8951ba50d1"
+ ],
+ "x-ms-correlation-request-id": [
+ "efed30c2-3553-4e07-a674-de8951ba50d1"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204114Z:efed30c2-3553-4e07-a674-de8951ba50d1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:13 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25PZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer\",\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "2071"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer\",\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1408"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1176"
+ ],
+ "x-ms-request-id": [
+ "f90c76f4-4338-4125-8c71-6a16cd00c829"
+ ],
+ "x-ms-correlation-request-id": [
+ "f90c76f4-4338-4125-8c71-6a16cd00c829"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204115Z:f90c76f4-4338-4125-8c71-6a16cd00c829"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25PZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer\",\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "2071"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer\",\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 1,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1408"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1174"
+ ],
+ "x-ms-request-id": [
+ "0f7c9231-badc-482a-829f-5dded18173e8"
+ ],
+ "x-ms-correlation-request-id": [
+ "0f7c9231-badc-482a-829f-5dded18173e8"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204123Z:0f7c9231-badc-482a-829f-5dded18173e8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25PZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer\",\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TestTenantSubscriptionPlan\",\r\n \"displayName\": \"TestTenantSubscriptionPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1409"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12831"
+ ],
+ "x-ms-request-id": [
+ "c85edc0c-c4d9-4aaa-91c5-8e1227da0d19"
+ ],
+ "x-ms-correlation-request-id": [
+ "c85edc0c-c4d9-4aaa-91c5-8e1227da0d19"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204115Z:c85edc0c-c4d9-4aaa-91c5-8e1227da0d19"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25PZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer' under resource group 'TestTenantSubscriptionRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "186"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "13303d6f-2631-4e2e-a882-084b25fcbde4"
+ ],
+ "x-ms-correlation-request-id": [
+ "13303d6f-2631-4e2e-a882-084b25fcbde4"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204151Z:13303d6f-2631-4e2e-a882-084b25fcbde4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:51 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/delegatedProviders/default/offers?api-version=1.0",
+ "EncodedRequestUri": "L2RlbGVnYXRlZFByb3ZpZGVycy9kZWZhdWx0L29mZmVycz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestTenantSubscriptionOffer101\",\r\n \"name\": \"TestTenantSubscriptionOffer101\",\r\n \"displayName\": \"TestTenantSubscriptionOffer101\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan101\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan101\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n },\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestTenantSubscriptionOffer1021\",\r\n \"name\": \"TestTenantSubscriptionOffer1021\",\r\n \"displayName\": \"TestTenantSubscriptionOffer1021\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan1021\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan1021\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n },\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestTenantSubscriptionOffer10621\",\r\n \"name\": \"TestTenantSubscriptionOffer10621\",\r\n \"displayName\": \"TestTenantSubscriptionOffer10621\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan16021\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan16021\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n },\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestTenantSubscriptionOffer120621\",\r\n \"name\": \"TestTenantSubscriptionOffer120621\",\r\n \"displayName\": \"TestTenantSubscriptionOffer120621\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan162021\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan162021\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n },\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestTenantSubscriptio3nOffer120621\",\r\n \"name\": \"TestTenantSubscriptio3nOffer120621\",\r\n \"displayName\": \"TestTenantSubscriptio3nOffer120621\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptio3nPlan162021\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptio3nPlan162021\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n },\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestOfferSQL-bc0a6609-06c9-4539-9a6c-ddd53d68a8e0\",\r\n \"name\": \"TestOfferSQL-bc0a6609-06c9-4539-9a6c-ddd53d68a8e0\",\r\n \"displayName\": \"TestOfferSQL-bc0a6609-06c9-4539-9a6c-ddd53d68a8e0\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestPlanSQL-b049c269-5ab6-424c-852a-d071d969d0de\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n },\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestUpdateQuotaOffer2512\",\r\n \"name\": \"TestUpdateQuotaOffer2512\",\r\n \"displayName\": \"TestUpdateQuotaOffer2512\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TesUpdateQuotaPlan2125\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n },\r\n {\r\n \"id\": \"/delegatedProviders/default/offers/TestTenantSubscriptionOffer\",\r\n \"name\": \"TestTenantSubscriptionOffer\",\r\n \"displayName\": \"TestTenantSubscriptionOffer\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"addonPlans\": [],\r\n \"delegatedProviderId\": \"default\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "5069"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1168"
+ ],
+ "x-ms-request-id": [
+ "48e2fbba-0787-487c-a7fb-0361091db064"
+ ],
+ "x-ms-correlation-request-id": [
+ "48e2fbba-0787-487c-a7fb-0361091db064"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204116Z:48e2fbba-0787-487c-a7fb-0361091db064"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:15 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerId\": \"/delegatedProviders/default/offers/TestTenantSubscriptionOffer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "325"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"OutOfSync\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1175"
+ ],
+ "x-ms-request-id": [
+ "6ab3bcf4-07e7-4a05-b86e-bd1c865d84cb"
+ ],
+ "x-ms-correlation-request-id": [
+ "6ab3bcf4-07e7-4a05-b86e-bd1c865d84cb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204117Z:6ab3bcf4-07e7-4a05-b86e-bd1c865d84cb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:16 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Disabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1481"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Disabled\",\r\n \"quotaSyncState\": \"OutOfSync\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1201"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1173"
+ ],
+ "x-ms-request-id": [
+ "c981308a-d360-4b8b-917f-598c2e1bd4c5"
+ ],
+ "x-ms-correlation-request-id": [
+ "c981308a-d360-4b8b-917f-598c2e1bd4c5"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204124Z:c981308a-d360-4b8b-917f-598c2e1bd4c5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:24 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"Syncing\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1198"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12829"
+ ],
+ "x-ms-request-id": [
+ "6776dbcf-f590-4050-a3e6-d1d08b963beb"
+ ],
+ "x-ms-correlation-request-id": [
+ "6776dbcf-f590-4050-a3e6-d1d08b963beb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204117Z:6776dbcf-f590-4050-a3e6-d1d08b963beb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:16 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1197"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12824"
+ ],
+ "x-ms-request-id": [
+ "02c1f9e9-899b-4020-b622-414534656c83"
+ ],
+ "x-ms-correlation-request-id": [
+ "02c1f9e9-899b-4020-b622-414534656c83"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204122Z:02c1f9e9-899b-4020-b622-414534656c83"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1197"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12823"
+ ],
+ "x-ms-request-id": [
+ "cdf0bc09-7740-4cb1-8c45-3d852e97013c"
+ ],
+ "x-ms-correlation-request-id": [
+ "cdf0bc09-7740-4cb1-8c45-3d852e97013c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204123Z:cdf0bc09-7740-4cb1-8c45-3d852e97013c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:22 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Disabled\",\r\n \"quotaSyncState\": \"Syncing\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1199"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12822"
+ ],
+ "x-ms-request-id": [
+ "57bbf5ab-07ad-4ed1-979a-755acc9f661d"
+ ],
+ "x-ms-correlation-request-id": [
+ "57bbf5ab-07ad-4ed1-979a-755acc9f661d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204124Z:57bbf5ab-07ad-4ed1-979a-755acc9f661d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:24 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Disabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1198"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12819"
+ ],
+ "x-ms-request-id": [
+ "f5ffc433-6204-4a0d-9c08-8158278abdf7"
+ ],
+ "x-ms-correlation-request-id": [
+ "f5ffc433-6204-4a0d-9c08-8158278abdf7"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204129Z:f5ffc433-6204-4a0d-9c08-8158278abdf7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:29 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"subscriptionId\": \"8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e\",\r\n \"displayName\": \"user@contoso.com Test User\",\r\n \"owner\": \"user@contoso.com\",\r\n \"offerName\": \"TestTenantSubscriptionOffer\",\r\n \"offerDisplayName\": \"TestTenantSubscriptionOffer\",\r\n \"state\": \"Deleted\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n },\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": []\r\n }\r\n },\r\n \"containerName\": \"TestTenantSubscriptionPlan\"\r\n }\r\n ],\r\n \"acquiredPlans\": []\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "1197"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12816"
+ ],
+ "x-ms-request-id": [
+ "1b0333c0-bd52-48d5-bdbb-b183d3b0bfb3"
+ ],
+ "x-ms-correlation-request-id": [
+ "1b0333c0-bd52-48d5-bdbb-b183d3b0bfb3"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204130Z:1b0333c0-bd52-48d5-bdbb-b183d3b0bfb3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:30 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"SubscriptionNotFound\",\r\n \"message\": \"The subscription '8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "129"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12806"
+ ],
+ "x-ms-request-id": [
+ "adab4ed7-3939-4da0-9ed6-dfb1d9a9ee10"
+ ],
+ "x-ms-correlation-request-id": [
+ "adab4ed7-3939-4da0-9ed6-dfb1d9a9ee10"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204151Z:adab4ed7-3939-4da0-9ed6-dfb1d9a9ee10"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:51 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions/subscriptions/8e7dd69e-9ab2-44a1-94d8-f7bc8e12645e?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy9zdWJzY3JpcHRpb25zLzhlN2RkNjllLTlhYjItNDRhMS05NGQ4LWY3YmM4ZTEyNjQ1ZT9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1172"
+ ],
+ "x-ms-request-id": [
+ "ad1ed06a-7299-42ed-b7b1-a89c1024dab5"
+ ],
+ "x-ms-correlation-request-id": [
+ "ad1ed06a-7299-42ed-b7b1-a89c1024dab5"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204130Z:ad1ed06a-7299-42ed-b7b1-a89c1024dab5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:30 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/offers/TestTenantSubscriptionOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25PZmZlcj9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1171"
+ ],
+ "x-ms-request-id": [
+ "e8f9fed7-4fad-4a42-8224-ef3d2bb3779e"
+ ],
+ "x-ms-correlation-request-id": [
+ "e8f9fed7-4fad-4a42-8224-ef3d2bb3779e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204151Z:e8f9fed7-4fad-4a42-8224-ef3d2bb3779e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:51 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG/providers/Microsoft.Subscriptions/plans/TestTenantSubscriptionPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFRlbmFudFN1YnNjcmlwdGlvblBsYW4/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1170"
+ ],
+ "x-ms-request-id": [
+ "bf7d27ff-c56e-4192-80c2-6961db0b49ba"
+ ],
+ "x-ms-correlation-request-id": [
+ "bf7d27ff-c56e-4192-80c2-6961db0b49ba"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204152Z:bf7d27ff-c56e-4192-80c2-6961db0b49ba"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:52 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "1169"
+ ],
+ "x-ms-request-id": [
+ "e8d23531-b0b6-482d-9353-27d0dd874837"
+ ],
+ "x-ms-correlation-request-id": [
+ "e8d23531-b0b6-482d-9353-27d0dd874837"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204152Z:e8d23531-b0b6-482d-9353-27d0dd874837"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:52 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZFVk9RVTVVVTFWQ1UwTlNTVkJVU1U5T1VrY3RVa1ZFVFU5T1JDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWNtVmtiVzl1WkNKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12796"
+ ],
+ "x-ms-request-id": [
+ "8781508e-dee7-4f22-a70c-1e39894db2fc"
+ ],
+ "x-ms-correlation-request-id": [
+ "8781508e-dee7-4f22-a70c-1e39894db2fc"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204152Z:8781508e-dee7-4f22-a70c-1e39894db2fc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:41:52 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZFVk9RVTVVVTFWQ1UwTlNTVkJVU1U5T1VrY3RVa1ZFVFU5T1JDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWNtVmtiVzl1WkNKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12785"
+ ],
+ "x-ms-request-id": [
+ "8ca32609-84e9-48b4-90e0-f6c21292091d"
+ ],
+ "x-ms-correlation-request-id": [
+ "8ca32609-84e9-48b4-90e0-f6c21292091d"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204208Z:8ca32609-84e9-48b4-90e0-f6c21292091d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:42:07 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZFVk9RVTVVVTFWQ1UwTlNTVkJVU1U5T1VrY3RVa1ZFVFU5T1JDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWNtVmtiVzl1WkNKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12772"
+ ],
+ "x-ms-request-id": [
+ "c891e4f2-e0bd-4628-9ca4-6350aaf7991b"
+ ],
+ "x-ms-correlation-request-id": [
+ "c891e4f2-e0bd-4628-9ca4-6350aaf7991b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204223Z:c891e4f2-e0bd-4628-9ca4-6350aaf7991b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:42:23 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVEVOQU5UU1VCU0NSSVBUSU9OUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZFVk9RVTVVVTFWQ1UwTlNTVkJVU1U5T1VrY3RVa1ZFVFU5T1JDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWNtVmtiVzl1WkNKOT9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "12767"
+ ],
+ "x-ms-request-id": [
+ "6a488edb-01fc-404c-a906-9154d1d6e0b7"
+ ],
+ "x-ms-correlation-request-id": [
+ "6a488edb-01fc-404c-a906-9154d1d6e0b7"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204238Z:6a488edb-01fc-404c-a906-9154d1d6e0b7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:42:38 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestTenantSubscriptionRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RUZW5hbnRTdWJzY3JpcHRpb25SRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'TestTenantSubscriptionRG' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "12766"
+ ],
+ "x-ms-request-id": [
+ "27e8bc86-8bce-4f53-84cf-4bfe946213f9"
+ ],
+ "x-ms-correlation-request-id": [
+ "27e8bc86-8bce-4f53-84cf-4bfe946213f9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160212T204238Z:27e8bc86-8bce-4f53-84cf-4bfe946213f9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 12 Feb 2016 20:42:38 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestUpdateSubscriptionServiceQuota.json b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestUpdateSubscriptionServiceQuota.json
new file mode 100644
index 000000000000..2a4067a0be0c
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/SessionRecords/Microsoft.AzureStack.Commands.Admin.Test.AzureStackTests/TestUpdateSubscriptionServiceQuota.json
@@ -0,0 +1,2159 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1173"
+ ],
+ "x-ms-request-id": [
+ "d8ca2e6d-f698-4ad8-ae1a-21921da145a7"
+ ],
+ "x-ms-correlation-request-id": [
+ "d8ca2e6d-f698-4ad8-ae1a-21921da145a7"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184652Z:d8ca2e6d-f698-4ad8-ae1a-21921da145a7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:52 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/tenants?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3RlbmFudHM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/tenants/4993704a-4e53-4e79-95dd-5f1747eb7554\",\r\n \"tenantId\": \"4993704a-4e53-4e79-95dd-5f1747eb7554\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "116"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1171"
+ ],
+ "x-ms-request-id": [
+ "b08bf033-6a69-4af7-8b13-557604f5d0c9"
+ ],
+ "x-ms-correlation-request-id": [
+ "b08bf033-6a69-4af7-8b13-557604f5d0c9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184653Z:b08bf033-6a69-4af7-8b13-557604f5d0c9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:53 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1172"
+ ],
+ "x-ms-request-id": [
+ "fa68491d-2371-47fd-8503-085925e50f30"
+ ],
+ "x-ms-correlation-request-id": [
+ "fa68491d-2371-47fd-8503-085925e50f30"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184652Z:fa68491d-2371-47fd-8503-085925e50f30"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:52 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Subscriptions.SubscriptionClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"subscriptionId\": \"69D8709B-B058-4537-92A0-68C9D272FE31\",\r\n \"displayName\": \"Default Provider Subscription\",\r\n \"owner\": \"aaptlab@microsoft.com\",\r\n \"offerName\": \"2139D7FE-E522-4E40-8DBD-EFB08F3FC2BA\",\r\n \"offerDisplayName\": \"Default Offer\",\r\n \"state\": \"Enabled\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": [],\r\n \"acquiredPlans\": []\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "374"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-tenant-writes": [
+ "1170"
+ ],
+ "x-ms-request-id": [
+ "a6e49eb0-5f8c-4822-b574-52c6b8569a4b"
+ ],
+ "x-ms-correlation-request-id": [
+ "a6e49eb0-5f8c-4822-b574-52c6b8569a4b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184653Z:a6e49eb0-5f8c-4822-b574-52c6b8569a4b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:53 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Byb3ZpZGVycy9NaWNyb3NvZnQuU3Vic2NyaXB0aW9ucy5BZG1pbi9sb2NhdGlvbnM/YXBpLXZlcnNpb249MS4w",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/providers/Microsoft.Subscriptions.Admin/locations/redmond\",\r\n \"name\": \"redmond\",\r\n \"displayName\": \"redmond\",\r\n \"latitude\": \"\",\r\n \"longitude\": \"\"\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "200"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13508"
+ ],
+ "x-ms-request-id": [
+ "30b6e03d-15a6-430e-a0e6-4292ea31f294"
+ ],
+ "x-ms-correlation-request-id": [
+ "30b6e03d-15a6-430e-a0e6-4292ea31f294"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184654Z:30b6e03d-15a6-430e-a0e6-4292ea31f294"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:54 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "HEAD",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13507"
+ ],
+ "x-ms-request-id": [
+ "04f09368-b319-4e26-a0fc-d129cf21ed57"
+ ],
+ "x-ms-correlation-request-id": [
+ "04f09368-b319-4e26-a0fc-d129cf21ed57"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184654Z:04f09368-b319-4e26-a0fc-d129cf21ed57"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:54 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "13491"
+ ],
+ "x-ms-request-id": [
+ "ac1cba49-bf93-48dc-a274-d06c4d416d10"
+ ],
+ "x-ms-correlation-request-id": [
+ "ac1cba49-bf93-48dc-a274-d06c4d416d10"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184707Z:ac1cba49-bf93-48dc-a274-d06c4d416d10"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:07 GMT"
+ ]
+ },
+ "StatusCode": 204
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "29"
+ ],
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG\",\r\n \"name\": \"TestUpdateQuotatRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1155"
+ ],
+ "x-ms-request-id": [
+ "7efb9800-1f64-4f23-94d4-3a9c860ee3df"
+ ],
+ "x-ms-correlation-request-id": [
+ "7efb9800-1f64-4f23-94d4-3a9c860ee3df"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184654Z:7efb9800-1f64-4f23-94d4-3a9c860ee3df"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:54 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/resources?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlR3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9yZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3",
+ "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": [
+ "13506"
+ ],
+ "x-ms-request-id": [
+ "8e32d977-38f2-4fdc-b7d7-7c60684a2677"
+ ],
+ "x-ms-correlation-request-id": [
+ "8e32d977-38f2-4fdc-b7d7-7c60684a2677"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184655Z:8e32d977-38f2-4fdc-b7d7-7c60684a2677"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:54 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestUpdateQuotatRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG\",\r\n \"name\": \"TestUpdateQuotatRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1154"
+ ],
+ "x-ms-request-id": [
+ "6e1161ec-36f0-460f-99b4-c7116d8b5f32"
+ ],
+ "x-ms-correlation-request-id": [
+ "6e1161ec-36f0-460f-99b4-c7116d8b5f32"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184655Z:6e1161ec-36f0-460f-99b4-c7116d8b5f32"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:55 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestUpdateQuotatRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG\",\r\n \"name\": \"TestUpdateQuotatRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1150"
+ ],
+ "x-ms-request-id": [
+ "22f567c1-ab36-4214-832c-2213e50c8717"
+ ],
+ "x-ms-correlation-request-id": [
+ "22f567c1-ab36-4214-832c-2213e50c8717"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184659Z:22f567c1-ab36-4214-832c-2213e50c8717"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0xLjA=",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"name\": \"TestUpdateQuotatRG\",\r\n \"location\": \"redmond\"\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json"
+ ],
+ "Content-Length": [
+ "62"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG\",\r\n \"name\": \"TestUpdateQuotatRG\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "190"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1147"
+ ],
+ "x-ms-request-id": [
+ "84e0fe45-af39-491e-bed2-3f66ffd6edeb"
+ ],
+ "x-ms-correlation-request-id": [
+ "84e0fe45-af39-491e-bed2-3f66ffd6edeb"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184700Z:84e0fe45-af39-491e-bed2-3f66ffd6edeb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:00 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "13505"
+ ],
+ "x-ms-request-id": [
+ "216b33bd-dfdc-4b94-a41e-79dad7abd746"
+ ],
+ "x-ms-correlation-request-id": [
+ "216b33bd-dfdc-4b94-a41e-79dad7abd746"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184655Z:216b33bd-dfdc-4b94-a41e-79dad7abd746"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:55 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnM/YXBpLXZlcnNpb249MS4wJmluY2x1ZGVEZXRhaWxzPWZhbHNl",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "642"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13499"
+ ],
+ "x-ms-request-id": [
+ "d0b05601-3a26-4e60-873a-8bdeb4b93be9"
+ ],
+ "x-ms-correlation-request-id": [
+ "d0b05601-3a26-4e60-873a-8bdeb4b93be9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184701Z:d0b05601-3a26-4e60-873a-8bdeb4b93be9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:00 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzVXBkYXRlUXVvdGFQbGFuP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "262"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "431"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1153"
+ ],
+ "x-ms-request-id": [
+ "75db02cc-aa24-4bcb-9e24-bd3a14425abd"
+ ],
+ "x-ms-correlation-request-id": [
+ "75db02cc-aa24-4bcb-9e24-bd3a14425abd"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184656Z:75db02cc-aa24-4bcb-9e24-bd3a14425abd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:55 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzVXBkYXRlUXVvdGFQbGFuP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1061"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "767"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1152"
+ ],
+ "x-ms-request-id": [
+ "4cc0f1ff-cf05-455c-801d-5a8c53eb8399"
+ ],
+ "x-ms-correlation-request-id": [
+ "4cc0f1ff-cf05-455c-801d-5a8c53eb8399"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184657Z:4cc0f1ff-cf05-455c-801d-5a8c53eb8399"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:56 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzVXBkYXRlUXVvdGFQbGFuP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1060"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "766"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1151"
+ ],
+ "x-ms-request-id": [
+ "e7955cb5-e916-4c1c-9ace-61b6c3f841ff"
+ ],
+ "x-ms-correlation-request-id": [
+ "e7955cb5-e916-4c1c-9ace-61b6c3f841ff"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184658Z:e7955cb5-e916-4c1c-9ace-61b6c3f841ff"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:58 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13504"
+ ],
+ "x-ms-request-id": [
+ "49df0d0e-c0a8-4e8d-8d21-d18c8ff3a816"
+ ],
+ "x-ms-correlation-request-id": [
+ "49df0d0e-c0a8-4e8d-8d21-d18c8ff3a816"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184656Z:49df0d0e-c0a8-4e8d-8d21-d18c8ff3a816"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:56 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/System/providers/Microsoft.Subscriptions/providerregistrations?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1N5c3RlbS9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcHJvdmlkZXJyZWdpc3RyYXRpb25zP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/System\",\r\n \"name\": \"System\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"System\",\r\n \"displayName\": \"Microsoft.Resources\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30050/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"providerVersion\": \"1.0\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/AUTHORIZATION-REDMOND\",\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"AUTHORIZATION-REDMOND\",\r\n \"displayName\": \"Authorization\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30042/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"providerVersion\": \"2014-07-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_AD\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/INSIGHTS-REDMOND\",\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"INSIGHTS-REDMOND\",\r\n \"displayName\": \"Insights\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30011/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Insights\",\r\n \"providerVersion\": \"2014-04-01\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Insights\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/GALLERY-REDMOND\",\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"GALLERY-REDMOND\",\r\n \"displayName\": \"Gallery\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30016/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Gallery\",\r\n \"providerVersion\": \"2015-04-01\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SQL-REDMOND\",\r\n \"name\": \"SQL-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SQL-REDMOND\",\r\n \"displayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30010/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Sql\",\r\n \"providerVersion\": \"2.0\",\r\n \"tenantExtensionName\": \"SqlTenantExtension\",\r\n \"adminExtensionName\": \"SqlAdminExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/SUBSCRIPTIONS-REDMOND\",\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"displayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30040/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Subscriptions\",\r\n \"providerVersion\": \"1.0\",\r\n \"tenantExtensionName\": \"SubscriptionManagementExtension\",\r\n \"adminExtensionName\": \"SubscriptionManagementExtension\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/System/providers/Microsoft.Subscriptions/providerregistrations/USAGE-REDMOND\",\r\n \"name\": \"USAGE-REDMOND\",\r\n \"type\": \"Microsoft.Subscriptions/providerregistrations\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"USAGE-REDMOND\",\r\n \"displayName\": \"Usage\",\r\n \"location\": \"redmond\",\r\n \"enabled\": true,\r\n \"manifestEndpoint\": {\r\n \"endpointUri\": \"https://pt-test04:30022/\",\r\n \"authenticationUsername\": \"AzureStack\"\r\n },\r\n \"manifest\": {\r\n \"namespace\": \"Microsoft.Commerce\",\r\n \"providerVersion\": \"2015-06-01-preview\",\r\n \"tenantExtensionName\": \"Microsoft_Azure_Billing\"\r\n },\r\n \"provisioningState\": \"Accepted\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "4307"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13498"
+ ],
+ "x-ms-request-id": [
+ "d2716c27-181c-4678-b0a4-0f8734a33a2e"
+ ],
+ "x-ms-correlation-request-id": [
+ "d2716c27-181c-4678-b0a4-0f8734a33a2e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184702Z:d2716c27-181c-4678-b0a4-0f8734a33a2e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzVXBkYXRlUXVvdGFQbGFuP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "767"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13503"
+ ],
+ "x-ms-request-id": [
+ "07801a36-d65b-4fd3-9bb4-fb9a0edc39a6"
+ ],
+ "x-ms-correlation-request-id": [
+ "07801a36-d65b-4fd3-9bb4-fb9a0edc39a6"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184657Z:07801a36-d65b-4fd3-9bb4-fb9a0edc39a6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:56 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzVXBkYXRlUXVvdGFQbGFuP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan\",\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "767"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13502"
+ ],
+ "x-ms-request-id": [
+ "db68b231-1036-49fe-872b-9718047374f0"
+ ],
+ "x-ms-correlation-request-id": [
+ "db68b231-1036-49fe-872b-9718047374f0"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184658Z:db68b231-1036-49fe-872b-9718047374f0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:58 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzVXBkYXRlUXVvdGFQbGFuP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TesUpdateQuotaPlan' under resource group 'TestUpdateQuotatRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "170"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "12dbf742-8bfd-435e-ab61-f6870d883c73"
+ ],
+ "x-ms-correlation-request-id": [
+ "12dbf742-8bfd-435e-ab61-f6870d883c73"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184705Z:12dbf742-8bfd-435e-ab61-f6870d883c73"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:05 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers?api-version=1.0&includeDetails=false",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzP2FwaS12ZXJzaW9uPTEuMCZpbmNsdWRlRGV0YWlscz1mYWxzZQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.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": [
+ "13501"
+ ],
+ "x-ms-request-id": [
+ "de876d50-060a-4223-85fc-9866eb665410"
+ ],
+ "x-ms-correlation-request-id": [
+ "de876d50-060a-4223-85fc-9866eb665410"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184659Z:de876d50-060a-4223-85fc-9866eb665410"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RVcGRhdGVRdW90YU9mZmVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"displayName\": \"TestUpdateQuotaOffer\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1149"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer\",\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"displayName\": \"TestUpdateQuotaOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "942"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1149"
+ ],
+ "x-ms-request-id": [
+ "0882610a-8602-4b33-af34-77cd69967fc9"
+ ],
+ "x-ms-correlation-request-id": [
+ "0882610a-8602-4b33-af34-77cd69967fc9"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184659Z:0882610a-8602-4b33-af34-77cd69967fc9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:59 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RVcGRhdGVRdW90YU9mZmVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"displayName\": \"TestUpdateQuotaOffer\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer\",\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1420"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer\",\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"displayName\": \"TestUpdateQuotaOffer\",\r\n \"state\": \"Public\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "941"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1148"
+ ],
+ "x-ms-request-id": [
+ "9f7bd562-95a1-4703-862d-1b66dad4613e"
+ ],
+ "x-ms-correlation-request-id": [
+ "9f7bd562-95a1-4703-862d-1b66dad4613e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184700Z:9f7bd562-95a1-4703-862d-1b66dad4613e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:00 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RVcGRhdGVRdW90YU9mZmVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer\",\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"type\": \"Microsoft.Subscriptions/offers\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaOffer\",\r\n \"displayName\": \"TestUpdateQuotaOffer\",\r\n \"state\": \"Private\",\r\n \"subscriptionCount\": 0,\r\n \"maxSubscriptionsPerAccount\": 0,\r\n \"basePlans\": [\r\n {\r\n \"name\": \"TesUpdateQuotaPlan\",\r\n \"displayName\": \"TesUpdateQuotaPlan\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SQL-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Sql\",\r\n \"resourceProviderDisplayName\": \"Sql\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"editions\": [\r\n {\r\n \"name\": \"Web\",\r\n \"displayName\": \"Web\",\r\n \"maxDatabaseCount\": 10000,\r\n \"baseDatabaseSize\": 10,\r\n \"maxDatabaseSize\": 1024\r\n }\r\n ]\r\n },\r\n \"containerName\": \"TesUpdateQuotaPlan\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"addonPlans\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "942"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13500"
+ ],
+ "x-ms-request-id": [
+ "66c54412-5f94-4c8c-ac36-63024b8521af"
+ ],
+ "x-ms-correlation-request-id": [
+ "66c54412-5f94-4c8c-ac36-63024b8521af"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184700Z:66c54412-5f94-4c8c-ac36-63024b8521af"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:46:59 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RVcGRhdGVRdW90YU9mZmVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/offers/TestUpdateQuotaOffer' under resource group 'TestUpdateQuotatRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "173"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "5bfff900-7bcf-4204-92c6-f45a90fbce40"
+ ],
+ "x-ms-correlation-request-id": [
+ "5bfff900-7bcf-4204-92c6-f45a90fbce40"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184704Z:5bfff900-7bcf-4204-92c6-f45a90fbce40"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:04 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"serviceQuotas\": []\r\n },\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "289"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": []\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "467"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1146"
+ ],
+ "x-ms-request-id": [
+ "77897aa5-67fb-48f2-8bd8-2718970d850f"
+ ],
+ "x-ms-correlation-request-id": [
+ "77897aa5-67fb-48f2-8bd8-2718970d850f"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184701Z:77897aa5-67fb-48f2-8bd8-2718970d850f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:00 GMT"
+ ]
+ },
+ "StatusCode": 201
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestUpdateQuotaOffer\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1246"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestUpdateQuotaOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUpdateQuotaPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "943"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1145"
+ ],
+ "x-ms-request-id": [
+ "4f2c503d-5769-40de-abd8-b4b532613b5b"
+ ],
+ "x-ms-correlation-request-id": [
+ "4f2c503d-5769-40de-abd8-b4b532613b5b"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184702Z:4f2c503d-5769-40de-abd8-b4b532613b5b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "PUT",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestUpdateQuotaOffer\"\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"tags\": {}\r\n}",
+ "RequestHeaders": {
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Content-Length": [
+ "1258"
+ ],
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestUpdateQuotaOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUpdateQuotaPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "942"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1144"
+ ],
+ "x-ms-request-id": [
+ "244c5f75-08c8-4236-8cbd-9234e82c4545"
+ ],
+ "x-ms-correlation-request-id": [
+ "244c5f75-08c8-4236-8cbd-9234e82c4545"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184703Z:244c5f75-08c8-4236-8cbd-9234e82c4545"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestUpdateQuotaOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUpdateQuotaPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "943"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13497"
+ ],
+ "x-ms-request-id": [
+ "45914113-cc7f-4b34-8e24-c31e321fcbea"
+ ],
+ "x-ms-correlation-request-id": [
+ "45914113-cc7f-4b34-8e24-c31e321fcbea"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184702Z:45914113-cc7f-4b34-8e24-c31e321fcbea"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:02 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Private\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 2,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestUpdateQuotaOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUpdateQuotaPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "943"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13496"
+ ],
+ "x-ms-request-id": [
+ "049b1a0d-a92c-47d8-a9d2-ae5d72ec4a7e"
+ ],
+ "x-ms-correlation-request-id": [
+ "049b1a0d-a92c-47d8-a9d2-ae5d72ec4a7e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184703Z:049b1a0d-a92c-47d8-a9d2-ae5d72ec4a7e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourceGroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller\",\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"type\": \"Microsoft.Subscriptions/plans\",\r\n \"location\": \"redmond\",\r\n \"properties\": {\r\n \"name\": \"TestUpdateQuotaPlanReseller\",\r\n \"displayName\": \"TestUpdateQuotaPlanReseller\",\r\n \"state\": \"Public\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"subscriptionCount\": 0,\r\n \"maxOccurrencesPerOffer\": 0,\r\n \"serviceQuotas\": [\r\n {\r\n \"resourceProviderId\": \"SUBSCRIPTIONS-REDMOND\",\r\n \"resourceProviderNamespace\": \"Microsoft.Subscriptions\",\r\n \"resourceProviderDisplayName\": \"Subscriptions\",\r\n \"location\": \"redmond\",\r\n \"quotaSyncState\": \"InSync\",\r\n \"quotaSettings\": {\r\n \"delegatedProviderQuotas\": {\r\n \"maximumDelegationDepth\": 5,\r\n \"allowCustomPortalBranding\": false,\r\n \"allowResourceProviderRegistration\": false,\r\n \"delegatedOffers\": [\r\n {\r\n \"accessibilityState\": \"Private\",\r\n \"offerName\": \"TestUpdateQuotaOffer\"\r\n }\r\n ]\r\n }\r\n },\r\n \"containerName\": \"TestUpdateQuotaPlanReseller\"\r\n }\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "942"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13495"
+ ],
+ "x-ms-request-id": [
+ "daa6f42e-e53a-4ad4-ae2f-d858ca5af97e"
+ ],
+ "x-ms-correlation-request-id": [
+ "daa6f42e-e53a-4ad4-ae2f-d858ca5af97e"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184703Z:daa6f42e-e53a-4ad4-ae2f-d858ca5af97e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:03 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller' under resource group 'TestUpdateQuotatRG' was not found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "179"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-request-id": [
+ "f8e40245-ae0f-4075-a564-4463b99527de"
+ ],
+ "x-ms-correlation-request-id": [
+ "f8e40245-ae0f-4075-a564-4463b99527de"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184707Z:f8e40245-ae0f-4075-a564-4463b99527de"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:07 GMT"
+ ]
+ },
+ "StatusCode": 404
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/offers/TestUpdateQuotaOffer?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvb2ZmZXJzL1Rlc3RVcGRhdGVRdW90YU9mZmVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1143"
+ ],
+ "x-ms-request-id": [
+ "55e06b04-1068-40fd-a559-621f0e895390"
+ ],
+ "x-ms-correlation-request-id": [
+ "55e06b04-1068-40fd-a559-621f0e895390"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184704Z:55e06b04-1068-40fd-a559-621f0e895390"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:04 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TesUpdateQuotaPlan?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzVXBkYXRlUXVvdGFQbGFuP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1142"
+ ],
+ "x-ms-request-id": [
+ "22153aa6-a2a6-406f-8f6d-c663a082291c"
+ ],
+ "x-ms-correlation-request-id": [
+ "22153aa6-a2a6-406f-8f6d-c663a082291c"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184705Z:22153aa6-a2a6-406f-8f6d-c663a082291c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:04 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG/providers/Microsoft.Subscriptions/plans/TestUpdateQuotaPlanReseller?api-version=1.0",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRy9wcm92aWRlcnMvTWljcm9zb2Z0LlN1YnNjcmlwdGlvbnMvcGxhbnMvVGVzdFVwZGF0ZVF1b3RhUGxhblJlc2VsbGVyP2FwaS12ZXJzaW9uPTEuMA==",
+ "RequestMethod": "DELETE",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.AzureStack.Management.AzureStackClient/0.9.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1141"
+ ],
+ "x-ms-request-id": [
+ "130241be-9bc1-407c-bc29-62eebb721308"
+ ],
+ "x-ms-correlation-request-id": [
+ "130241be-9bc1-407c-bc29-62eebb721308"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184706Z:130241be-9bc1-407c-bc29-62eebb721308"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:05 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "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": [
+ "1140"
+ ],
+ "x-ms-request-id": [
+ "ca120839-3330-4c82-b7d4-fda1be2d09a6"
+ ],
+ "x-ms-correlation-request-id": [
+ "ca120839-3330-4c82-b7d4-fda1be2d09a6"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184707Z:ca120839-3330-4c82-b7d4-fda1be2d09a6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:07 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZWQkVRVlJGVVZWUFZFRlVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "13490"
+ ],
+ "x-ms-request-id": [
+ "b81eed2c-9aea-4bca-a14c-876c93869394"
+ ],
+ "x-ms-correlation-request-id": [
+ "b81eed2c-9aea-4bca-a14c-876c93869394"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184707Z:b81eed2c-9aea-4bca-a14c-876c93869394"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:07 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZWQkVRVlJGVVZWUFZFRlVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "13470"
+ ],
+ "x-ms-request-id": [
+ "b05ec570-84e7-4b08-89be-7bc63f041ac0"
+ ],
+ "x-ms-correlation-request-id": [
+ "b05ec570-84e7-4b08-89be-7bc63f041ac0"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184723Z:b05ec570-84e7-4b08-89be-7bc63f041ac0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:22 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZWQkVRVlJGVVZWUFZFRlVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "13465"
+ ],
+ "x-ms-request-id": [
+ "38134ad6-ff3a-482a-b01f-c3b991556d47"
+ ],
+ "x-ms-correlation-request-id": [
+ "38134ad6-ff3a-482a-b01f-c3b991556d47"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184738Z:38134ad6-ff3a-482a-b01f-c3b991556d47"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:38 GMT"
+ ],
+ "Location": [
+ "https://pt-test04:30005/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1URVNUVVBEQVRFUVVPVEFUUkctUkVETU9ORCIsImpvYkxvY2F0aW9uIjoicmVkbW9uZCJ9?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFVUlZOVVZWQkVRVlJGVVZWUFZFRlVVa2N0VWtWRVRVOU9SQ0lzSW1wdllreHZZMkYwYVc5dUlqb2ljbVZrYlc5dVpDSjk/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": [
+ "13460"
+ ],
+ "x-ms-request-id": [
+ "2dca907d-b502-4357-b74e-a4af856ef5b7"
+ ],
+ "x-ms-correlation-request-id": [
+ "2dca907d-b502-4357-b74e-a4af856ef5b7"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184753Z:2dca907d-b502-4357-b74e-a4af856ef5b7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:52 GMT"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/69D8709B-B058-4537-92A0-68C9D272FE31/resourcegroups/TestUpdateQuotatRG?api-version=2014-04-01-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNjlEODcwOUItQjA1OC00NTM3LTkyQTAtNjhDOUQyNzJGRTMxL3Jlc291cmNlZ3JvdXBzL1Rlc3RVcGRhdGVRdW90YXRSRz9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'TestUpdateQuotatRG' could not be found.\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "110"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "x-ms-failure-cause": [
+ "gateway"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "13459"
+ ],
+ "x-ms-request-id": [
+ "81087dfd-a18b-4de1-9e5a-1899489033a3"
+ ],
+ "x-ms-correlation-request-id": [
+ "81087dfd-a18b-4de1-9e5a-1899489033a3"
+ ],
+ "x-ms-routing-request-id": [
+ "REDMOND:20160211T184753Z:81087dfd-a18b-4de1-9e5a-1899489033a3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Thu, 11 Feb 2016 18:47:53 GMT"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "69D8709B-B058-4537-92A0-68C9D272FE31"
+ }
+}
\ No newline at end of file
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/packages.config b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/packages.config
new file mode 100644
index 000000000000..464862b29fbe
--- /dev/null
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin.Test/packages.config
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/AdminApiCmdlet.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/AdminApiCmdlet.cs
index 59d4ceb08c09..f0862dee2b39 100644
--- a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/AdminApiCmdlet.cs
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/AdminApiCmdlet.cs
@@ -168,7 +168,7 @@ protected AzureStackClient GetAzureStackClient(string subscriptionId = null)
{
return new AzureStackClient(
baseUri: this.AdminUri,
- credentials: new TokenCloudCredentials(token: this.Token),
+ credentials: new TokenCloudCredentials(token: this.Token),
apiVersion: this.ApiVersion);
}
else
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Gallery/GalleryItems/AddGalleryItem.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Gallery/GalleryItems/AddGalleryItem.cs
index 79a46759df3e..e12b24d48530 100644
--- a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Gallery/GalleryItems/AddGalleryItem.cs
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Gallery/GalleryItems/AddGalleryItem.cs
@@ -15,6 +15,7 @@
namespace Microsoft.AzureStack.Commands
{
using System;
+ using System.Collections.Generic;
using System.IO;
using System.Management.Automation;
using Microsoft.Azure;
@@ -59,6 +60,17 @@ public class AddGalleryItem : AdminApiCmdlet
[ValidateNotNull]
public string Path { get; set; }
+ ///
+ /// This queue is used by the tests to assign fixed GalleryPackageId
+ /// every time the test runs
+ ///
+ public static Queue GalleryPackageIds { get; set; }
+
+ static AddGalleryItem()
+ {
+ GalleryPackageIds = new Queue();
+ }
+
///
/// Executes the API call(s) against Azure Resource Management API(s).
///
@@ -69,8 +81,13 @@ protected override object ExecuteCore()
using (var client = this.GetAzureStackClient(this.SubscriptionId))
using (var filestream = File.Open(this.Path, FileMode.Open, FileAccess.Read))
{
- var manifest = client.Package.CreateOrUpdate(this.ResourceGroup, Guid.NewGuid().ToString(), filestream);
- var uploadParameters = new GalleryItemCreateOrUpdateParameters() { Manifest = manifest.Manifest };
+ var manifest = client.Package.CreateOrUpdate(
+ this.ResourceGroup,
+ (AddGalleryItem.GalleryPackageIds.Count == 0
+ ? Guid.NewGuid()
+ : AddGalleryItem.GalleryPackageIds.Dequeue()).ToString(),
+ filestream);
+ var uploadParameters = new GalleryItemCreateOrUpdateParameters() {Manifest = manifest.Manifest};
return client.GalleryItem.CreateOrUpdate(this.ResourceGroup, this.Name, uploadParameters);
}
}
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/ProviderRegistrations/AddResourceProviderRegistration.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/ProviderRegistrations/AddResourceProviderRegistration.cs
index 06e8aee9d04e..cfd90b854953 100644
--- a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/ProviderRegistrations/AddResourceProviderRegistration.cs
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/ProviderRegistrations/AddResourceProviderRegistration.cs
@@ -19,7 +19,6 @@ namespace Microsoft.AzureStack.Commands
using System.Management.Automation;
using Microsoft.AzureStack.Management;
using Microsoft.AzureStack.Management.Models;
- using Microsoft.WindowsAzure.Commands.Common;
///
/// Add Resource Provider Registration Cmdlet
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewManagedSubscription.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewManagedSubscription.cs
index 86ca34874dd9..49e1cc1ca0fd 100644
--- a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewManagedSubscription.cs
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewManagedSubscription.cs
@@ -12,6 +12,8 @@
// limitations under the License.
// ----------------------------------------------------------------------------------
+using System.Collections.Generic;
+
namespace Microsoft.AzureStack.Commands
{
using System;
@@ -58,21 +60,33 @@ public class NewManagedSubscription : AdminApiCmdlet
[ValidateNotNull]
public string DisplayName { get; set; }
+ ///
+ /// This queue is used by the tests to assign fixed SubscritionIds
+ /// every time the test runs
+ ///
+ public static Queue SubscriptionIds { get; set; }
+
+ static NewManagedSubscription()
+ {
+ SubscriptionIds = new Queue();
+ }
+
///
/// Gets the subscription definition.
///
protected SubscriptionDefinition GetSubscriptionDefinition()
{
- // TODO: determine any extra properties which could / should be set
return new SubscriptionDefinition()
- {
- SubscriptionId = Guid.NewGuid().ToString(),
- DisplayName = this.DisplayName,
- OfferId = this.OfferId,
- OfferName = GetAndValidateOfferName(this.OfferId),
- Owner = this.Owner,
- State = SubscriptionState.Enabled,
- };
+ {
+ SubscriptionId = (NewManagedSubscription.SubscriptionIds.Count == 0
+ ? Guid.NewGuid()
+ : NewManagedSubscription.SubscriptionIds.Dequeue()).ToString(),
+ DisplayName = this.DisplayName,
+ OfferId = this.OfferId,
+ OfferName = GetAndValidateOfferName(this.OfferId),
+ Owner = this.Owner,
+ State = SubscriptionState.Enabled,
+ };
}
///
diff --git a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewTenantSubscription.cs b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewTenantSubscription.cs
index 21b06a5fbc94..145e771db2c8 100644
--- a/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewTenantSubscription.cs
+++ b/src/ResourceManager/AzureStackAdmin/Commands.AzureStackAdmin/Microsoft.Subscriptions/Subscriptions/NewTenantSubscription.cs
@@ -15,8 +15,8 @@
namespace Microsoft.AzureStack.Commands
{
using System;
+ using System.Collections.Generic;
using System.Management.Automation;
- using Microsoft.WindowsAzure.Commands.Common;
using Microsoft.AzureStack.Management;
using Microsoft.AzureStack.Management.Models;
@@ -51,6 +51,17 @@ public class NewTenantSubscription : AdminApiCmdlet
[ValidateNotNull]
public string DisplayName { get; set; }
+ ///
+ /// This queue is used by the tests to assign fixed SubscritionIds
+ /// every time the test runs
+ ///
+ public static Queue SubscriptionIds { get; set; }
+
+ static NewTenantSubscription()
+ {
+ SubscriptionIds = new Queue();
+ }
+
///
/// Gets the subscription definition.
///
@@ -59,7 +70,9 @@ protected SubscriptionDefinition GetSubscriptionDefinition()
// TODO: determine any extra properties which could / should be set
return new SubscriptionDefinition()
{
- SubscriptionId = Guid.NewGuid().ToString(),
+ SubscriptionId = (NewTenantSubscription.SubscriptionIds.Count == 0
+ ? Guid.NewGuid()
+ : NewTenantSubscription.SubscriptionIds.Dequeue()).ToString(),
DisplayName = this.DisplayName,
OfferId = this.OfferId,
OfferName = GetAndValidateOfferName(this.OfferId),
diff --git a/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/Commands.AzureStackStorage.Test.csproj b/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/Commands.AzureStackStorage.Test.csproj
index 0fe3bd7b5a00..23bb9830fc39 100644
--- a/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/Commands.AzureStackStorage.Test.csproj
+++ b/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/Commands.AzureStackStorage.Test.csproj
@@ -61,11 +61,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/packages.config b/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/packages.config
index ad34fec832df..45521fde5af0 100644
--- a/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/packages.config
+++ b/src/ResourceManager/AzureStackStorage/Commands.AzureStackStorage.Tests/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj b/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj
index 04e46664ca57..8790d1690545 100644
--- a/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj
+++ b/src/ResourceManager/Common/Commands.ResourceManager.Common/Commands.ResourceManager.Common.csproj
@@ -27,6 +27,7 @@
true
false
true
+ AnyCPU
bin\Release
diff --git a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Commands.ScenarioTests.ResourceManager.Common.csproj b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Commands.ScenarioTests.ResourceManager.Common.csproj
index 2e57ab65bb77..3a1d2e76c442 100644
--- a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Commands.ScenarioTests.ResourceManager.Common.csproj
+++ b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Commands.ScenarioTests.ResourceManager.Common.csproj
@@ -55,10 +55,10 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/packages.config b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/packages.config
index 4a974a900192..bcf2c6db6419 100644
--- a/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/packages.config
+++ b/src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj b/src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj
index 271cbf9d6f5b..5f11f06f67e6 100644
--- a/src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj
+++ b/src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj
@@ -79,7 +79,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.6.0-preview\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ResourceManager/Compute/Commands.Compute.Test/packages.config b/src/ResourceManager/Compute/Commands.Compute.Test/packages.config
index fbd5062b2d5f..dd0cdfbe3075 100644
--- a/src/ResourceManager/Compute/Commands.Compute.Test/packages.config
+++ b/src/ResourceManager/Compute/Commands.Compute.Test/packages.config
@@ -9,7 +9,7 @@
-
+
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj
index 2c5d4f038560..df5e304066e9 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj
@@ -73,11 +73,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config
index 8d6ab31ddb44..1857ee954e6e 100644
--- a/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config
+++ b/src/ResourceManager/DataFactories/Commands.DataFactories.Test/packages.config
@@ -8,8 +8,8 @@
-
-
+
+
diff --git a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/Commands.DataLakeAnalytics.Test.csproj b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/Commands.DataLakeAnalytics.Test.csproj
index c5b0048f4adb..b0d067d2a8b7 100644
--- a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/Commands.DataLakeAnalytics.Test.csproj
+++ b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/Commands.DataLakeAnalytics.Test.csproj
@@ -80,11 +80,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/packages.config b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/packages.config
index 56b2af916f73..ceacf810487e 100644
--- a/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/packages.config
+++ b/src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics.Test/packages.config
@@ -9,8 +9,8 @@
-
-
+
+
diff --git a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/Commands.DataLakeStore.Test.csproj b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/Commands.DataLakeStore.Test.csproj
index d51adf102123..71b8e4dcd185 100644
--- a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/Commands.DataLakeStore.Test.csproj
+++ b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/Commands.DataLakeStore.Test.csproj
@@ -72,11 +72,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/packages.config b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/packages.config
index 775454178f45..ae3a7e143772 100644
--- a/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/packages.config
+++ b/src/ResourceManager/DataLakeStore/Commands.DataLakeStore.Test/packages.config
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj b/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj
index 592524a7a219..fe6e45364641 100644
--- a/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj
+++ b/src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj
@@ -69,11 +69,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
diff --git a/src/ResourceManager/Dns/Commands.Dns.Test/packages.config b/src/ResourceManager/Dns/Commands.Dns.Test/packages.config
index 3a735387b737..bd1cb46edab1 100644
--- a/src/ResourceManager/Dns/Commands.Dns.Test/packages.config
+++ b/src/ResourceManager/Dns/Commands.Dns.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
index 8d1d321b696e..100cbbbc03e0 100644
--- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
+++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
@@ -65,11 +65,11 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
True
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config
index 2d5222cc3cf6..6f3a003c4ba8 100644
--- a/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config
+++ b/src/ResourceManager/HDInsight/Commands.HDInsight.Test/packages.config
@@ -10,8 +10,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj b/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj
index ae5b71fe135a..2f8bb379ac60 100644
--- a/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj
+++ b/src/ResourceManager/Insights/Commands.Insights.Test/Commands.Insights.Test.csproj
@@ -63,11 +63,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ResourceManager/Insights/Commands.Insights.Test/packages.config b/src/ResourceManager/Insights/Commands.Insights.Test/packages.config
index dbcbce5274bc..2679ffcb83ab 100644
--- a/src/ResourceManager/Insights/Commands.Insights.Test/packages.config
+++ b/src/ResourceManager/Insights/Commands.Insights.Test/packages.config
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Intune/Commands.Intune.Test/Commands.Intune.Test.csproj b/src/ResourceManager/Intune/Commands.Intune.Test/Commands.Intune.Test.csproj
index 4a6ad91f2313..5a638d8f5d99 100644
--- a/src/ResourceManager/Intune/Commands.Intune.Test/Commands.Intune.Test.csproj
+++ b/src/ResourceManager/Intune/Commands.Intune.Test/Commands.Intune.Test.csproj
@@ -77,7 +77,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
True
diff --git a/src/ResourceManager/Intune/Commands.Intune.Test/packages.config b/src/ResourceManager/Intune/Commands.Intune.Test/packages.config
index acb11aef24de..e117b1edc58e 100644
--- a/src/ResourceManager/Intune/Commands.Intune.Test/packages.config
+++ b/src/ResourceManager/Intune/Commands.Intune.Test/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj
index 6dc6ca8a9828..df3d2d2d989b 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/Commands.KeyVault.Test.csproj
@@ -84,10 +84,10 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config
index 09235c1ec664..12bb521e9191 100644
--- a/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config
+++ b/src/ResourceManager/KeyVault/Commands.KeyVault.Test/packages.config
@@ -8,8 +8,8 @@
-
-
+
+
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.csproj b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.csproj
index 13b8adcc2638..490cc8eae833 100644
--- a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.csproj
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/Commands.LogicApp.Test.csproj
@@ -78,7 +78,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
diff --git a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/packages.config b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/packages.config
index c8491a660e22..cde01418765e 100644
--- a/src/ResourceManager/LogicApp/Commands.LogicApp.Test/packages.config
+++ b/src/ResourceManager/LogicApp/Commands.LogicApp.Test/packages.config
@@ -7,7 +7,7 @@
-
+
diff --git a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj
index fdf108d52df2..42671c6debd5 100644
--- a/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj
+++ b/src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj
@@ -71,7 +71,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.6.0-preview\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ResourceManager/Network/Commands.Network.Test/packages.config b/src/ResourceManager/Network/Commands.Network.Test/packages.config
index 88d65709b73b..704a31e28597 100644
--- a/src/ResourceManager/Network/Commands.Network.Test/packages.config
+++ b/src/ResourceManager/Network/Commands.Network.Test/packages.config
@@ -8,7 +8,7 @@
-
+
diff --git a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/Commands.NotificationHubs.Test.csproj b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/Commands.NotificationHubs.Test.csproj
index 5cdc8152da91..8c14b8ed0514 100644
--- a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/Commands.NotificationHubs.Test.csproj
+++ b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/Commands.NotificationHubs.Test.csproj
@@ -75,10 +75,10 @@
True
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
diff --git a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/packages.config b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/packages.config
index 2f718e77de14..a2acf489be68 100644
--- a/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/packages.config
+++ b/src/ResourceManager/NotificationHubs/Commands.NotificationHubs.Test/packages.config
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj
index ac0c7f0b1241..8e12bfdbd59f 100644
--- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj
+++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/Commands.OperationalInsights.Test.csproj
@@ -67,11 +67,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll
diff --git a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config
index 6e58fbdde7e7..0f7b676df76e 100644
--- a/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config
+++ b/src/ResourceManager/OperationalInsights/Commands.OperationalInsights.Test/packages.config
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj b/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj
index d531bbddfdd0..3f68ec6a1614 100644
--- a/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj
+++ b/src/ResourceManager/Profile/Commands.Profile.Test/Commands.Profile.Test.csproj
@@ -69,11 +69,11 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.14-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
True
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ResourceManager/Profile/Commands.Profile.Test/packages.config b/src/ResourceManager/Profile/Commands.Profile.Test/packages.config
index 160cdf0b169a..bc119b549c5b 100644
--- a/src/ResourceManager/Profile/Commands.Profile.Test/packages.config
+++ b/src/ResourceManager/Profile/Commands.Profile.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
index 58c08afdb20f..b42a8d21ce2a 100644
--- a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
+++ b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
@@ -54,12 +54,12 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
True
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/packages.config b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/packages.config
index 3885d59fcc67..c33ae2e353d7 100644
--- a/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/packages.config
+++ b/src/ResourceManager/RecoveryServices/Commands.RecoveryServices.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj
index d12b7756e59e..f624d2dd6cd2 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/Commands.RedisCache.Test.csproj
@@ -67,11 +67,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
..\..\..\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.dll
diff --git a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config
index 10eedfdaa7de..601fcc224069 100644
--- a/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config
+++ b/src/ResourceManager/RedisCache/Commands.RedisCache.Test/packages.config
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj
index 6cc721ced550..46ba6ba1f10d 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj
@@ -75,10 +75,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config
index 6537258f3d0c..ae37e291b3b0 100644
--- a/src/ResourceManager/Resources/Commands.Resources.Test/packages.config
+++ b/src/ResourceManager/Resources/Commands.Resources.Test/packages.config
@@ -9,8 +9,8 @@
-
-
+
+
diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj
index 604178f37ada..8bbe6141e8ae 100644
--- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj
+++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/Commands.SiteRecovery.Test.csproj
@@ -53,10 +53,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/packages.config b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/packages.config
index 9c7ed72efe34..7b0642a1f31c 100644
--- a/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/packages.config
+++ b/src/ResourceManager/SiteRecovery/Commands.SiteRecovery.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj
index 1e07954b91fb..6006d6850b8f 100644
--- a/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj
+++ b/src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.csproj
@@ -81,10 +81,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
index 7d84c250d1eb..e3bc498c1e8f 100644
--- a/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
+++ b/src/ResourceManager/Sql/Commands.Sql.Test/packages.config
@@ -10,8 +10,8 @@
-
-
+
+
diff --git a/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj b/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj
index 9b96dbcc44b9..4cf8051242e2 100644
--- a/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj
+++ b/src/ResourceManager/Storage/Commands.Management.Storage.Test/Commands.Management.Storage.Test.csproj
@@ -59,10 +59,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config b/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config
index 98b4e1ce9a32..e70f8a68b4f1 100644
--- a/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config
+++ b/src/ResourceManager/Storage/Commands.Management.Storage.Test/packages.config
@@ -7,8 +7,8 @@
-
-
+
+
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj
index e8e1893959a2..97589a0aa804 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/Commands.StreamAnalytics.Test.csproj
@@ -71,11 +71,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
index ebffe627d5f7..76fc32266f08 100644
--- a/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
+++ b/src/ResourceManager/StreamAnalytics/Commands.StreamAnalytics.Test/packages.config
@@ -8,8 +8,8 @@
-
-
+
+
diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj
index d209d93111c0..76b6ccc09a78 100644
--- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj
+++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/Commands.TrafficManager.Test.csproj
@@ -66,11 +66,11 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config
index 4932e3d2a910..a5c3c77fa439 100644
--- a/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config
+++ b/src/ResourceManager/TrafficManager/Commands.TrafficManager2.Test/packages.config
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj
index d020df0706ee..75b188fceb4f 100644
--- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj
+++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj
@@ -52,11 +52,11 @@
True
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
True
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/packages.config b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/packages.config
index 251a96f733f4..6642423e67f4 100644
--- a/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/packages.config
+++ b/src/ResourceManager/UsageAggregates/Commands.UsageAggregates.Test/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
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 888fad7b9837..ad19d6a18c15 100644
--- a/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj
+++ b/src/ResourceManager/Websites/Commands.Websites.Test/Commands.Websites.Test.csproj
@@ -71,7 +71,7 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.6.0-preview\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ResourceManager/Websites/Commands.Websites.Test/packages.config b/src/ResourceManager/Websites/Commands.Websites.Test/packages.config
index c39ea0dd9cda..a75ff05d594c 100644
--- a/src/ResourceManager/Websites/Commands.Websites.Test/packages.config
+++ b/src/ResourceManager/Websites/Commands.Websites.Test/packages.config
@@ -7,7 +7,7 @@
-
+
diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
index 061c5871dbb4..6bdf6547358f 100644
--- a/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
+++ b/src/ServiceManagement/Automation/Commands.Automation.Test/Commands.Automation.Test.csproj
@@ -64,7 +64,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config
index 62c3e7d2f9d3..eccff93afc3e 100644
--- a/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config
+++ b/src/ServiceManagement/Automation/Commands.Automation.Test/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ServiceManagement/Common/Commands.Common.Test/Commands.Common.Test.csproj b/src/ServiceManagement/Common/Commands.Common.Test/Commands.Common.Test.csproj
index 715a8f80e416..d2108d918150 100644
--- a/src/ServiceManagement/Common/Commands.Common.Test/Commands.Common.Test.csproj
+++ b/src/ServiceManagement/Common/Commands.Common.Test/Commands.Common.Test.csproj
@@ -70,10 +70,10 @@
False
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/Common/Commands.Common.Test/packages.config b/src/ServiceManagement/Common/Commands.Common.Test/packages.config
index b3778c725d74..938905bd5b2c 100644
--- a/src/ServiceManagement/Common/Commands.Common.Test/packages.config
+++ b/src/ServiceManagement/Common/Commands.Common.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj b/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
index be769ee999f0..558e50f1159e 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/Commands.ScenarioTest.csproj
@@ -59,10 +59,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ServiceManagement/Common/Commands.ScenarioTest/packages.config b/src/ServiceManagement/Common/Commands.ScenarioTest/packages.config
index 1681b1079b72..3a54f96a6372 100644
--- a/src/ServiceManagement/Common/Commands.ScenarioTest/packages.config
+++ b/src/ServiceManagement/Common/Commands.ScenarioTest/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj
index b920dff40985..c332c9bd476e 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj
@@ -74,7 +74,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config
index 35af3eec83f9..ad2b41f5e9c6 100644
--- a/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config
+++ b/src/ServiceManagement/Compute/Commands.ServiceManagement.Test/packages.config
@@ -6,7 +6,7 @@
-
+
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
index 5d82a362bf22..256558538b2a 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/Commands.HDInsight.Test.csproj
@@ -66,7 +66,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config
index 94774a2e557a..a97376b14be6 100644
--- a/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config
+++ b/src/ServiceManagement/HDInsight/Commands.HDInsight.Test/packages.config
@@ -6,7 +6,7 @@
-
+
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj
index 396980ac0ea0..225d4fa75645 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/Commands.ManagedCache.Test.csproj
@@ -55,10 +55,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
..\..\..\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.dll
diff --git a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config
index 5cea8b9a4219..a9d5da6e24a2 100644
--- a/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config
+++ b/src/ServiceManagement/ManagedCache/Commands.ManagedCache.Test/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj b/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj
index 7e6777f5cb62..2bcd3cd2097d 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj
+++ b/src/ServiceManagement/Network/Commands.Network.Test/Commands.ServiceManagement.Network.Test.csproj
@@ -55,10 +55,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
..\..\..\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.dll
diff --git a/src/ServiceManagement/Network/Commands.Network.Test/packages.config b/src/ServiceManagement/Network/Commands.Network.Test/packages.config
index a273365da0e4..5da8f505505b 100644
--- a/src/ServiceManagement/Network/Commands.Network.Test/packages.config
+++ b/src/ServiceManagement/Network/Commands.Network.Test/packages.config
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
index a6afc45f1896..ad5d92e6789b 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/Commands.RecoveryServices.Test.csproj
@@ -52,10 +52,10 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
False
diff --git a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config
index 580714a7e956..efa6eda102e6 100644
--- a/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config
+++ b/src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/Commands.RemoteAppScenarioTest.csproj b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/Commands.RemoteAppScenarioTest.csproj
index 3f4cc09d502a..f82d61a91c65 100644
--- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/Commands.RemoteAppScenarioTest.csproj
+++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/Commands.RemoteAppScenarioTest.csproj
@@ -45,10 +45,10 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/packages.config b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/packages.config
index b2f9859a5063..6669c04259d9 100644
--- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/packages.config
+++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.ScenarioTest/packages.config
@@ -6,8 +6,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/Commands.RemoteApp.Test.csproj b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/Commands.RemoteApp.Test.csproj
index 51e7d4eacc78..2b078724a4d9 100644
--- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/Commands.RemoteApp.Test.csproj
+++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/Commands.RemoteApp.Test.csproj
@@ -111,7 +111,7 @@
..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/packages.config b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/packages.config
index 29f478b8ac67..c55828853457 100644
--- a/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/packages.config
+++ b/src/ServiceManagement/RemoteApp/Commands.RemoteApp.Test/packages.config
@@ -3,7 +3,7 @@
-
+
diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
index b6610e924a25..f62074efada0 100644
--- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
+++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
@@ -68,11 +68,11 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
False
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
diff --git a/src/ServiceManagement/Services/Commands.Test/packages.config b/src/ServiceManagement/Services/Commands.Test/packages.config
index 8a94988f22d1..4dedc1081fc9 100644
--- a/src/ServiceManagement/Services/Commands.Test/packages.config
+++ b/src/ServiceManagement/Services/Commands.Test/packages.config
@@ -5,8 +5,8 @@
-
-
+
+
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj
index a0506d65b2ae..63205bead0fd 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/Commands.SqlDatabase.Test.csproj
@@ -65,7 +65,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config
index cc47eed15a2d..c201828dccc2 100644
--- a/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config
+++ b/src/ServiceManagement/Sql/Commands.SqlDatabase.Test/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj
index 93f783cdea34..ba46b43ca939 100644
--- a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj
+++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/Commands.StorSimple.Test.csproj
@@ -49,10 +49,10 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
+ ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config
index 1709a07b07d8..3152598d280a 100644
--- a/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config
+++ b/src/ServiceManagement/StorSimple/Commands.StorSimple.Test/packages.config
@@ -4,7 +4,7 @@
-
+
diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj
index 4cae989400ac..b09dcc62e023 100644
--- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj
+++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/Commands.TrafficManager.Test.csproj
@@ -52,7 +52,7 @@
..\..\..\packages\Microsoft.Azure.Management.Resources.2.18.11-preview\lib\net40\Microsoft.Azure.ResourceManager.dll
- ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5886.28964-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
+ ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5896.19355-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll
True
diff --git a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config
index ffef8e3829c5..dfa7364aedca 100644
--- a/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config
+++ b/src/ServiceManagement/TrafficManager/Commands.TrafficManager.Test/packages.config
@@ -4,7 +4,7 @@
-
+